I followed the debezium documentation in https://debezium.io/documentation/reference/connectors/cassandra.html and downloaded jar files for Cassandra plugin from https://debezium.io/documentation/reference/install.html.
But still, I have not found any documentation on running the jar files in Cassandra node. On running
java -jar /debezium/plugin/debezium-connector-cassandra/debezium-connector-cassandra-1.1.1.Final.jar /debezium/conf/conf.properties
I have the error
no main manifest attribute, in /debezium/plugin/debezium-connector-cassandra/debezium-connector-cassandra-1.1.1.Final.jar
I think we need to update the installation instructions and/or packaging.
Could you please try to download https://repo1.maven.org/maven2/io/debezium/debezium-connector-cassandra/1.1.1.Final/debezium-connector-cassandra-1.1.1.Final-jar-with-dependencies.jar and then run it via java -jar ?
If it works for you please create a Jira issue so we can fix it.
Related
I am working on Zookeeper upgrade from 3.4.6 to 3.5.5.
Since org.apache.zookeeper.data package is removed from 3.5.5 I am looking for alternative API.
mvn compilation is failing for below two classes
org.apache.zookeeper.data.ACL and org.apache.zookeeper.data.Stat
Thanks in advance!!
If you conclude that those two packages are removed for later versions of ZooKeeper, this is not the case. However, during the documentation generation for later versions, there is no link for those packages because they are now defined using Jute and not pure java. So to find such documentation, check here:
https://zookeeper.apache.org/doc/r3.6.1/apidocs/zookeeper-jute/
Go into 'zookeeper-jute' project and run "maven generate-sources".
Assuming: Your on eclipse and opened project from parent folder.
I wrote some programs for Oracle Service Instances using the SDK in Eclipse.I also included some Referenced Libraries in Eclipse Project.
Now I want to run those programs from that Eclipse Java Project on to differnt OS(Ubuntu-Server).
How can I do that? Help me doing this!
This question seems to be about how to run java code on Ubuntu, and is not specific to any Oracle SDKs.
In general, you should package the application as a jar in Eclipse, then move that jar to the Ubuntu server. Then run that jar from the command line on the Ubuntu server. For more info see this post.
This is a problem that I am facing with Jboss fuse, where a dependency (Oracle JDBC JAR) is not found as an OSGI bundle.
The source code works fine when run locally, but errors out when deployed on a Karaf container.
A detailed explanation of the issue and associated source code is placed at:
https://developer.jboss.org/message/948643
Any suggestions on this would be welcome.
Thanks for your patience.
Prabal
The Oracle JAR File that you are trying to deploying on the Fuse Server is not a Maven Bundle.
So you'll need to Wrap and install the library using the following command :
install -s wrap:mvn:com.oracle/ojdbc6/<version>
Where the <version> refers to the version number of the jar file. Hope this helps.
I need to connect to a unix system having Hadoop 2.0.0 database using Eclipse Juno on a Windows system.I tried adding an eclipse plug-in for an older version of Hadoop but when I add Map-Reduce Location, I get the following error :
server ipc version 7 cannot communicate with client version 3 in eclipse
As per some blog results through google, the version mismatch is causing the issue.
Can anyone help?
Please help me find the correct plugin or lead me to where I am going wrong.
Unless I add this plug-in I would not be able to coonect to the database..is there any workaround?
Thanks,
Hitz
Couple of things, Hadoop is not a database, it's an opensource framework for distributed computing. You can directly run MapReduce programs on Hadoop with out an eclipse plugin. Simply package the classes in to a Jar, copy the jar to the unix system and use the below command to run the jar.
hadoop jar <Jar Name> <Name of Main Class> <Input Dir> <Output Dir>
If the version of eclipse you have is not compatible with the version of Hadoop or your eclipse. Check the Link to build your plugin.
I have a Java project which uses Struts and Hibernate. I am using PostgreSQL as the database for the project.
I have imported the .jws file in JDeveloper. All the java and jsp files are imported to the project.
When I tried to run the project multiple errors came out. I think it's due to a database connection failure.
Do I need to configure pgsql with the project?
Thanks in advance.
You have to provide more info on what the errors are.
But some common problem in JDeveloper when using the bundled server to test is that (if you are using datasources) you have to place the driver jars in the server lib folder or declare it as a Library by going to Tools->Manage Libraries.
If you post what errors are you receiving and how are you connecting to the database we might be able to help you a little more.
You'll need to add the postgreSQL jdbc jar files to your project and to the embedded WebLogic instance.
Tell us the specific error you are getting and we'll help you more.