How to resolve an issue with IntegratedWebLogicServer in JDeveloper? - java

the version of JDeveloper I am using is 12.2.1.4.0 and the JDK version I am using for the application is Java 1.8.0.202.
The issue I am currently having is whenever I am trying to run an application within JDeveloper I am getting this error code:
*** Using HTTP port 7101 ***
*** Using SSL port 7102 ***
C:\Users\Nathan\AppData\Roaming\JDeveloper\system12.2.1.4.42.190911.2248\DefaultDomain\bin\startWebLogic.cmd
[Starting IntegratedWebLogicServer.]
[waiting for the server to complete its initialization...]
Files was unexpected at this time.
Process exited.
[IntegratedWebLogicServer terminated.]
Could someone please explain how I may resolve this?
Thank you.

One thing to try is to use JDK 1.8.0_101 as this older version is proven to work with JDev 12.2.1.4.
If you have access to support you should download the latest bundle patch for 12.2.1.4 and then use the current JDK 1.8.0_2xx.

Related

Problem with oracle.ucp.jdbc.UCPServletContextListener

I'm running a small java application on TomCat 9.0.56 for class that has to connect to a database. I'm using jdbc (ojdbc8 - 19.3.0.0). It was working fine untill it started displaying the following error:
16-Jan-2022 21:03:42.631 SEVERE [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.listenerStart Error configuring application listener [oracle.ucp.jdbc.UCPServletContextListener] java.lang.NoSuchMethodException: oracle.ucp.jdbc.UCPServletContextListener.<init>()
I'm new to tomcat and I'm not sure how to fix this. I have re-installed everything but it hasn't worked again. Any idea?
IDE - IntelliJ 2021.2.3
JDK - 17.0.1
I am sure you must be using Oracle JDBC and UCP binaries from 21.1 release instead of 19.3 release. You can check and validate the ojdbc and ucp jar version using below command:
java -jar ucp.jar
java -jar ojdbc8.jar
The issue you have described above is a known issue with ucp 21.1 release jars. In order to fix the issue, you can simply switch to ucp/jdbc 21.3 release. Please make sure to upgrade both ucp.jar and ojdbc8.jar to 21.3, not just one. Also, make sure to remove all duplicate jars(if any) from the class-path.
Here is a related thread for the same issue:
Ojdbc8 jars upgrade to 21.1.0.0 throws Nosuchmethod exception UCPservletContextListener init
Weirdly, uninstalling and deleting all tomcat versions previously used and installing a new one and setting up a new configuration made the error stop happening and the app is running nicely again.
I had done this before with no results, but this time it did work.

how to install tasktop pro connector in eclipse

Facing Some issues while installing tasktop pro in my eclipse, giving the following error:
HTTP Server Unknown HTTP Response Code
(301):http://tasktop.com/downloads/discovery/update/content.xml
General connection error with response code=301
Can Someone help me with issue ?
thanks,
AJ
Error Screenshot
It looks like you had some connection issues with the update site. Or your Eclipse version can't handle a HTTP 301. Did you tried it again?
Otherwise try to install it via "Install New Software"
I tried to install it myself, it works without any problems. I created an Eclipse Profile for you. If you install it, it contains the Tasktop Dev Pro Plugin.

how to install jautodoc in eclipse mars version

Hi i am trying to install jautodoc in my mars version but i got following error please help me
HTTP Server 'Service Unavailable': http://jautodoc.sourceforge.net/update/content.xml
HttpComponents connection error response code 503.
In your eclipse you can get it from help -->Eclipse MarketPlace --> search for jAutodoc this is one way.. If it is not supporting in your eclipse
2nd way is copy from your old eclipse pluggins
go to your eclipse pluggins location ........
C:\Program Files\eclipse\plugins and copy the net.sf.jautodoc.velocity_1.12 jar
net.sf.jautodoc_1.12.jar (if u have in your previous eclipse)
HTTP Error 503 - Service unavailable
The Web server (running the Web site) is currently unable to handle
the HTTP request due to a temporary overloading or maintenance of the
server
Please check attached screen shot SourceForge is under maintenance mode

Weblogic server not running from jdeveloper

When i tried to run an application on jdeveloper, the server wont start and it shows the following message
*** Using HTTP port 7101 ***
*** Using SSL port 7102 ***
C:\Users\Ayodeji.Ayodeji\AppData\Roaming\JDeveloper\system11.1.2.3.39.62.76.1\DefaultDomain\bin\startWebLogic.cmd
[waiting for the server to complete its initialization...]
\IBM\WebSphere was unexpected at this time.
Process exited.
Finally i got the problem solved. I tried to locate the startWebLogic.cmd file in the specified path, and went through the file, then i realise its trying to access my classpath, so on checking my classpath from the environment variables, its has only entries to Websphere so i deleted the entry, restarted JDeveloper and my server is up and running.
I had the same issue with Eclipse setting Weblogic, I was trying to start the Server, but got the same error.
\IBM\WebSphere was unexpected at this time.
It was due to Window 7 folder security issue. As soon as I realized that, I close eclipse and start eclipse with Administration Right. That resolved the issue.
1.Go to
C:\Users\Ayodeji.Ayodeji\AppData\Roaming\JDeveloper\
Ayodeji.Ayodeji should be your PC User name
then change
system11.1.2.3.39.62.76.1
Folder name to another name and run.

QC Connection from Java using Com4

I am trying to connect to QC using code below :
ITDConnection2 QCconn= ClassFactory.createTDConnection();
QCconn.initConnectionEx(Parameters.QC_URL);
QCconn.login(Parameters.QC_USERNAME, Parameters.QC_PASSWORD);
QCconn.connect(Parameters.QC_DOMAIN, Parameters.QC_PROJECT);
But i am getting exception at line
ITDConnection2 QCconn= ClassFactory.createTDConnection();
Exception:
com4j.ComException: 80004002 QueryInterface failed : No such interface supported : .\com4j.cpp:163
I have QC install on my PC. I am gettign same error on other PCs as well.
Which Version of Quality Center your are trying to connect ?
The otaclient.jar file should be compatible with OTACLIENT.dll.
You should also include com4j.jar in the build path.
We got the same problem, we got com4j.jar in the build path
We try to connect to QC 11 but our windows also has QC 10 installed.
So there was a problem in the version of the QC. We installed TDConnect from QC 11 to get the code running.
If you run QC 10 it rolls back OTAClient.dll 11 to 10 again.
You have also add otaclient.dll to java.library.path in the VM arguments.
We resolved this issue by reinstalling Quality center 11.52 and run the IE in admin mode and it added the TDConnect plugin to QC , then java program connected to the QC.

Categories