Error deploying task form - java.lang.ClassNotFoundException
Hello,
I' am trying to deploy a task form to my soa server (JDeveloper 11.1.1, WebLogic Server 10.3.1, SOA Suite 11.1.1) and get the following error message:
[05:05:26 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application MyTask on soa_server1.: Failed to load webapp: 'MyTask.war'.
[05:05:26 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'MyTask.war'
[05:05:26 PM] Caused by: java.lang.ClassNotFoundException: oracle.bpel.services.workflow.client.worklist.servlet.IntegrateTaskFlowWithTask
[05:05:26 PM] See server logs or server console for more details.
[05:05:26 PM] weblogic.application.ModuleException: Failed to load webapp: 'MyTask.war'
I've already tried to set the classpath for "bpm-services.jar" in "setDomainEnv.cmd", but afterwards I couldn't deploy the whole soa-infra.
Does anybody have an idea?
Thank's a lot.
Hi,
The two projects are part of same application right.
In your application navigator, you will be seeing those two projects. But there will be a drop down in the application navigator to select/open different applications.
You have right click on that application name. You will get a deploy option. Deploy it now. The thing is, task form app is a EAR application. You will get EAR option only from Application level not from Project level.
Application 1
+
+
----> CompositeProject
-----> TaskformProject
You should deploy the Application to deploy the task form. To deploy the composite, deploy the composite. No need to deploy the Taskform project seperately.
Edited by: Baskar Mookkan on Sep 9, 2009 5:54 PM
Similar Messages
-
EJB Module deployed but encounters java.lang.ClassNotFoundException
Hi. I have successfully deployed my ejb in Weblogic 8.1 but I get still get the java.lang.ClassNotFoundException when I invoke the bean. The application will work only if i include the jar in the classpath in the startweblogic.cmd. However, this option displays the warning
<i><Warning> <EJB> <BEA-010001> <While deploying
EJB 'XXXBean', class XXXBeanHome was loaded from the system classpath. As a result, this class cannot be re
loaded while the server is running. To prevent this behavior in the future, make
sure the class is not located in the server classpath.>
.</i>
Is there something I forgot to configure in weblogic so I dont need to include the jar in the classpath? So I can also reload the jar while the server is running.
Any help is highly appreciatedI'll need more information to help you debug the ClassNotFoundException.
Can you show me the error message? And where is the class that it cannot find located?
-- Rob
WLS Blog http://dev2dev.bea.com/blog/rwoollen/ -
Hi all,
I have been following the tutorial, but unable to deploy. [wldeploy] java.lang.ClassNotFoundException: weblogic.logging.log4j.Log4jLoggin
gHelper.
I've checked the log4j.jar, it is there is lib dir. Please advise what is happening and how to fix it?
C:\Windows\system32>c:\bea\user_projects\domains\medrecdomain\bin\setDomainEnv.cmd
C:\bea\user_projects\domains\MedRecDomain>cd c:\medrec_tutorial\src\physicianEar
c:\medrec_tutorial\src\physicianEar>ant -f deploy.xml
Buildfile: deploy.xml
deploy:
[wldeploy] weblogic.Deployer -noexit -name tutorial_deployment -source C:\medre
c_tutorial\build\physicianEar -adminurl t3://127.0.0.1:7111 -user weblogic -pass
word ******** -deploy
[wldeploy] weblogic.Deployer invoked with options: -noexit -name tutorial_depl
oyment -source C:\medrec_tutorial\build\physicianEar -adminurl t3://127.0.0.1:71
11 -user weblogic -deploy
[wldeploy] <Jun 6, 2009 2:19:58 PM PDT> <Info> <J2EE Deployment SPI> <BEA-26012
1> <Initiating deploy operation for application, tutorial_deployment [archive: C
:\medrec_tutorial\build\physicianEar], to configured targets.>
[wldeploy] Task 2 initiated: [Deployer:149026]deploy application tutorial_deplo
yment on MedRecServer.
[wldeploy] Task 2 failed: [Deployer:149026]deploy application tutorial_deployme
nt on MedRecServer.
[wldeploy] Target state: deploy failed on Server MedRecServer
[wldeploy] java.lang.ClassNotFoundException: weblogic.logging.log4j.Log4jLoggin
gHelper
[wldeploy]
[wldeploy]
BUILD FAILED
C:\medrec_tutorial\src\physicianEar\deploy.xml:9: weblogic.Deployer$DeployerExce
ption: weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Dep
loyer:149026]deploy application tutorial_deployment on MedRecServer.
Target state: deploy failed on Server MedRecServer
java.lang.ClassNotFoundException: weblogic.logging.log4j.Log4jLoggingHelper
thanks
andrew1. I haven't got a clue, according to the guide, it has a log4jConfig.xml to be copied from the samples dir, but I just got the the log4j.properties.
prompt> copy c:\bea\wlserver_10.0\samples\domains\medrec\log4jConfig.xml c:\bea\user_projects\domains\MedRecDomain
2. notepad c:\bea\user_projects\domains\MedRecDomain\bin\setDomainEnv.cmd
set LOG4J_CONFIG_FILE=c:\bea\user_projects\domains\MedRecDomain\log4jConfig.xml <-- which I replace with log4j.properties
3. Copy the log4j JAR files from the lib directory of the pre-configured MedRec domain to the lib directory of the new domain you just created:
prompt> copy c:\bea\wlserver_10.0\samples\domains\medrec\lib\*.jar c:\bea\user_projects\domains\MedRecDomain\lib
<-- I don't have *.jar in the samples dir, so I copy the log4j.jar from other directories.
Please advise how to install? or could you please cut and paste your log4jconfig.xml for your medrec?
thanks
andrew -
Java.lang.ClassNotFoundException: _MostrarPr
Hello everybody,
I deploying an ear file in application server in Windows and work all right, but the same file I deploy in Linux, but when at last the deploy was successful, somo jsp pages doesn't work.
In a page I insert a record in the database and the go to another page for view this information, the insert page work but in the other page can't view the records, in the database the record inserted exist. the log error file is:
06/03/29 09:50:01 proyecto: Servlet error
javax.servlet.ServletException: java.lang.ClassNotFoundException: _MostrarProductos
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:323)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
06/03/29 09:50:44 proyecto: Servlet error
javax.servlet.ServletException: java.lang.ClassNotFoundException: _MostrarProductos
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:323)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
06/03/29 09:51:20 proyecto: Stopped
06/03/29 09:51:21 proyecto: jsp: init
06/03/29 09:51:21 proyecto: action: init
06/03/29 09:51:22 proyecto: StartedHi, jeanette:
javax.servlet.ServletException: java.lang.ClassNotFoundException: _MostrarProductos
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:323)Do you have a page called MostrarProductos.jsp? If you have, it is quite possible that jsp file has not been able to be translated to java class file by oracle jsp engine. You can check the directory OC4J_HOME/j2ee/home/application-deployment/yourApp/yourWebApp/persistence/_pages/ to see if you have the _MostrarProductos.class. (I assume you are in the development situation. If you are using the jsp precompiler and running in justrun mode, that is a bit different.) -
Java.lang.ClassNotFoundException error when running a form
Hello,
On a Windows 2003 64 bits server I have installed Oracle Application Server 10gR2 10.1.2.0.2 (Infrastructure + Business Intelligence and Forms option). I also upgraded to Portal 10.1.4. All components are up and running.
I wanted to test if Forms services are functional using the test form provided by OAS at installation (test.fmb/.fmx).
Steps executed:
1) Start -> Programs ->Oracle Application Server 10g -> Forms Services -> Run a form on the web for form=test.fmx
or in the IE browser:
2) http://pwr-hp-srv.replynet.prv:7778/forms/frmservlet?form=test.fmx
The applet is not starting and I receive the following error:
java.lang.ClassNotFoundException: oracle.forms.engine.Main
What does this mean? What should I do to make it work?
Any help will be appreciated.
Tahnk you.
danielaHello again,
I solved the problem.
In Control Panel -> JInitiator administration console , the option "Use browser settings" has to be unchecked.
daniela -
Hi Members,
I am getting the oracle.forms.engine.Main not found.java.lang.ClassNotFoundException error when trying to access Oracle forms using APEX 2.2.1 and SSO.
load:class.oracle.forms.engine.Main not found
The forms have been compiled, forms path setup properly and the setup required to run forms seems to be right. Jinitiator has also been installed.
I have searched the forums and tried everything. I have checked jinitiator settings, cleared cache and even reinstalled it. Do you have any experience with this error? Appreciate any answers. Thanks.
Ravi.Dear Friends,
I was also facing the same problem. to solve this, i have uninstalled Oracle Jinitiator. Cleared all the temporary internet files & cookies. Then while running the form, when it asks to install JInitiator, i have specified a different path for jinitiator, For Example, By default it asks for C:\programfiles, i have changed it to c:\manish directory.
This has solved my problem. Probably this also help you.
Regards,
Manish Trivedi,
India -
Java.lang.ClassNotFoundException error when running form
Hello,
On a Windows 2003 64 bits server I have installed Oracle Application Server 10gR2 10.1.2.0.2 (Infrastructure + Business Intelligence and Forms option). I also upgraded to Portal 10.1.4. All components are up and running.
I wanted to test if Forms services are functional using the test form provided by OAS at installation (test.fmb/.fmx).
Steps executed:
1) Start -> Programs ->Oracle Application Server 10g -> Forms Services -> Run a form on the web for form=test.fmx
or in the IE browser:
2) http://pwr-hp-srv.replynet.prv:7778/forms/frmservlet?form=test.fmx
The applet is not starting and I receive the following error:
java.lang.ClassNotFoundException: oracle.forms.engine.Main
What does this mean? What should I do to make it work?
Any help will be appreciated.
Tahnk you.
danielaHello again,
I solved the problem.
In Control Panel -> JInitiator administration console , the option "Use browser settings" has to be unchecked.
daniela -
Form error in portal (java.lang.ClassNotFoundException)
I have created a url portlet to integrate an oracle 10g form into portal. form works fine when run from the form builder or browser. but it shows me "java.lang.ClassNotFoundException:oracle.forms.engine.Main" error in the portal(oracle 10g portal). anyone could help on this.
thanks for the reply
how can i check that as i am not an experienced user in all these things.
i did the default installation of Oracle AS 10g SEOne where i got installed infrastructure and portal. -
Hi all,
I tried to update oracle_logo.gif in forms jar which is in f90all_jinit jar. I placed my icon in forms\oracle\forms\icons and renamed it as oracle_logo.gif while removing the existing one. Then I did jar the forms and placed that in f90all_jinit and again did jar f90all_jinit. Then, I placed this in ORACLE-HOME/forms90/java. When I tried to run the form...the form could not open and the java console shows this..
Loading http://<MACHINE_NAME>:8888/forms90/java/f90all_jinit.jar from JAR cache
load: class oracle.forms.engine.Main not found.java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed. at sun.applet.AppletClassLoader.getBytes(Unknown Source) at sun.applet.AppletClassLoader.access$100(Unknown Source) at sun.applet.AppletClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletClassLoader.findClass(Unknown Source) at sun.plugin.security.PluginClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadCode(Unknown Source) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.plugin.AppletViewer.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Can anyone guide me on how to get rid of this error ? Strange thing is that I've removed that f90all_jinit.jar and placed back the existing one (I took backup). But still it's showing the same error and not opening the form. I could and can not do anything without this error corrected.
Please suggest me as soon as possible...
thank you
madhu.Dear Friends,
I was also facing the same problem. to solve this, i have uninstalled Oracle Jinitiator. Cleared all the temporary internet files & cookies. Then while running the form, when it asks to install JInitiator, i have specified a different path for jinitiator, For Example, By default it asks for C:\programfiles, i have changed it to c:\manish directory.
This has solved my problem. Probably this also help you.
Regards,
Manish Trivedi,
India -
Java.lang.ClassNotFoundException: oracle.forms.engine.Main
I got this error when opening my forms, in java console, it says the frmall.jar file cannot be downloaded.
I tried to get access the file with http://192.168.3.44:9001/forms/java/frmall.jar , it displays 404 page not found.
I think the virtual path defined in forms.conf is not working at all. Because I tried to put a html file under each of the directory, none of them are accessible.
RewriteRule ^/forms/java/(..*) /workaroundjava/$1 [PT]
AliasMatch ^/workaroundjava/(..*) "/home/oracle/Oracle/Middleware/Oracle_FRHome1/forms/java/$1"
RewriteRule ^/forms/html/(..*) /workaroundhtml/$1 [PT]
AliasMatch ^/workaroundhtml/(..*) "/home/oracle/Oracle/Middleware/asinst_1/config/FormsComponent/forms/html/$1"
RewriteRule ^/forms/webutil/(..*) /workaroundwebutil/$1 [PT]
AliasMatch ^/workaroundwebutil/(..*) "/home/oracle/Oracle/Middleware/Oracle_FRHome1/forms/webutil/$1"
What might be the problem ?
Here is the java console log :
network: Cache entry not found [url: http://192.168.3.44:9001/forms/java/frmall.jar, version: null]
network: Connecting http://192.168.3.44:9001/forms/java/frmall.jar with proxy=DIRECT
java.io.FileNotFoundException: http://192.168.3.44:9001/forms/java/frmall.jar
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack.downloadJAR(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack.access$000(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(Unknown Source)
at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$1000(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
basic: load: class oracle.forms.engine.Main not found.
java.lang.ClassNotFoundException: oracle.forms.engine.Main
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Ignored exception: java.lang.ClassNotFoundException: oracle.forms.engine.Main
basic: Dialog type is not candidate for embedding
basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@1e966fb
security: Reset deny session certificate storeIn your Forms/Java folder ensure that frmall.jar is present
Also in your formsweb.cfg file add the jars in archive. -
Java.lang.ClassNotFoundException when deploy application on Weblogic 10.3
Hi all, when I deploy an application on Weblogic 10.3 the following error occurs
the following detail is shown on the summary screen when I deploy the application via control
An error occurred during activation of changes, please see the log for details.
weblogic.application.ModuleException:
com.excellence.exoa.sso.SsoSessionListener
The deployment has been successfully installed
the following detail is shown on the log
Could not load user defined listener: com.excellence.exoa.sso.SsoSessionListener
java.lang.ClassNotFoundException: com.excellence.exoa.sso.SsoSessionListener
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:176)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:35)
at weblogic.servlet.internal.EventsManager.registerEventListeners(EventsManager.java:117)
at weblogic.servlet.internal.EventsManager.registerPreparePhaseListeners(EventsManager.java:65)
at weblogic.servlet.internal.WebAppServletContext.initContextListeners(WebAppServletContext.java:1765)
at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1126)
at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:449)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:424)
at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:910)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:364)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
the following listener is configured in the web.xml
<listener>
<listener-class>com.excellence.exoa.sso.SsoSessionListener</listener-class>
</listener>
and the SsoSessionListener class is packaged in the mainframe.jar. there are two mainframe.jar in this ear, the first which include SsoSessionListener in the souce directory and the other mainfrain.jar which extend the SsoSessionListener is in the ./extend/mainframe.jar
How can I fix this error ? any suggestion?
Thanks
Jayson
Edited by: Jayson on Feb 12, 2009 3:37 AM
Edited by: Jayson on Feb 12, 2009 3:54 AMI have in log:
2009.26.3 20:12:52 oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImp
l setLifecycleContextBuilder
WARNING: ADFc: Replacing the ADF Page Lifecycle implementation with 'oracle.adfi
nternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
2009.26.3 20:12:52 oracle.adfinternal.controller.util.model.AdfmInterface initia
lize
INFO: ADFc: BindingContext is present, using ADFm APIs for DataControlFrames.
2009.26.3 20:12:52 oracle.adfinternal.controller.metadata.provider.MdsMetadataRe
sourceProvider <init>
INFO: ADFc: Controller caching of MDS metadata resources ENABLED.
2009.26.3 20:12:52 oracle.adf.controller.internal.metadata.MetadataService$Boots
trap add
INFO: ADFc: Loading bootstrap metadata from '/WEB-INF/adfc-config.xml'.
2009.26.3 20:12:54 oracle.adf.share.security.providers.jps.CSFCredentialStore fe
tchCredential
WARNING: Unable to locate the credential for key AUGI in D:\bea\user_projects\do
mains\base_domain\config\oracle.
2009.26.3 20:12:54 oracle.adf.share.jndi.ReferenceStoreHelper throwPartialResult
Exception
WARNING: Incomplete connection information
Edited by: Debuger on Mar 26, 2009 11:18 AM -
Hello,
Whenever I try to visit websites that have a java applet I get a dialogue with the following error:
java.lang.ClassNotFoundException: loader.class.
I have tried uninstalling/reinstalling java, and also adding the -xmx and -xms parameters for java applet runtime setting in control panel with various values from 128m to 1g.
The applet at http://www.java.com/en/download/installed.jsp?detect=jre&try=1 does work and reports "CONGRATULATIONS, you have the Latest version of Java!", "Java Runtime Version 1.6.0."
I have been experiencing this problem ever since I installed Windows Vista Home Premium a day or two ago. Any help is appreciated.
Regards
Greg
=====================================
Full output from Java Console
=====================================
Java Plug-in 1.6.0
Using JRE version 1.6.0 Java HotSpot(TM) Client VM
User home directory = C:\Users\Greg Taylor
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
load: class loader.class not found.
java.lang.ClassNotFoundException: loader.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
java.lang.ClassNotFoundException: loader.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 moreive been having the same problems, if youve resolved this problem, please tell me.
all help is appreciated -
Lookup form standalone client fails with java.lang.ClassNotFoundException
Hi,
I have an issue under Weblogic 11g when a standalone client tries to lookup for an ejb deployed in an ear.
The ear is correclty deployed without any errors and the EJB is correctly defined in the jndi tree (i see it using the jndi browser through the weblogic console).
When my client tries to lookup the EJB using its correct JNDI name, the client receives the following exception :
java.lang.AssertionError: java.lang.ClassNotFoundException: com.gemalto.contactless.securearm.services.api.IRepositoryServiceRemote
at weblogic.ejb.container.internal.RemoteBusinessIntfGenerator.generateRemoteInterface(RemoteBusinessIntfGenerator.java:57)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.readObject(RemoteBusinessIntfProxy.java:205)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:197)
at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:564)
at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:193)
at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:240)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:392)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:380)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at com.gemalto.contactless.securearm.client.SarmProv.main(SarmProv.java:167)
Caused by: java.lang.ClassNotFoundException: com.gemalto.contactless.securearm.services.api.IRepositoryServiceRemote
at weblogic.ejb.container.deployer.RemoteBizIntfClassLoader.loadClass(RemoteBizIntfClassLoader.java:116)
at weblogic.ejb.container.internal.RemoteBusinessIntfGenerator.generateRemoteInterface(RemoteBusinessIntfGenerator.java:54)
... 26 more
No error found in the server logs !
If you have an idea that can helps mee ....
Thank you
Franck.Yes it is in my classpath. You can take a look at my command line generated by my IDE :
D:\bea11g\jdk160_11\bin\java -Xrunjdwp:transport=dt_socket,address=127.0.0.1:15251,suspend=y,server=n -Dfile.encoding=windows-1252 -classpath "D:\bea11g\jdk160_11\jre\lib\charsets.jar;D:\bea11g\jdk160_11\jre\lib\deploy.jar;D:\bea11g\jdk160_11\jre\lib\javaws.jar;D:\bea11g\jdk160_11\jre\lib\jce.jar;D:\bea11g\jdk160_11\jre\lib\jsse.jar;D:\bea11g\jdk160_11\jre\lib\management-agent.jar;D:\bea11g\jdk160_11\jre\lib\plugin.jar;D:\bea11g\jdk160_11\jre\lib\resources.jar;D:\bea11g\jdk160_11\jre\lib\rt.jar;D:\bea11g\jdk160_11\jre\lib\ext\dnsns.jar;D:\bea11g\jdk160_11\jre\lib\ext\localedata.jar;D:\bea11g\jdk160_11\jre\lib\ext\sunjce_provider.jar;D:\bea11g\jdk160_11\jre\lib\ext\sunmscapi.jar;D:\bea11g\jdk160_11\jre\lib\ext\sunpkcs11.jar;_D:\cless2009\classes\production\SecureARM_;D:\cless2009\classes\production\Util;D:\cless2009\classes\production\Shared;D:\cless2009\CoreBuild\res\gemalto\telecom\FRWK\v4.0\FRWK_4.0_patch07\api\FRWK\ci_api.jar;D:\glassfish\domains\domain1\lib\ext\vbsec.jar;D:\glassfish\domains\domain1\lib\ext\common.jar;D:\glassfish\domains\domain1\lib\ext\container.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\FRWK\v4.0\FRWK_4.0_patch07\api\FRWK\ci_extends.jar;D:\glassfish\domains\domain1\lib\ext\lm.jar;D:\glassfish\domains\domain1\lib\ext\vbjorb.jar;D:\glassfish\domains\domain1\lib\ext\basesystem.jar;D:\cless2009\CoreBuild\res\ext\Log4j\v1.2.13\lib\log4j-1.2.13.jar;D:\cless2009\CoreBuild\res\ext\commons-lang\v2.3\commons-lang-2.3.jar;D:\cless2009\CoreBuild\res\ext\junit\v4.1\junit-4.1.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\api\oti_cmdmgr-api.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\tools\oti_linqusconnector-mock.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\install\OTA_IPInfra_1.0.2.0016_sun.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\api\oti_history-api.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\core\OTAIPInfra.ear;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\api\oti_connectivity-api.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\api\oti_shared-api.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\api\oti_notification-api.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\core\libext.zip;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\api\oti_loginmodule-api.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\core\domain.zip;D:\cless2009\CoreBuild\ECLIPSE_LIB\oti-linqusconnector-jmx-custom.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\api\oti_otagateway-api.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\glassfish\api\oti_trigsms-api.jar;D:\cless2009\CoreBuild\res\gemalto\telecom\OTA_IPInfra\v1.0\OTA_IPInfra_1_0_2_0016_090701_0926\lib\main\mmserver_ref.zip;D:\bea11g\user_projects\domains\cless\lib\wllog4j.jar;D:\bea11g\user_projects\domains\cless\lib\ojdbc14.jar;D:\bea11g\wlserver_10.3\server\lib;D:\bea11g\user_projects\domains\cless\lib\eclipselink.jar;D:\bea11g\user_projects\domains\cless\lib\log4j-1.2.14.jar;D:\cless2009\classes\production\SharedCustom;D:\cless2009\CoreBuild\res\gemalto\telecom\REUSE\v1.0\REUSE_1_0_b0148_071211_1059\lib\reuse.jar;D:\cless2009\CoreBuild\res\gemplus\telecomtlvtools\v1.0\build1\tlvtools.jar;D:\bea11g\wlserver_10.3\server\lib\wlfullclient.jar;D:\bea11g\wlserver_10.3\server\lib\wljmxclient.jar;C:\Program Files\JetBrains\IntelliJ IDEA 8.1.3\lib\idea_rt.jar" com.gemalto.contactless.securearm.client.SarmProv -
WSCOMPILE java.lang.ClassNotFoundException error
Hi there. I know this is something simple but I can't figure out where i'm going wrong.
I'm getting the java.lang.ClassNotFoundException error when running the WSCOMPILE utility. Here is my config.xml:
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<service name="HelloService"
targetNamespace="http://echoservice.org/wsdl"
typeNamespace="http://hello.chap12.jboss.org"
packageName="mypackage">
<interface name="mypackage.HelloWorldWebServiceSEI"/>
</service>
</configuration>
and here's my interface:
package mypackage;
import java.rmi.RemoteException;
public interface HelloWorldWebServiceSEI extends java.rmi.Remote
public String sayhello(String Name) throws RemoteException;
I'm running the command:
wscompile -define -mapping mypackage/mapping.xml -d mypackage -nd mypackage -classpath mypackage config.xmlBut keep getting this error. Can someone help?
Many thanks,
JonHere is my information....I think I have included everything needed.
SET JAVA_HOME=C:\jdk1.5.0_04
SET JBOSS_CLASSPATH=C:\jboss-4.0.2\bin;C:\jboss-4.0.2\lib;C:\jboss-4.0.2\server\gmbi-all\lib
set JAVA=%JAVA_HOME%\bin\java
set JAVAC_JAR=%JAVA_HOME%\lib\tools.jar
set CLASSPATH=%CLASSPATH%;%JAVAC_JAR%;%RUNJAR%;%JBOSS_CLASSPATH%;C:\jboss-4.0.2\server\gmbi-all\deploy/jboss-ws4ee.sar/axis-ws4ee.jar
set CLASSPATH=%CLASSPATH%;C:\jboss-4.0.2\server\gmbi-all\deploy/jboss-ws4ee.sar/commons-discovery.jar
set CLASSPATH=%CLASSPATH%;C:\jboss-4.0.2\server\gmbi-all\deploy/jboss-ws4ee.sar/jboss-ws4ee.jar;
set CLASSPATH=%CLASSPATH%;C:\jboss-4.0.2\server\gmbi-all\deploy/jboss-ws4ee.sar/wsdl4j.jar
echo ===============================================================================
echo .
echo Bootstrap Environment
echo .
echo JAVA_HOME: %JAVA_HOME%
echo .
echo JAVA: %JAVA%
echo .
echo JAVAC_JAR: %JAVAC_JAR%
echo .
echo CLASSPATH: %JBOSS_CLASSPATH%
echo .
echo ===============================================================================
echo .
:RESTART
"%JAVA%" -classpath "%CLASSPATH%" wscompile %* -
Servlet error: java.lang.ClassNotFoundException:
After deploying a JDeveloper .ear file to OAS, I try to run the jsp file from OAS and receive the following error:
500 Internal Server Error
Servlet error: java.lang.ClassNotFoundException: lcfsreport.lcfsSearchReport
_lcfsreport. = context root
_lcfsSearchReport = .jsp file to execute
I am new to JDeveloper and OAS and am flying blind, any help would be appreciated.I've found other post concerning this very same issue and it appears there could be other issues involved than those pointed to by Oracle documentation.
Is there a direct way to check to see if my jsp's are generating with the version supported by oas 10.1.2?
I am beginning to understand the frustrations I hear with J2EE development and why many developers do not move to the latest J2EE versions.
I should have stuck with using old versions of JDeveloper, hind-sight is 20/20...
Maybe you are looking for
-
SDK – Beginner – Installation - Compiler
Background: I have used some HTML in high school. I have scripted in a 3D social chat environment called Second Life. I get the rough idea that you communicate through events, functions, variables, and if statements to communicate what you want a com
-
Epson printer software update 2.11 crashing my computer!
Hi there Thanks in advance for the help. I have been trying for a few days to download and install the latest software update called "epson printer software update 2.11" It will not finish installing and ends up crashing my computer. I have OS 10.7.4
-
i just did a PHP script for a web form, it works fine that when i press submit, it displays the page said "thanks for submitting," but the problem is i never receive the email of the data, any idea?
-
Consequences of new folio builder Panel.
I get the ticks, I'm in the midle of a huge production an now we get a new folio builder panel(12th of March), will that mean that I will have to update all viewers (I have got 9 countries) in order to read folios created with the new one ?? I Just u
-
HT1918 Security question. For got it
For got security question