Standalone oc4j undeploy exception
Hi,
We are currently getting the following exception thrown on standalone oc4j whilst undeploying an axis2 web service.
09/04/30 16:34:37 WARNING: ApplicationUnDeployer.removeFiles WARNING: Unable to remove appDir C:\oracle\product\10.1.3\oc4j\j2ee\home\a
pplications\m2-dataload-webservice : Unable to remove C:\oracle\product\10.1.3\oc4j\j2ee\home\applications\m2-dataload-webservicejava.i
o.IOException: Unable to remove C:\oracle\product\10.1.3\oc4j\j2ee\home\applications\m2-dataload-webservice
at oracle.oc4j.util.FileUtils.recursiveRemove(FileUtils.java:262)
at oracle.oc4j.admin.internal.ApplicationUnDeployer.removeFiles(ApplicationUnDeployer.java:194)
at oracle.oc4j.admin.internal.ApplicationUnDeployer.doUndeploy(ApplicationUnDeployer.java:163)
at oracle.oc4j.admin.internal.UnDeployerBase.execute(UnDeployerBase.java:91)
at oracle.oc4j.admin.internal.UnDeployerBase.execute(UnDeployerBase.java:72)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JUnDeployerRunnable.doRun(OC4JUnDeployerRunnable.java:46)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.UnDeployerRunnable.run(UnDeployerRunnable.java:69)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Unknown Source)
2009-04-30 16:34:37.715 NOTIFICATION Application UnDeployer for m2-dataload-webservice COMPLETES.
This is causing problems when we deploy a new version of the web service (as it is leaving old versions of the application jar files in the WEB-INF/lib directory).
The webservice is the only application running in the oc4j container. When oc4j is shutdown the directories can be deleted without any problem which implies that oc4j still has a handle on some of the files in the application directory (even though it says it has undeployed it).
Any help appreciated.
This is still a problem. No solution found yet.
If I can't get this to work by the end of the week then I reckon it could be curtains for me. With the job market the way it is I don't think things look great. It might even mean that I have to sell the vineyard in southern italy and the children won't be going on the usual carribbean holiday during the holidays.
Similar Messages
-
Deploying OW4J to standalone oc4j
Hi,
I am trying to deploy the requisition demo for standalone oc4j server. I am using oc4j provided in the jdev905 preview. At step 3: run deploy.bat, in README-OW4JPreview.html first I had to edit oc4j_home/config/datasource.xml and add the data-source tag (below) to get around the problem described in post:
Re: OW4J Documentaion
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="OW4JDS"
location="jdbc/OW4JCoreDS"
xa-location="jdbc/xa/OW4JXADS"
ejb-location="jdbc/OW4JDS"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="dbuser"
password="dbpwd"
url="jdbc:oracle:thin:@dbmachine:dbport:sid"
inactivity-timeout="30"
/>
But now I get the error message below. How do I get around this?
03/12/26 14:40:05 Notification ==> Application Deployer for ow4jdemo STARTS [ 20
03-12-26T14:40:05.154CET ]
03/12/26 14:40:05 Notification ==> Undeploy previous deployment
03/12/26 14:40:05 Notification ==> Copy the archive to C:\jdev905\j2ee\home\appl
ications\ow4jdemo.ear
03/12/26 14:40:05 Notification ==> Unpack ow4jdemo.ear begins...
03/12/26 14:40:05 Auto-unpacking C:\jdev905\j2ee\home\applications\ow4jdemo.ear.
.. done.
03/12/26 14:40:05 Notification ==> Unpack ow4jdemo.ear ends...
03/12/26 14:40:05 Notification ==> Initialize ow4jdemo.ear begins...
03/12/26 14:40:05 Auto-unpacking C:\jdev905\j2ee\home\applications\ow4jdemo\ow4j
demo.war... done.
03/12/26 14:40:06 Notification ==> Initialize ow4jdemo.ear ends...
03/12/26 14:40:06 Notification ==> Initialize ow4jdemo begins...
03/12/26 14:40:06 Copying default deployment descriptor from archive at C:\jdev9
05\j2ee\home\applications\ow4jdemo\ow4jdemo/WEB-INF/orion-web.xml to deployment
directory C:\jdev905\j2ee\home\application-deployments\ow4jdemo\ow4jdemo...
03/12/26 14:40:06 Notification ==> Initialize ow4jdemo ends...
03/12/26 14:40:06 ArchiveContext: containsDirectory(META-INF) plus '/' found in
C:\jdev905\j2ee\home\applications\ow4jdemo\demoejb.jar in entry META-INF/MANIFES
T.MF
03/12/26 14:40:06 Copying default deployment descriptor from archive at C:\jdev9
05\j2ee\home\applications\ow4jdemo\demoejb.jar/META-INF/orion-ejb-jar.xml to dep
loyment directory C:\jdev905\j2ee\home\application-deployments\ow4jdemo\demoejb.
jar...
03/12/26 14:40:06 Auto-deploying - demoejb.jar (No previous deployment found)...
03/12/26 14:40:15 Auto-deploying - compiling and loading...
Error deploying file:/C:/jdev905/j2ee/home/applications/ow4jdemo/demoejb.jar hom
es: No javax.jms.Destination found at the specified destination-location (jms/No
tificationQueue) for MessageDrivenBean NotificationMDB
Error in application ow4jdemo: Error loading package at file:/C:/jdev905/j2ee/ho
me/applications/ow4jdemo/demoejb.jar, Error deploying file:/C:/jdev905/j2ee/home
/applications/ow4jdemo/demoejb.jar homes: No javax.jms.Destination found at the
specified destination-location (jms/NotificationQueue) for MessageDrivenBean Not
ificationMDB
03/12/26 14:40:21 done.
oracle.oc4j.admin.internal.DeployerException: Error initializing ejb-module; Exc
eption Error in application ow4jdemo: Error loading package at file:/C:/jdev905/
j2ee/home/applications/ow4jdemo/demoejb.jar, Error deploying file:/C:/jdev905/j2
ee/home/applications/ow4jdemo/demoejb.jar homes: No javax.jms.Destination found
at the specified destination-location (jms/NotificationQueue) for MessageDrivenB
ean NotificationMDB
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(Applica
tionDeployer.java:411)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
ployer.java:127)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
at com.evermind.server.administration.DefaultApplicationServerAdministra
tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
at com.evermind.server.administration.DefaultApplicationServerAdministra
tor.deploy(DefaultApplicationServerAdministrator.java:278)
at java.lang.reflect.Method.invoke(Native Method)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:484)
---- Embedded exception
java.lang.InstantiationException: Error initializing ejb-module; Exception Error
in application ow4jdemo: Error loading package at file:/C:/jdev905/j2ee/home/ap
plications/ow4jdemo/demoejb.jar, Error deploying file:/C:/jdev905/j2ee/home/appl
ications/ow4jdemo/demoejb.jar homes: No javax.jms.Destination found at the speci
fied destination-location (jms/NotificationQueue) for MessageDrivenBean Notifica
tionMDB
at com.evermind.server.ejb.EJBContainer.throwInstantiationException(EJBC
ontainer.java:2424)
at com.evermind.server.ejb.EJBContainer.postInitBatch(EJBContainer.java:
2408)
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:2191)
at com.evermind.server.Application.postInit(Application.java:553)
at com.evermind.server.Application.setConfig(Application.java:170)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServe
r.java:1924)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(Applica
tionDeployer.java:407)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
ployer.java:127)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:73)
at com.evermind.server.administration.DefaultApplicationServerAdministra
tor.internalDeploy(DefaultApplicationServerAdministrator.java:378)
at com.evermind.server.administration.DefaultApplicationServerAdministra
tor.deploy(DefaultApplicationServerAdministrator.java:278)
at java.lang.reflect.Method.invoke(Native Method)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:124)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
sableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:484)
03/12/26 14:40:21 Notification ==> Application Deployer for ow4jdemo FAILED: Err
or initializing ejb-module; Exception Error in application ow4jdemo: Error loadi
ng package at file:/C:/jdev905/j2ee/home/applications/ow4jdemo/demoejb.jar, Erro
r deploying file:/C:/jdev905/j2ee/home/applications/ow4jdemo/demoejb.jar homes:
No javax.jms.Destination found at the specified destination-location (jms/Notifi
cationQueue) for MessageDrivenBean NotificationMDB [ 2003-12-26T14:40:21.748CET
03/12/26 14:40:21 Notification ==> Application UnDeployer for ow4jdemo STARTS [
Fri Dec 26 14:40:21 CET 2003 ]
03/12/26 14:40:22 [INFO] PropertyMessageResources - -Initializing, config='org.a
pache.struts.util.LocalStrings', returnNull=true
03/12/26 14:40:22 [INFO] PropertyMessageResources - -Initializing, config='org.a
pache.struts.action.ActionResources', returnNull=true
03/12/26 14:40:22 [INFO] PropertyMessageResources - -Initializing, config='view.
ApplicationResources', returnNull=true
03/12/26 14:40:22 [INFO] PropertyMessageResources - -Initializing, config='org.a
pache.struts.util.LocalStrings', returnNull=true
03/12/26 14:40:22 [INFO] PropertyMessageResources - -Initializing, config='org.a
pache.struts.action.ActionResources', returnNull=true
03/12/26 14:40:23 [INFO] PropertyMessageResources - -Initializing, config='view.
ApplicationResources', returnNull=true
03/12/26 14:40:23 [INFO] PropertyMessageResources - -Initializing, config='org.a
pache.struts.util.LocalStrings', returnNull=true
03/12/26 14:40:23 [INFO] PropertyMessageResources - -Initializing, config='org.a
pache.struts.action.ActionResources', returnNull=true
03/12/26 14:40:24 [INFO] PropertyMessageResources - -Initializing, config='view.
ApplicationResources', returnNull=true
03/12/26 14:40:24 [INFO] PropertyMessageResources - -Initializing, config='org.a
pache.struts.util.LocalStrings', returnNull=true
03/12/26 14:40:24 [INFO] PropertyMessageResources - -Initializing, config='org.a
pache.struts.action.ActionResources', returnNull=true
03/12/26 14:40:24 [INFO] PropertyMessageResources - -Initializing, config='view.
ApplicationResources', returnNull=true
03/12/26 14:40:25 Notification ==> Application UnDeployer for ow4jdemo COMPLETES
[ Fri Dec 26 14:40:25 CET 2003 ]Hi Jasmina,
Looks like the JMS topics have not been set up. Please follow the instructions as mentioned in "3. Set up In-memory JMS Topics" of the README.
Cheers,
Raja -
What's Wrong about deploy ADF BC to Standalone OC4J(10.1.3) as SessionEJB
I feel very very angry !
pls save me
i have ever test an empty AppModule without any vo ,it works well. Then i added one VO into it ,it still work well. when i add another vo into it ,it does not work.
all my appmodule deployed onto standalone oc4j occur the following errror.
My Jdev is the newest version with service update 3.
oc4j is 10.1.3
external jdk is 1.5.0_06
JBO-30003: The application pool (.10B6BBC3C78) failed to checkout an application module due to the following exception:
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1954)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
## Detail 0 ##
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2047)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
## Detail 0 ##
oracle.jbo.ApplicationModuleCreateException: JBO-25222: Unable to create application module.
at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.doCreate(ApplicationModuleProxy.java:161)
at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.create(ApplicationModuleProxy.java:59)
at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.createRemoteEJBApplicationModuleProxy(AbstractApplicationModuleHomeImpl.java:44)
at oracle.jbo.client.ejb.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:64)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2431)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2047)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
## Detail 0 ##
oracle.jbo.CustomClassNotFoundException: JBO-26023: Custom class com.kunteng.fabric.model.sys.services.SysMenuAppModuleImpl is not assignable to oracle.jbo.server.ApplicationModuleImpl
at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:191)
at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:836)
at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:770)
at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:535)
at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:548)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:426)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:359)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:341)
at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:701)
at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:400)
at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.createRootApplicationModule(AbstractRemoteApplicationModuleImpl.java:208)
at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.initAsRoot(ServerApplicationModuleImpl.java:138)
at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.createInstance(ServerApplicationModuleImpl.java:55)
at oracle.jbo.server.ejb.SessionBeanImpl.createApplicationModule(SessionBeanImpl.java:400)
at com.kunteng.fabric.model.sys.services.server.ejb.beanmanaged.SysMenuAppModuleServer.ejbCreate(SysMenuAppModuleServer.java:79)
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:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.StatefulCreateInterceptor.invoke(StatefulCreateInterceptor.java:45)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:33)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.AbstractEJBHome.OC4J_invokeMethod(AbstractEJBHome.java:742)
at SysMenuAppModuleHome_StatefulSessionHomeWrapper35.create(SysMenuAppModuleHome_StatefulSessionHomeWrapper35.java:37)
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:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
----- LEVEL 1: DETAIL 0 -----
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1954)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
## Detail 0 ##
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2047)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
## Detail 0 ##
oracle.jbo.ApplicationModuleCreateException: JBO-25222: Unable to create application module.
at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.doCreate(ApplicationModuleProxy.java:161)
at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.create(ApplicationModuleProxy.java:59)
at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.createRemoteEJBApplicationModuleProxy(AbstractApplicationModuleHomeImpl.java:44)
at oracle.jbo.client.ejb.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:64)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2431)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2047)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
## Detail 0 ##
oracle.jbo.CustomClassNotFoundException: JBO-26023: Custom class com.kunteng.fabric.model.sys.services.SysMenuAppModuleImpl is not assignable to oracle.jbo.server.ApplicationModuleImpl
at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:191)
at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:836)
at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:770)
at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:535)
at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:548)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:426)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:359)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:341)
at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:701)
at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:400)
at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.createRootApplicationModule(AbstractRemoteApplicationModuleImpl.java:208)
at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.initAsRoot(ServerApplicationModuleImpl.java:138)
at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.createInstance(ServerApplicationModuleImpl.java:55)
at oracle.jbo.server.ejb.SessionBeanImpl.createApplicationModule(SessionBeanImpl.java:400)
at com.kunteng.fabric.model.sys.services.server.ejb.beanmanaged.SysMenuAppModuleServer.ejbCreate(SysMenuAppModuleServer.java:79)
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:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.StatefulCreateInterceptor.invoke(StatefulCreateInterceptor.java:45)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:33)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.AbstractEJBHome.OC4J_invokeMethod(AbstractEJBHome.java:742)
at SysMenuAppModuleHome_StatefulSessionHomeWrapper35.create(SysMenuAppModuleHome_StatefulSessionHomeWrapper35.java:37)
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:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
----- LEVEL 2: DETAIL 0 -----
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2047)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
## Detail 0 ##
oracle.jbo.ApplicationModuleCreateException: JBO-25222: Unable to create application module.
at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.doCreate(ApplicationModuleProxy.java:161)
at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.create(ApplicationModuleProxy.java:59)
at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.createRemoteEJBApplicationModuleProxy(AbstractApplicationModuleHomeImpl.java:44)
at oracle.jbo.client.ejb.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:64)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2431)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2047)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
## Detail 0 ##
oracle.jbo.CustomClassNotFoundException: JBO-26023: Custom class com.kunteng.fabric.model.sys.services.SysMenuAppModuleImpl is not assignable to oracle.jbo.server.ApplicationModuleImpl
at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:191)
at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:836)
at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:770)
at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:535)
at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:548)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:426)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:359)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:341)
at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:701)
at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:400)
at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.createRootApplicationModule(AbstractRemoteApplicationModuleImpl.java:208)
at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.initAsRoot(ServerApplicationModuleImpl.java:138)
at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.createInstance(ServerApplicationModuleImpl.java:55)
at oracle.jbo.server.ejb.SessionBeanImpl.createApplicationModule(SessionBeanImpl.java:400)
at com.kunteng.fabric.model.sys.services.server.ejb.beanmanaged.SysMenuAppModuleServer.ejbCreate(SysMenuAppModuleServer.java:79)
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:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.StatefulCreateInterceptor.invoke(StatefulCreateInterceptor.java:45)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:33)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.AbstractEJBHome.OC4J_invokeMethod(AbstractEJBHome.java:742)
at SysMenuAppModuleHome_StatefulSessionHomeWrapper35.create(SysMenuAppModuleHome_StatefulSessionHomeWrapper35.java:37)
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:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
----- LEVEL 3: DETAIL 0 -----
oracle.jbo.ApplicationModuleCreateException: JBO-25222: Unable to create application module.
at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.doCreate(ApplicationModuleProxy.java:161)
at oracle.jbo.client.remote.ejb.ApplicationModuleProxy.create(ApplicationModuleProxy.java:59)
at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.createRemoteEJBApplicationModuleProxy(AbstractApplicationModuleHomeImpl.java:44)
at oracle.jbo.client.ejb.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:64)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:139)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2431)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2047)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1913)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2756)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:397)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:392)
at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1542)
at oracle.jbo.client.Configuration.createRootApplicationModuleFromConfig(Configuration.java:1515)
at oracle.jbo.jbotester.ConnectionInfo.useApplicationModule(ConnectionInfo.java:129)
at oracle.jbo.jbotester.MainFrame.init(MainFrame.java:410)
at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:394)
## Detail 0 ##
oracle.jbo.CustomClassNotFoundException: JBO-26023: Custom class com.kunteng.fabric.model.sys.services.SysMenuAppModuleImpl is not assignable to oracle.jbo.server.ApplicationModuleImpl
at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:191)
at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:836)
at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:770)
at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:535)
at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:548)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:426)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:359)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:341)
at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:701)
at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:400)
at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.createRootApplicationModule(AbstractRemoteApplicationModuleImpl.java:208)
at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.initAsRoot(ServerApplicationModuleImpl.java:138)
at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.createInstance(ServerApplicationModuleImpl.java:55)
at oracle.jbo.server.ejb.SessionBeanImpl.createApplicationModule(SessionBeanImpl.java:400)
at com.kunteng.fabric.model.sys.services.server.ejb.beanmanaged.SysMenuAppModuleServer.ejbCreate(SysMenuAppModuleServer.java:79)
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:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.StatefulCreateInterceptor.invoke(StatefulCreateInterceptor.java:45)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:33)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.AbstractEJBHome.OC4J_invokeMethod(AbstractEJBHome.java:742)
at SysMenuAppModuleHome_StatefulSessionHomeWrapper35.create(SysMenuAppModuleHome_StatefulSessionHomeWrapper35.java:37)
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:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
----- LEVEL 4: DETAIL 0 -----
oracle.jbo.CustomClassNotFoundException: JBO-26023: Custom class com.kunteng.fabric.model.sys.services.SysMenuAppModuleImpl is not assignable to oracle.jbo.server.ApplicationModuleImpl
at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:191)
at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:836)
at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML(ApplicationModuleDefImpl.java:770)
at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:535)
at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:548)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:426)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:359)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:341)
at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:701)
at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject(ApplicationModuleDefImpl.java:232)
at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:400)
at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.createRootApplicationModule(AbstractRemoteApplicationModuleImpl.java:208)
at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.initAsRoot(ServerApplicationModuleImpl.java:138)
at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.createInstance(ServerApplicationModuleImpl.java:55)
at oracle.jbo.server.ejb.SessionBeanImpl.createApplicationModule(SessionBeanImpl.java:400)
at com.kunteng.fabric.model.sys.services.server.ejb.beanmanaged.SysMenuAppModuleServer.ejbCreate(SysMenuAppModuleServer.java:79)
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:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:34)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.StatefulCreateInterceptor.invoke(StatefulCreateInterceptor.java:45)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.RunningStateInterceptor.invoke(RunningStateInterceptor.java:33)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.AbstractEJBHome.OC4J_invokeMethod(AbstractEJBHome.java:742)
at SysMenuAppModuleHome_StatefulSessionHomeWrapper35.create(SysMenuAppModuleHome_StatefulSessionHomeWrapper35.java:37)
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:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)i found it will be failure when AM contains a VO with ViewLink , whereas it will be all right when AM contains VO without ViewLink.
the err information is ,
(oracle.jbo.common.ampool.ApplicationPoolException) JBO-30003: The application pool (.10B6EC36198) failed to checkout an application module due to the following exception:
----- LEVEL 1: DETAIL 0 -----
(oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
----- LEVEL 2: DETAIL 0 -----
(oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.ApplicationModuleCreateException, msg=JBO-25222: Unable to create application module.
----- LEVEL 3: DETAIL 0 -----
(oracle.jbo.ApplicationModuleCreateException) JBO-25222: Unable to create application module.
----- LEVEL 4: DETAIL 0 -----
(oracle.jbo.CustomClassNotFoundException) JBO-26023: Custom class com.kunteng.fabric.model.base.dataobjects.BaseTabCustomerFabricImpl is not assignable to oracle.jbo.server.EntityImpl -
Oracle 10g - Creating a new Application Server using standalone OC4J 10g
I have some issues in creating a new app. server using standalone oc4j 10g 10.1.3 instance. After I created the app. server instance, I tested the connection and it says connection refused. I used the userid as oc4jadmin and the password as welcome. I am getting a message connection refused. For connection, I used the default hostname "localhost" and I didn't mention anything in the URL path.
Thanks Steve..
Here is what I am trying to do.. I want to create a new app server instance (i.e.) stand alone oc4j server, where I can deploy my web service and run a test.
Oracle JDeveloper 10g:
Under Connection Navigator, Application Server --
1) Right click to 'Create New Application Server Connection'
2) Connection type as 'Standalone OC4J 10 g 10.1.3',
3) Username ==> oc4jadmin, Password ==>welcome, checked the Deploy password.
4) Hostname: localhost RMI Port: 23791
URL path: <<blank>>
5) Test Connection ==> getting a error message...
Error while getting remote MBeanServer for url: ormi://localhost:23791/default:
Error reading application-client descriptor: Error communicating with server: Connection refused: connect; nested exception is:
javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
Any input you can provide would be of great help. -
Has anyone had a WebService running on standalone OC4J 101300 / 101310
I am trying to run the most basic of webservices on these containers - what was achieved within minutes on IBM WAS 6.0, JBoss 4.0 and WLS 9.1 is just not getting possible with this release of the container!
Initially thought it was a deployment / code issue - but have been consistently able to take the same WSDL and generate the WebService (and deploy) on other containers except OC4J. The same service runs successfully within JDev embedded OC4J.
Using JDeveloper, I was able to generate both top-down and bottom-up services. Neither got deployed - either through uploading the EAR file, ANT build file, JDeveloper deploy to connections etc...
Even tried changed entries in the server.xml and the default-web-site.xml file - but it is of no use.
No extra libraries were added - same results were obtained even with a fresh install of the container in this environment: WinXP Pro + JDK 1.5.2_09 + OC4J 101300 / 101310.
All these come back with the same error:
06/11/16 20:01:15 SEVERE: ProgressObjectImpl.reportError java.lang.ClassCastExce
ption: com.sun.org.apache.xerces.internal.dom.DeferredElementNSImploracle.oc4j.a
dmin.jmx.shared.exceptions.InternalException: java.lang.ClassCastException: com.
sun.org.apache.xerces.internal.dom.DeferredElementNSImpl
at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(Notif
icationUserData.java:107)
at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:123
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun
(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(Deplo
yerRunnable.java:81)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
utor.java:819)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.ClassCastExce
ption: com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
tionBinder.java:214)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
tionBinder.java:96)
at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(Application
Deployer.java:541)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
ployer.java:197)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
... 4 more
Caused by: java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.
DeferredElementNSImpl
at oracle.j2ee.ws.server.deployment.WebServiceEndpoint.writeRuntimeXml(W
ebServiceEndpoint.java:660)
at oracle.j2ee.ws.server.deployment.WebServiceEndpoint.writeXML(WebServi
ceEndpoint.java:616)
at com.evermind.xml.XMLUtils.writeAll(XMLUtils.java:136)
at oracle.j2ee.ws.server.deployment.WebService.writeEndpoints(WebService
.java:382)
at oracle.j2ee.ws.server.deployment.WebService.writeXML(WebService.java:
374)
at com.evermind.xml.XMLUtils.writeAll(XMLUtils.java:136)
at oracle.j2ee.ws.server.deployment.WebServicesDescriptor.writeWebServic
es(WebServicesDescriptor.java:447)
at oracle.j2ee.ws.server.deployment.WebServicesDescriptor.writeOrionXML(
WebServicesDescriptor.java:426)
at oracle.j2ee.ws.server.deployment.WebServicesDescriptor.writeOrionConf
ig(WebServicesDescriptor.java:401)
at com.evermind.server.J2EEComponent.getDeploymentContent(J2EEComponent.
java:403)
at com.evermind.server.J2EEComponent.storeDeployment(J2EEComponent.java:
494)
at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts
(WrapperClassGenerator.java:93)
at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(
HttpApplication.java:8403)
at com.evermind.server.http.HttpApplication.populateLoaderWithWebService
sDeploymentCache(HttpApplication.java:5465)
at com.evermind.server.http.HttpApplication.populateLoader(HttpApplicati
on.java:5394)
at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplicat
ion.java:5333)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
645)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(Applic
ationStateRunning.java:428)
at com.evermind.server.Application.getHttpApplication(Application.java:5
12)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.cre
ateHttpApplicationFromReference(HttpSite.java:1975)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<in
it>(HttpSite.java:1894)
at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:15
91)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
tionBinder.java:206)
... 8 more
2006-11-16 20:01:15.642 ERROR java.lang.ClassCastException: com.sun.org.apache.x
erces.internal.dom.DeferredElementNSImpl
2006-11-16 20:01:15.764 NOTIFICATION Application UnDeployer for tanfsandbox COMP
LETES.
06/11/16 20:01:15 WARNING: DeployerRunnable.run java.lang.ClassCastException: co
m.sun.org.apache.xerces.internal.dom.DeferredElementNSImploracle.oc4j.admin.inte
rnal.DeployerException: java.lang.ClassCastException: com.sun.org.apache.xerces.
internal.dom.DeferredElementNSImpl
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun
(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(Deplo
yerRunnable.java:81)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
utor.java:819)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.
DeferredElementNSImpl
at oracle.j2ee.ws.server.deployment.WebServiceEndpoint.writeRuntimeXml(W
ebServiceEndpoint.java:660)
at oracle.j2ee.ws.server.deployment.WebServiceEndpoint.writeXML(WebServi
ceEndpoint.java:616)
at com.evermind.xml.XMLUtils.writeAll(XMLUtils.java:136)
at oracle.j2ee.ws.server.deployment.WebService.writeEndpoints(WebService
.java:382)
at oracle.j2ee.ws.server.deployment.WebService.writeXML(WebService.java:
374)
at com.evermind.xml.XMLUtils.writeAll(XMLUtils.java:136)
at oracle.j2ee.ws.server.deployment.WebServicesDescriptor.writeWebServic
es(WebServicesDescriptor.java:447)
at oracle.j2ee.ws.server.deployment.WebServicesDescriptor.writeOrionXML(
WebServicesDescriptor.java:426)
at oracle.j2ee.ws.server.deployment.WebServicesDescriptor.writeOrionConf
ig(WebServicesDescriptor.java:401)
at com.evermind.server.J2EEComponent.getDeploymentContent(J2EEComponent.
java:403)
at com.evermind.server.J2EEComponent.storeDeployment(J2EEComponent.java:
494)
at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts
(WrapperClassGenerator.java:93)
at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(
HttpApplication.java:8403)
at com.evermind.server.http.HttpApplication.populateLoaderWithWebService
sDeploymentCache(HttpApplication.java:5465)
at com.evermind.server.http.HttpApplication.populateLoader(HttpApplicati
on.java:5394)
at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplicat
ion.java:5333)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:
645)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(Applic
ationStateRunning.java:428)
at com.evermind.server.Application.getHttpApplication(Application.java:5
12)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.cre
ateHttpApplicationFromReference(HttpSite.java:1975)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<in
it>(HttpSite.java:1894)
at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:15
91)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
tionBinder.java:206)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplica
tionBinder.java:96)
at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(Application
Deployer.java:541)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
ployer.java:197)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
... 4 more
2006-11-16 20:01:15.764 WARNING java.lang.ClassCastException: com.sun.org.apache
.xerces.internal.dom.DeferredElementNSImpl
BTW, the service interface is added below:
package botupws;
public class SayHello {
public SayHello() {
public String say(String name) {
return ("Hello" + name);
The WSDL file is added below:
<definitions
name="MyWebService1"
targetNamespace="http://botupws/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://botupws/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:tns0="http://botupws/types/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://botupws/types/"
elementFormDefault="qualified" xmlns:tns="http://botupws/types/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
<element name="sayElement">
<complexType>
<sequence>
<element name="name" type="string" nillable="true"/>
</sequence>
</complexType>
</element>
<element name="sayResponseElement">
<complexType>
<sequence>
<element name="result" type="string" nillable="true"/>
</sequence>
</complexType>
</element>
</schema>
</types>
<message name="MyWebService1_say">
<part name="parameters" element="tns0:sayElement"/>
</message>
<message name="MyWebService1_sayResponse">
<part name="parameters" element="tns0:sayResponseElement"/>
</message>
<portType name="MyWebService1">
<operation name="say">
<input message="tns:MyWebService1_say"/>
<output message="tns:MyWebService1_sayResponse"/>
</operation>
</portType>
<binding name="MyWebService1SoapHttp" type="tns:MyWebService1">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="say">
<soap:operation soapAction="http://botupws//say"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="MyWebService1">
<port name="MyWebService1SoapHttpPort" binding="tns:MyWebService1SoapHttp">
<soap:address location="http://192.168.5.100:8888/tanfsandbox-BotUpWS-context-root/MyWebService1SoapHttpPort"/>
</port>
</service>
</definitions>
Thanks in advance!This doesn't help with your specific issue, but it's an example of a WS being generated in JDeveloper then deployed to a separate standalone OC4J 10.1.3.1.0 instance.
The WS was created from a simple Java class like yours, then deployed using JDeveloper remote connection to a separate OC4J instance.
---- Deployment started. ---- 17/11/2006 12:31:49
Target platform is Standalone OC4J 10g 10.1.3 (local).
Wrote WAR file to C:\java\jdev-10131-prod\jdev\mywork\webservices\simplest\deploy\WebServices.war
Wrote EAR file to C:\java\jdev-10131-prod\jdev\mywork\webservices\simplest\deploy\webservices-simplest-WS.ear
Uploading file webservices-simplest-WS.ear ...
Application Deployer for webservices-simplest-WS STARTS.
Copy the archive to C:\java\oc4j-10131-dev\j2ee\home\applications\webservices-simplest-WS.ear
Initialize C:\java\oc4j-10131-dev\j2ee\home\applications\webservices-simplest-WS.ear begins...
Unpacking webservices-simplest-WS.ear
Done unpacking webservices-simplest-WS.ear
Unpacking WebServices.war
Done unpacking WebServices.war
Initialize C:\java\oc4j-10131-dev\j2ee\home\applications\webservices-simplest-WS.ear ends...
Starting application : webservices-simplest-WS
Initializing ClassLoader(s)
Initializing EJB container
Loading connector(s)
Starting up resource adapters
Initializing EJB sessions
Committing ClassLoader(s)
Initialize WebServices begins...
Initialize WebServices ends...
Started application : webservices-simplest-WS
Binding web application(s) to site default-web-site begins...
Binding WebServices web-module for application webservices-simplest-WS to site default-web-site under context root webservices-simplest-context-root
Initializing Servlet: oracle.j2ee.ws.server.JAXRPCServlet for web application WebServices
Binding web application(s) to site default-web-site ends...
Application Deployer for webservices-simplest-WS COMPLETES. Operation time: 3905 msecs
Elapsed time for deployment: 7 seconds
---- Deployment finished. ---- 17/11/2006 12:31:56
Here's the WSDL
<definitions name="HelloWorldService" targetNamespace="http://sab.demo.webservices/">
<types>
<schema targetNamespace="http://sab.demo.webservices/types/" elementFormDefault="qualified">
<element name="sayHelloElement">
<complexType>
<sequence/>
</complexType>
</element>
<element name="sayHelloResponseElement">
<complexType>
<sequence>
<element name="result" type="string" nillable="true"/>
</sequence>
</complexType>
</element>
</schema>
</types>
<message name="HelloWorldService_sayHello">
<part name="parameters" element="tns0:sayHelloElement"/>
</message>
<message name="HelloWorldService_sayHelloResponse">
<part name="parameters" element="tns0:sayHelloResponseElement"/>
</message>
<portType name="HelloWorldService">
<operation name="sayHello">
<input message="tns:HelloWorldService_sayHello"/>
<output message="tns:HelloWorldService_sayHelloResponse"/>
</operation>
</portType>
<binding name="HelloWorldServiceSoapHttp" type="tns:HelloWorldService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="sayHello">
<soap:operation soapAction="http://sab.demo.webservices//sayHello"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="HelloWorldService">
<port name="HelloWorldServiceSoapHttpPort" binding="tns:HelloWorldServiceSoapHttp">
<soap:address location="http://localhost:8888/webservices-simplest-context-root/HelloWorldServiceSoapHttpPort"/>
</port>
</service>
</definitions>
So it does work. What the specific problem is with your situation, one of our WS PMs most likely be able to help with.
The error you have:
2006-11-16 20:01:15.764 WARNING java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl
Is strange -- can you check your WAR file and see if there are other libraries in the WEB-INF/lib that may be being loaded?
Do you have xerces-impl.jar or anything like that in the JRE/lib directory of your JDK?
cheers
-steve- -
Problems deploying PL/SQL Web Service example to standalone OC4J
I have built the PL/SQL Web Service example EMP_FETCHER in the tutorials that come with JDeveloper. When run with the embedded OC4J container, the web service works ok using the autogenerated client. However, while I can then successfully deploy the web service to a standalone OC4j instance running on a separate database server, when I point the client at it, a NoSuchMethodError exception is thrown by oc4j with the following stacktrace;
at tutorial_jdbc_connection.Emp_fetcher.get_emp(Emp_fetcher.sqlj:43)
at tutorial_jdbc_connection.__Emp_fetcherSPWrapper.invokeMethod(__Emp_fetcherSPWrapper.java:73)
at oracle.j2ee.ws.InvocationWrapper.invoke(InvocationWrapper.java:98)
at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:359)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:652)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
Looks like I'm missing some support libraries but I'm unsure which ones they are, and why they wouldn't be part of a standard OC4J installation.
I've tried including the SQLJ runtime and Oracle JDBC library support in the deployment and redeploying but the same error persists.
Any assistance would be appreciated
Regards
MichaelYou have an old version of java installed. That is what "java.lang.UnsupportedClassVersionError" tells.
-
Discussion Forum Portlet not working on standalone OC4J
Hi,
I'm testing the Discussion Forum Portlet.
I imported the portlet to jedeveloper in order to make changes to it.
I deployed it to a standalone OC4J (without doing any changes yet) and succesfully registered a provider, but when I put the portlet to a Portal-Page I get the following error:
"Unable to perform the operation: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-33001: Cannot find the configuration file config\common\bc4j.xcfg in the classpath"
Deploying to the OC4J_Portal Instance on the Application Server and
registering the provider with this URL is working.
I'm using Portal 10.1.2.0.2.
I tested with OC4J standalone versions 9.0.4.0.0 and 10.1.2.0.2.
What could cause the fact that the Portlet isn't working when it is deployed to an standalone OC4J?
Regards,
MarioI'd recommend asking the Portal/Portlet people -- I think exposure to this sample will be required to give you any assistance.
One thing to be aware of though is that the libraries for BC4J (which this sample seems to use based on that error) aren't installed by default with OC4J standalone. Whereas for OracleAS 10.1.2 they are. So that might be something to chase down.
cheers
-steve- -
Unable to shut Standalone OC4J 10.1.3.1.0
Hi,
I want to shut down the standalone OC4J 10.1.3.1.0
I issued following command (We are using the port 23792) to stop this
=> java -jar admin.jar ormi://localhost:23792 oc4jadmin password -shutdown force
But it does not responds.
Also now I am not able to start the server. When I try to do this Following error is thrown
2007-02-07 17:06:06.175 ERROR ServerFile[PersistentMap,/app3/OC4J_10130/j2ee/home/persistence/jms.state]: persistence file could not be locked. Resolve the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both processes.
07/02/07 17:06:06 *** (SEVERE) ServerFile[PersistentMap,/app3/OC4J_10130/j2ee/home/persistence/jms.state]: persistence file could not be locked. Resolve the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both processes.
2007-02-07 17:06:06.191 ERROR Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/app3/OC4J_10130/j2ee/home/config/jms.xml]
07/02/07 17:06:06 *** (SEVERE) Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/app3/OC4J_10130/j2ee/home/config/jms.xml]
2007-02-07 17:06:06.195 ERROR J2EE OJR-00011 Exception starting JMS server: Failed to set the internal configuration of the OC4J JMS Server with: XMLJMSServerConfig[file:/app3/OC4J_10130/j2ee/home/config/jms.xml]
2007-02-07 17:06:06.333 ERROR J2EE RMI-00002 Error starting ORMI server <servername> port 23,792: Address already in use
2007-02-07 17:06:06.339 ERROR java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331)
at java.net.ServerSocket.bind(ServerSocket.java:318)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at com.evermind.server.rmi.RMIServer.createServerSocket(RMIServer.java:433)
at com.evermind.server.rmi.RMIServer.createNonSecureSocket(RMIServer.java:347)
at com.evermind.server.rmi.RMIServer.setConfig(RMIServer.java:210)
at com.evermind.server.ApplicationServer.initializeRMI(ApplicationServer.java:2372)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:960)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
at java.lang.Thread.run(Thread.java:534)
Is there some way in which I can stop the OC4J so that I can start it again.
Thanks
Sanjaykill the thread
-
Deploy app on standalone OC4J running on jdk1.6.0_04
Hi all!
I am trying to deploy an application on standalone OC4J running on jdk1.6.0_04. The application runs well when started on embedded oc4j (which is running on java 1.6). I know that jdk1.6 is not supported, but the application works smoother and faster on 1.6 and I want to try and find the reason why it won't work on standalone oc4j. When I start the server (start_oc4j.bat with JAVA_HOME set to c:\Program Files\Java\jdk1.6.0_04) I get these messages:
Starting OC4J with command: "c:\Program Files\Java\jdk1.6.0_04\bin\java.exe" -XX
:MaxPermSize=256m -Xmx512m -XX:+DisableExplicitGC -XX:+UseParallelGC -Xss128k -j
ar oc4j.jar
Jan 28, 2008 4:55:26 PM oracle.j2ee.xml.XMLMessages warningException
WARNING: Exception Encountered
Jan 28, 2008 4:55:26 PM oracle.oc4j.util.SystemLog logNoStack
WARNING: Could not initialize thread locals accessor: java.lang.ThreadLocal$Thre
adLocalMap.get(java.lang.ThreadLocal)
08/01/28 16:55:31 WARNING: ApplicationServer.enableOC4JDocumentChangeNotifier Al
ternate DocumentChangeNotifier in use!
08/01/28 16:55:32 JMS server will listen on port 9127.
08/01/28 16:55:33 oracle.j2ee.jms.oc4j.JMSServer startup complete
08/01/28 16:55:35 Don't know how to map non-serializable type: interface javax.m
anagement.j2ee.statistics.Stats to Open MBean Type.
08/01/28 16:55:36 WARNING: J2EE JNDI-00002
08/01/28 16:55:36 WARNING: No javax.jms.ConnectionFactory found at null
08/01/28 16:55:38 WARNING: oracle.j2ee.jmsrouter.RouterException: JMS Destinatio
n, {0}, does not exist
08/01/28 16:55:39 Oracle Containers for J2EE 11g (11.1.1.0.0) initialized.
When I try to deploy the application, I get the following error:
Operation failed with error:
oracle.oc4j.admin.deploy.spi.exceptions.DeploymentRuntimeException: Invocation error: oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: [Ljava.io.Serializable;
Dependent class: oracle.classloader.ClassLoaderQuery
Loader: sun.misc.Launcher$AppClassLoader@28980466
Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
Configuration: unknown
This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
; nested exception is:
oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: [Ljava.io.Serializable;
Dependent class: oracle.classloader.ClassLoaderQuery
Loader: sun.misc.Launcher$AppClassLoader@28980466
Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
Configuration: unknown
This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
at oracle.oc4j.admin.deploy.spi.InternalDeployer.doDeploy(InternalDeployer.java:328)
at oracle.oc4j.admin.deploy.spi.InternalDeployer.theRun(InternalDeployer.java:274)
at oracle.oc4j.admin.deploy.spi.InternalRunner.run(InternalRunner.java:178)
at oracle.oc4j.admin.jmx.client.ThreadPool$ConfigurableThreadImpl.run(ThreadPool.java:305)
Caused by: oracle.oc4j.rmi.OracleRemoteException: Invocation error: oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: [Ljava.io.Serializable;
Dependent class: oracle.classloader.ClassLoaderQuery
Loader: sun.misc.Launcher$AppClassLoader@28980466
Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
Configuration: unknown
This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
; nested exception is:
oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: [Ljava.io.Serializable;
Dependent class: oracle.classloader.ClassLoaderQuery
Loader: sun.misc.Launcher$AppClassLoader@28980466
Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
Configuration: unknown
This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:150)
at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:590)
at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:532)
at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:26)
at __Proxy2.invoke(Unknown Source)
at oracle.oc4j.admin.jmx.client.MBeanServerEjbRemoteSynchronizer.invoke(MBeanServerEjbRemoteSynchronizer.java:104)
at oracle.oc4j.admin.management.mejb.MEjb.invoke(MEjb.java:606)
at oracle.oc4j.admin.deploy.spi.InternalDeployer.uploadFile(InternalDeployer.java:385)
at oracle.oc4j.admin.deploy.spi.InternalDeployer.doDeploy(InternalDeployer.java:299)
... 3 more
Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: [Ljava.io.Serializable;
Dependent class: oracle.classloader.ClassLoaderQuery
Loader: sun.misc.Launcher$AppClassLoader@28980466
Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
Configuration: unknown
This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2134)
at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1699)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1655)
at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1640)
at oracle.classloader.ClassLoaderQuery.loadClassFromUserDefinedOrMainLoader(ClassLoaderQuery.java:613)
at com.evermind.util.ClassUtils.findClass(ClassUtils.java:298)
at oracle.oc4j.rmi.MethodSpecification.getMethod(MethodSpecification.java:69)
at oracle.oc4j.rmi.ServerRmiMethodCache.readMethodSpecification(ServerRmiMethodCache.java:101)
at oracle.oc4j.rmi.ServerRmiMethodCache.getNewMethodSpec(ServerRmiMethodCache.java:70)
at oracle.oc4j.rmi.ServerRmiMethodCache.readMethod(ServerRmiMethodCache.java:44)
at com.evermind.server.rmi.ServerRmiMessageHandler.handleMethodInvocation(ServerRmiMessageHandler.java:591)
at com.evermind.server.rmi.ServerRmiMessageHandler.handleOrmiRequest(ServerRmiMessageHandler.java:339)
at com.evermind.server.rmi.ServerRmiMessageHandler.dispatchRequest(ServerRmiMessageHandler.java:302)
at com.evermind.server.rmi.RMIServerConnection.processReceivedCommand(RMIServerConnection.java:169)
at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:150)
at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:126)
at com.evermind.server.rmi.RMIServerConnection.listenForOrmiCommands(RMIServerConnection.java:235)
at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:105)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
at com.evermind.server.rmi.RMICall.warningExceptionOriginatesFromTheRemoteServer(RMICall.java:112)
at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:136)
... 13 more
oracle.oc4j.rmi.OracleRemoteException: Invocation error: oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: [Ljava.io.Serializable;
Dependent class: oracle.classloader.ClassLoaderQuery
Loader: sun.misc.Launcher$AppClassLoader@28980466
Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
Configuration: unknown
This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:150)
at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:590)
at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:532)
at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:26)
at __Proxy2.invoke(Unknown Source)
at oracle.oc4j.admin.jmx.client.MBeanServerEjbRemoteSynchronizer.invoke(MBeanServerEjbRemoteSynchronizer.java:104)
at oracle.oc4j.admin.management.mejb.MEjb.invoke(MEjb.java:606)
at oracle.oc4j.admin.deploy.spi.InternalDeployer.uploadFile(InternalDeployer.java:385)
at oracle.oc4j.admin.deploy.spi.InternalDeployer.doDeploy(InternalDeployer.java:299)
at oracle.oc4j.admin.deploy.spi.InternalDeployer.theRun(InternalDeployer.java:274)
at oracle.oc4j.admin.deploy.spi.InternalRunner.run(InternalRunner.java:178)
at oracle.oc4j.admin.jmx.client.ThreadPool$ConfigurableThreadImpl.run(ThreadPool.java:305)
Nested exception is:
oracle.classloader.util.AnnotatedClassNotFoundException:
Missing class: [Ljava.io.Serializable;
Dependent class: oracle.classloader.ClassLoaderQuery
Loader: sun.misc.Launcher$AppClassLoader@28980466
Code-Source: /C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar
Configuration: unknown
This load was initiated at oc4j:11.1.1.0.0 using the loadClass() method.
at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2124) [C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@28980466]
at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1699) [C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@28980466]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1655) [C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@28980466]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1640) [C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@28980466]
at oracle.classloader.ClassLoaderQuery.loadClassFromUserDefinedOrMainLoader (ClassLoaderQuery.java:613) [C:/jdevstudio1111_tp3/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@28980466]
at com.evermind.util.ClassUtils.findClass (ClassUtils.java:298) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
at oracle.oc4j.rmi.MethodSpecification.getMethod (MethodSpecification.java:69) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
at oracle.oc4j.rmi.ServerRmiMethodCache.readMethodSpecification (ServerRmiMethodCache.java:101) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
at oracle.oc4j.rmi.ServerRmiMethodCache.getNewMethodSpec (ServerRmiMethodCache.java:70) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
at oracle.oc4j.rmi.ServerRmiMethodCache.readMethod (ServerRmiMethodCache.java:44) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
at com.evermind.server.rmi.ServerRmiMessageHandler.handleMethodInvocation (ServerRmiMessageHandler.java:591) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
at com.evermind.server.rmi.ServerRmiMessageHandler.handleOrmiRequest (ServerRmiMessageHandler.java:339) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
at com.evermind.server.rmi.ServerRmiMessageHandler.dispatchRequest (ServerRmiMessageHandler.java:302) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
at com.evermind.server.rmi.RMIServerConnection.processReceivedCommand (RMIServerConnection.java:169) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
at com.evermind.server.rmi.RMIConnection.handleCommand (RMIConnection.java:150) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands (RMIConnection.java:126) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
at com.evermind.server.rmi.RMIServerConnection.listenForOrmiCommands (RMIServerConnection.java:235) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
at com.evermind.server.rmi.RMIConnection.run (RMIConnection.java:105) [C:/jdevstudio1111_tp3/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\jdevstudio1111_tp3\j2ee\home\oc4j.jar), by oc4j:11.1.1.0.0]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask (ThreadPoolExecutor.java:885) [jre bootstrap, by jre.bootstrap:1.6.0_04]
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:907) [jre bootstrap, by jre.bootstrap:1.6.0_04]
at java.lang.Thread.run (Thread.java:619) [jre bootstrap, by jre.bootstrap:1.6.0_04]
#### Deployment incomplete. #### Jan 28, 2008 5:08:47 PM
Deployment Failed
Can anyone help me, am I doing something wrong?
Thanks,
PedjaRunning into the same issues; been juggling between JDK 5/6, Embedded and Standalone OC4J on various platforms; still no answer...
Here's what I do know:
OC4J on TN is for TP1 only, JDeveloper is for TP3 or later, so you must use the bundled OC4J with JDeveloper cross platform as well - including all patches like SOA and friends.
JDK 6u4 is very bad; use anything but that; u5 seems good.
A good start might be to go with the Emedded OC4J, take a look at the classpath and startup commands given by the IDE for the server in the logs and simply match with some bat file if you can - from the looks of it the Standalone OC4J is behind thus the reason it's only released for TP1.
I'm not bothering with this till they pair a release with a Standalone OC4J. -
Unable to connect to standalone oc4j 10.1.3 DP4 with JDeveloper 10.1.3
Hi all,
I'm having problems to establish a connection to standalone oc4j 10.1.3 DP4 in JDeveloper 10.1.3 studio release.
I'm using the default settings for my OC4J installation and I tested it with http://localhost:8888.
I also set the host in the configuration panel to localhost and left the url-path empty as default.
The username/password combination I filled in is correct.
I'm getting the following error when I ty to test te connection in Jdeveloper:
Error while getting remote MBeanServer for url: ormi://localhost:23791/default:
Error reading application-client descriptor: Error communicating with server: <no message>oracle.oc4j.security.KeyExchange.createKeyAgreement(KeyExchange.java:210)
oracle.oc4j.security.KeyExchange.getKeyAgreement(KeyExchange.java:195)
oracle.oc4j.security.KeyExchange.getSecretKey(KeyExchange.java:132)
oracle.oc4j.security.ExchangingEncryptor.getEncryptedValue(ExchangingEncryptor.java:150)
com.evermind.server.rmi.RMIProtocol$SecureCredentials.send(RMIProtocol.java:246)
com.evermind.server.rmi.RMIProtocol.sendCredentials(RMIProtocol.java:95)
oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:91)
oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:600)
com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:130)
com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:249)
com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:50)
oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:86)
oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:108)
oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:60)
oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:498)
com.oracle.naming.J2EEContext.create(J2EEContext.java:84)
oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:82)
oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:75)
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
javax.naming.InitialContext.init(InitialContext.java:223)
javax.naming.InitialContext.<init>(InitialContext.java:197)
oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:460)
oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:155)
oracle.oc4j.admin.management.mejb.MEjb.<init>(MEjb.java:116)
oracle.oc4j.admin.management.mejb.MEjb.getMBeanServer(MEjb.java:157)
oracle.oc4j.admin.management.mejb.MEjbFactory.getManagement(MEjbFactory.java:54)
oracle.oc4j.admin.deploy.spi.ConnectedDeploymentManagerBase.<init>(ConnectedDeploymentManagerBase.java:215)
oracle.oc4j.admin.deploy.spi.Oc4jDeploymentManager.<init>(Oc4jDeploymentManager.java:68)
oracle.oc4j.admin.deploy.spi.factories.Oc4jDeploymentFactory.getDeploymentManager(Oc4jDeploymentFactory.java:130)
oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getDeploymentManager(J2EEConnectionWrapper.java:182)
oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.testPresentation(J2EEConnectionWrapper.java:111)
oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI.testConnectionImpl(TestConnectionPanelUI.java:202)
oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI$1.doWork(TestConnectionPanelUI.java:158)
oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
java.lang.Thread.run(Thread.java:595)
caused by: Incompatible parameters; nested exception is:
javax.naming.CommunicationException: <no message>oracle.oc4j.security.KeyExchange.createKeyAgreement(KeyExchange.java:210)
oracle.oc4j.security.KeyExchange.getKeyAgreement(KeyExchange.java:195)
oracle.oc4j.security.KeyExchange.getSecretKey(KeyExchange.java:132)
oracle.oc4j.security.ExchangingEncryptor.getEncryptedValue(ExchangingEncryptor.java:150)
com.evermind.server.rmi.RMIProtocol$SecureCredentials.send(RMIProtocol.java:246)
com.evermind.server.rmi.RMIProtocol.sendCredentials(RMIProtocol.java:95)
oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:91)
oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:600)
com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:130)
com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:249)
com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:50)
oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:86)
oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:108)
oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:60)
oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:498)
com.oracle.naming.J2EEContext.create(J2EEContext.java:84)
oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:82)
oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:75)
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
javax.naming.InitialContext.init(InitialContext.java:223)
javax.naming.InitialContext.<init>(InitialContext.java:197)
oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:460)
oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:155)
oracle.oc4j.admin.management.mejb.MEjb.<init>(MEjb.java:116)
oracle.oc4j.admin.management.mejb.MEjb.getMBeanServer(MEjb.java:157)
oracle.oc4j.admin.management.mejb.MEjbFactory.getManagement(MEjbFactory.java:54)
oracle.oc4j.admin.deploy.spi.ConnectedDeploymentManagerBase.<init>(ConnectedDeploymentManagerBase.java:215)
oracle.oc4j.admin.deploy.spi.Oc4jDeploymentManager.<init>(Oc4jDeploymentManager.java:68)
oracle.oc4j.admin.deploy.spi.factories.Oc4jDeploymentFactory.getDeploymentManager(Oc4jDeploymentFactory.java:130)
oracle.jdevimpl.cm.dt.J2EEConnectionWrapper._getDeploymentManager(J2EEConnectionWrapper.java:182)
oracle.jdevimpl.cm.dt.J2EEConnectionWrapper.testPresentation(J2EEConnectionWrapper.java:111)
oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI.testConnectionImpl(TestConnectionPanelUI.java:202)
oracle.jdeveloper.cm.dt.wizard.TestConnectionPanelUI$1.doWork(TestConnectionPanelUI.java:158)
oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
java.lang.Thread.run(Thread.java:595)
caused by: Incompatible parameters [Root exception is oracle.oc4j.security.KeyExchange$KeyExchangeException]
Can anyone help me with this problem??
Thanks in advance.
-TomOk, I have installed the production release. But when I login to the application console I'm getting the following error:
This OC4J is configured to make JMX connections via RMIS and fall back to RMI if the RMIS port is not configured. The RMIS connection on the OC4J instance null on Application Server null is configured but a connection could not be established. The JMX protocol is specified by the oracle.oc4j.jmx.internal.connection.protocol property in opmn.xml
Probably I have to configure more things here. Do you now what, before I delve into the manuals myself..;) -
Error deploying to standalone OC4J app server
Hey all,
I created a web app with jdeveloper 10.1.3.3 using OC4J 10.1.3.3 as well. I'm using EJB and session beans to communicate with a database. nothing particularly fancy about it, i just read tables from the db. however, when i try and deploy through jdev to the standalone OC4J i get an error. here's the last part of the deployment log when it fails:
Deployment Log:
Binding ibmswauth web-module for application ibmswauth to site default-web-site under context root ibmswauth
Operation failed with error:
[ibmswauth:ibmswauth] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.essentials.PersistenceProvider for persistence unit WD_WORK.
The only thing in my Persistence.xml file is the <persistence-unit> tag with name "WD_WORK", and in that a <jta-data-source> tag.
Also, it runs fine on the local embedded server, it's only when i try and deploy that it gives this error. I even deployed my app to an EAR file and tried uploading it manually to the app server, still same error.
any ideas?If you have a model project that has objects referenced by the view controller/UI project then you need to explicitly include them in the deployment. Unlike in embedded OC4J they wont be automatically included.
Create an ADF library deployment profile in the model project and include the generated library in your UI project war file. You can add this jar to the project Libraries/Classpath then make sure it is included in the WEB-INF/lib Contributors list. -
JDev 10g : deploy to standalone OC4J
hi
(using JDeveloper 10g Preview, build 1375)
I have been trying to deploy an application to a standalone OC4J, based on the JDeveloper help topics:
- "Deploying ADF Business Components Web Applications to Oracle Application Server or Standalone OC4J"
- "About ADF Business Components Deployment Prerequisites for OC4J and Oracle Application Server Deployment"
After that I got:
java.lang.NoClassDefFoundError: oracle/jbo/uicli/graph/JUSingleTableGraphDefThis class is in adfm.jar, which is part of the "ADF Model Runtime" library, which I configured to be deployed in my EAR file. I checked the files for my application in my standalone OC4J and adfm.jar was there. Even after restarting the OC4J, the class NoClassDefFoundError persisted.
(Oh, by the way, I wouldn't know where I am using the class JUSingleTableGraphDef in my application. At least non of my classes was in the stack trace.)
What should be my next step?
tnx
-Janhi
I'm not sure if this is related to what I have found in readme.html that is part of JDeveloper 10g preview:
--8<----------
Oracle Application Development Framework Issues
Struts Application Standalone is not Automatic (2996626)
Running a struts application in standalone OC4J results in NoClassDefFound exception
The workaround is to check the library in the deployment profile.
--8<----------If it is related, the workaround doesn't seem to apply because adfm.jar has been deployed with the application.
Any suggestions (from Oracle)?
Has anyone been able to deploy an ADF Business Components based application to a standalone OC4J?
tnx
-Jan -
Standalone OC4J can't compile JSPs?
I've been following this tutorial: http://www.eclipse.org/webtools/community/tutorials/OracleServerAdapter/OracleServerAdapter.html
in order to get my Eclipse working with my 10.1.3 standalone OC4J server.
However, every time I try to run the index.jsp page, I get the following error:
J2EE JSP0008 Unable to dispatch JSP Page : Exception:oracle.jsp.provider.JspCompileException: <H3>Errors compiling:C:\ORACLE\oc4j\j2ee\home\application-deployments\DemoOC4J\DemoOC4J\persistence\_pages\\_index.java</H3><pre></pre>
I imagine that there's some sort of java path error of some sort but I can't seem to figure out what it would be. I have my JAVA_HOME set to my JDK 1.5 . ( \jdk1.5.0_11 ). Any ideas or pointers as to what I need to do to get this thing going?
ThanksAfter digging for days, I found this thread:
OC4J Preview - JSP not problem
Turns out that Eclipse set it's Java library defaults to the JRE directory and not the JDK. After changing it to the JDK, I've got JSP compilation success! -
I have deployed my app to the standalone OC4J instance installed in Jdeveloper 9.0.3. I have done java -jar oc4j.jar -install and set my password. The deployment went without fail.
I can enter http://<name>:8888 and I get the OC4J instance welcome page.
When I enter http://<name>:8888/<app_dir>/<app_name).jsp
I get a "Page cannot be displayed" and this is my application.log:
5/13/03 12:42 PM Started
5/13/03 12:42 PM Started
5/13/03 12:42 PM cydcorweb: jsp: init
5/13/03 12:42 PM cydcorweb: 9.0.3.0.0 Started
5/13/03 12:43 PM cydcorweb: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException: Line # 2, <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %>
Error: java.lang.ClassNotFoundException: oracle.cabo.ui.jsps.tags.RenderingContextTEI
What does this mean?
BTW, I have done this exact deployment procedure on my laptop and the app runs there.
TIA,
Ed.Never mind. I de-installed 9.0.3.1 and re-installed it and now the app runs fine. I must have messed up something in my preivous config.
-
Deploy standalone OC4J problem
I'm pretty new Jdeveloper So Please help me.
I'm very strange about my deploy.
I downloaded OC4J in c:/Oc4J, and I did ADF Runtime Installer for Standalone OC4J.
I can deploy my local host sucessfully.
So now I tyied to deploy to our compuany server.
I created application server, I put company's hostname at hostname when I created application server.
And I tried to deploy my application to the application server.
I got error.
This is very strange for me.
I downloaded OC4J at C:\OC4J_home, and I put OC4J_HOME for Oc4J root directory.
But this is working with D drive like below whenere I try to deploy my application.
What should I do?
Can I change this directory?
---- Deployment started. ---- Dec 11, 2006 11:43:08 AM
Target platform is Standalone OC4J 10g 10.1.3 (dev).
Running dependency analysis...
Wrote JAR file to C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\mywork\customerMain1204\Model\deploy\ModelArchive.jar
Wrote WAR file to C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\mywork\customerMain1204\ViewController\deploy\CustomerMaintenance.war
Wrote EAR file to C:\Documents and Settings\train2.SDC\Desktop\jdevstudio10131\jdev\mywork\customerMain1204\ViewController\deploy\CustomerMaintenance.ear
Uploading file CustomerMaintenance.ear ...
Uploading file CustomerMaintenance.ear ...
Uploading file CustomerMaintenance.ear ...
Uploading file CustomerMaintenance.ear ...
Uploading file CustomerMaintenance.ear ...
Uploading file CustomerMaintenance.ear ...
Uploading file CustomerMaintenance.ear ...
Uploading file CustomerMaintenance.ear ...
Application Deployer for CustomerMaintenance STARTS.
Copy the archive to D:\oc4j\j2ee\home\applications\CustomerMaintenance.ear
Initialize D:\oc4j\j2ee\home\applications\CustomerMaintenance.ear begins...
Unpacking CustomerMaintenance.ear
Done unpacking CustomerMaintenance.ear
Unpacking CustomerMaintenance.war
Done unpacking CustomerMaintenance.war
Initialize D:\oc4j\j2ee\home\applications\CustomerMaintenance.ear ends...
Starting application : CustomerMaintenance
Initializing ClassLoader(s)
Initializing EJB container
Loading connector(s)
Starting up resource adapters
Initializing EJB sessions
Committing ClassLoader(s)
Initialize CustomerMaintenance begins...
Initialize CustomerMaintenance ends...
Started application : CustomerMaintenance
Binding web application(s) to site default-web-site begins...
Binding CustomerMaintenance web-module for application CustomerMaintenance to site default-web-site under context root customerMain
Exception: NoClassDefFoundError: oracle/jbo/JboException
Operation failed with error:
oracle/jbo/JboException
Deployment failed
Elapsed time for deployment: 1 minute, 18 seconds
#### Deployment incomplete. #### Dec 11, 2006 11:44:24 AMS,
Yes, causes a bit of a problem, the fact that all Oracle products tend to rely on the ORACLE_HOME environment variable.
In any case, this issue has been discussed previously in this forum. I suggest you search the forum archives for "ORACLE_HOME".
Good Luck,
Avi.
Maybe you are looking for
-
How to add author's name to existing entry in Adobe Digital Editions
I have several books listed as Author: Unknown in my Adobe Digital Editions. After removing these titles from Digital Edition's library, I have added the authors names to a file with these books, and then added them into Digital Editions, but it sti
-
Text disappearing and reappearing InDesign CC
Hi there, this being my 1st post please excuse any errors in eticate... I have an issue within InDesign CC when editing text in text boxes. Intermitently it seems that when highlighting text it seems to dissapear before oyu can edit it, BUT it is in
-
How do I view all of my line's messages and calls showing dates and times? I did it once but can't remember how to get to the screen again.
-
Options for Seagate Backup Plus for Mac/Windows
I have a new Mac-mini (my first Mac since my original Mac 128), and just got a 3TB Seagate Backup Plus. It's so new, I haven't even read up on Time Macine though I assume that's the way to go. I originally had in mind partitioning the Seagate with o
-
BTF Editor: Capturing Data
I have a BSP application with a BTF Editor in it. Now, i have to get the data from BTF Editor in order to save it. I am not able to do it. Please help. <u>Here is the code i used in Input processing</u> data: s_docdata type BTFDOCUMENTDATA. data: