Problem whith JDeveloper 11g to startup EJB Client
When i Run the EJBBean display this error message:
1/02/2008 10:03:54 AM oracle.j2ee.xml.XMLMessages warningException
ADVERTENCIA: Exception Encountered
1/02/2008 10:03:55 AM oracle.oc4j.util.SystemLog log
GRAVE: Server start failed processing configuration
java.security.AccessControlException: access denied ( CredentialAccessPermission credstoressp.credstore.default.systemuser read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:256)
at oracle.security.jps.util.JpsAuth$Diagnostic.checkPermission(JpsAuth.java:180)
at oracle.security.jps.util.JpsAuth$AuthorizationMechanism$6.checkPermission(JpsAuth.java:280)
at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:315)
at oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:338)
at oracle.security.jps.internal.credstore.util.CsfUtil.checkPermission(CsfUtil.java:527)
at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.getCredential(SspCredentialStore.java:412)
at oracle.security.jps.fmw.util.JpsFmwUtil.findSystemUser(JpsFmwUtil.java:218)
at oracle.security.jps.fmw.JpsUserManager.init(JpsUserManager.java:235)
at oracle.security.jps.fmw.JpsUserManager.<init>(JpsUserManager.java:247)
at oracle.security.jps.fmw.JpsUserManagerFactory$JpsUserManagerFactoryI.create(JpsUserManagerFactory.java:252)
at com.evermind.server.deployment.UserManagerConfig$JAZN.construct(UserManagerConfig.java:635)
at com.evermind.server.deployment.UserManagerConfig.delegatee(UserManagerConfig.java:253)
at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
at com.evermind.security.IndirectUserManager.getAdminUser(IndirectUserManager.java:126)
at com.evermind.server.XMLApplicationServerConfig.setPassword(XMLApplicationServerConfig.java:3157)
at com.evermind.server.XMLApplicationServerConfig.<init>(XMLApplicationServerConfig.java:244)
at com.evermind.server.ApplicationServer.createConfig(ApplicationServer.java:648)
at oracle.oc4j.server.ServerFactory$Worker.prepareConfig(ApplicationServerFactory.java:201)
at oracle.oc4j.server.ServerFactory$Worker.start(ApplicationServerFactory.java:220)
at oracle.oc4j.server.ServerFactory$Worker.run(ApplicationServerFactory.java:235)
at java.lang.Thread.run(Thread.java:595)
1/02/2008 10:03:55 AM oracle.oc4j.util.SystemLog logNoStack
GRAVE: Server exiting: ApplicationServer entered state FAILED_IN_CONFIG
Process exited with exit code 1.
when i Run the EJBClient:
"C:\Archivos de programa\JDeveloper 11g\jdk\bin\javaw.exe" -client -classpath "C:\HR_EJB_JPA_App\.adf;C:\HR_EJB_JPA_App\EJBModel\classes;C:\Archivos de programa\JDeveloper 11g\lib\java\shared\oracle.toplink\11.1.1.0.0\toplink-core.jar;C:\Archivos de programa\JDeveloper 11g\lib\java\shared\oracle.toplink.ojdbc\11.1.1.0.0\toplink-ojdbc.jar;C:\Archivos de programa\JDeveloper 11g\lib\java\internal\toplink-oc4j.jar;C:\Archivos de programa\JDeveloper 11g\lib\java\internal\toplink-agent.jar;C:\Archivos de programa\JDeveloper 11g\lib\java\shared\oracle.toplink\11.1.1.0.0\antlr.jar;C:\Archivos de programa\JDeveloper 11g\j2ee\home\lib\persistence.jar;C:\Archivos de programa\JDeveloper 11g\lib\xmlparserv2.jar;C:\Archivos de programa\JDeveloper 11g\lib\xml.jar;C:\Archivos de programa\JDeveloper 11g\j2ee\home\lib\ejb.jar;C:\Documents and Settings\damacelo\Datos de programa\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\.client;C:\Archivos de programa\JDeveloper 11g\j2ee\home\oc4j.jar;C:\Archivos de programa\JDeveloper 11g\j2ee\home\oc4jclient.jar;C:\Archivos de programa\JDeveloper 11g\j2ee\home\lib\oc4j-internal.jar;C:\Archivos de programa\JDeveloper 11g\opmn\lib\optic.jar" -Dhttp.proxyHost=10.2.0.1 -Dhttp.proxyPort=3128 -Dhttp.nonProxyHosts=10.2.2.117|127.0.0.1|*.10.2.*|*.dinamotos.com|www.etesa.com|*.intranet|*.dinamo|*.etesa -Dhttps.proxyHost=10.2.0.1 -Dhttps.proxyPort=3128 -Dhttps.nonProxyHosts=10.2.2.117|127.0.0.1|*.10.2.*|*.dinamotos.com|www.etesa.com|*.intranet|*.dinamo|*.etesa oracle.SessionEJBClient
javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:313)
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:64)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at oracle.SessionEJBClient.main(SessionEJBClient.java:13)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:208)
at com.evermind.server.rmi.RMIClientConnection.createSocket(RMIClientConnection.java:756)
at oracle.oc4j.rmi.ClientSocketRmiTransport.createNetworkConnection(ClientSocketRmiTransport.java:60)
at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:95)
at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:70)
at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:720)
at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:252)
at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:235)
at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:302)
... 3 more
Process exited with exit code 0.
Anybody can help Me???
Thanks.
I JCRuiz
the error now is:
[TopLink/JPA Client] Adding Java options: -javaagent:C:\JDeveloper11g\lib\java\internal\toplink-agent.jar
C:\JDeveloper11g\jdk\bin\javaw.exe -client -classpath "C:\MiPrimeraAplicacion\.adf;C:\MiPrimeraAplicacion\ModeloEJB\classes;C:\JDeveloper11g\lib\java\shared\oracle.toplink\11.1.1.0.0\toplink-core.jar;C:\JDeveloper11g\lib\java\shared\oracle.toplink.ojdbc\11.1.1.0.0\toplink-ojdbc.jar;C:\JDeveloper11g\lib\java\internal\toplink-oc4j.jar;C:\JDeveloper11g\lib\java\internal\toplink-agent.jar;C:\JDeveloper11g\lib\java\shared\oracle.toplink\11.1.1.0.0\antlr.jar;C:\JDeveloper11g\j2ee\home\lib\persistence.jar;C:\JDeveloper11g\lib\xmlparserv2.jar;C:\JDeveloper11g\lib\xml.jar;C:\JDeveloper11g\j2ee\home\lib\ejb.jar;C:\Documents and Settings\damacelo\Datos de programa\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\.client;C:\JDeveloper11g\j2ee\home\oc4j.jar;C:\JDeveloper11g\j2ee\home\oc4jclient.jar;C:\JDeveloper11g\j2ee\home\lib\oc4j-internal.jar;C:\JDeveloper11g\opmn\lib\optic.jar;C:\JDeveloper11g\jlib\trinidad-api.jar;C:\JDeveloper11g\jlib\trinidad-impl.jar;C:\JDeveloper11g\lib\java\shared\oracle.jsf\1.2\jsf-api.jar;C:\JDeveloper11g\lib\java\shared\oracle.jsf\1.2\jsf-ri.jar;C:\JDeveloper11g\lib\java\shared\oracle.jsf\1.2\sun-commons-beanutils.jar;C:\JDeveloper11g\lib\java\shared\oracle.jsf\1.2\sun-commons-collections.jar;C:\JDeveloper11g\lib\java\shared\oracle.jsf\1.2\sun-commons-digester.jar;C:\JDeveloper11g\lib\java\shared\oracle.jsf\1.2\sun-commons-logging.jar;C:\JDeveloper11g\lib\java\shared\oracle.jstl\1.2\jstl-api-1_2.jar;C:\JDeveloper11g\jlib\adf-richclient-api-11.jar;C:\JDeveloper11g\jlib\adf-richclient-impl-11.jar;C:\JDeveloper11g\BC4J\lib\adf-share-support.jar;C:\JDeveloper11g\BC4J\lib\adf-share-ca.jar;C:\JDeveloper11g\BC4J\lib\adf-share-base.jar;C:\JDeveloper11g\jlib\identitystore.jar;C:\JDeveloper11g\lib\java\api\jaxb-api.jar;C:\JDeveloper11g\lib\java\api\jsr173_api.jar;C:\JDeveloper11g\j2ee\home\lib\activation.jar;C:\JDeveloper11g\lib\java\shared\sun.jaxb\2.0\jaxb-xjc.jar;C:\JDeveloper11g\lib\java\shared\sun.jaxb\2.0\jaxb-impl.jar;C:\JDeveloper11g\lib\java\shared\sun.jaxb\2.0\jaxb1-impl.jar;C:\JDeveloper11g\webcenter\jlib\relationship-service-taglib.jar;C:\JDeveloper11g\adfp\lib\pageeditor.jar;C:\JDeveloper11g\adfp\lib\pageeditor-ext-taskflow.jar;C:\JDeveloper11g\adfp\lib\pageeditor-ext-portlet.jar;C:\JDeveloper11g\adfdt\lib\adf-transactions-dt.jar;C:\JDeveloper11g\adfdt\lib\adf-dt-at-rt.jar;C:\JDeveloper11g\adfc\lib\adf-pageflow-dtrt.jar;C:\JDeveloper11g\adfdt\lib\adf-faces-databinding-dt-core.jar;C:\JDeveloper11g\adfdt\lib\adf-view-databinding-dt-core.jar;C:\JDeveloper11g\jdev\lib\velocity-dep-1.3.jar;C:\JDeveloper11g\jlib\adf-faces-databinding-rt.jar;C:\JDeveloper11g\BC4J\lib\adfm.jar;C:\JDeveloper11g\BC4J\jlib\adfui.jar;C:\JDeveloper11g\BC4J\lib\groovy-all-1.0.jar;C:\JDeveloper11g\jlib\ojmisc.jar;C:\JDeveloper11g\jlib\commons-el.jar;C:\JDeveloper11g\jlib\jsp-el-api.jar;C:\JDeveloper11g\jlib\oracle-el.jar;C:\JDeveloper11g\BC4J\lib\adfshare.jar;C:\JDeveloper11g\adfdt\lib\adfdt_common.jar;C:\JDeveloper11g\BC4J\lib\db-ca.jar;C:\JDeveloper11g\jlib\jdev-cm.jar;C:\JDeveloper11g\j2ee\home\lib\ojsp.jar;C:\JDeveloper11g\j2ee\home\lib\servlet.jar;C:\JDeveloper11g\j2ee\home\lib\el-ri.jar;C:\JDeveloper11g\jdev\lib\ojc.jar;C:\JDeveloper11g\mds\lib\mdsrt.jar;C:\JDeveloper11g\adfrc\lib\rcsrt.jar;C:\JDeveloper11g\adfrc\lib\jr_dav.jar;C:\JDeveloper11g\adfrc\lib\rcv.jar;C:\JDeveloper11g\adfp\lib\custComps.jar;C:\JDeveloper11g\adfp\lib\portlet-client-adf.jar;C:\JDeveloper11g\adfp\lib\portlet-client-rc.jar;C:\JDeveloper11g\adfp\lib\adfp-portletdt-share.jar;C:\JDeveloper11g\adfp\lib\portlet-client-core.jar;C:\JDeveloper11g\adfp\lib\portlet-client-mds.jar;C:\JDeveloper11g\adfp\lib\portlet-client-web.jar;C:\JDeveloper11g\adfp\lib\portlet-client-wsrp.jar;C:\JDeveloper11g\adfp\lib\tidy.jar;C:\JDeveloper11g\adfp\lib\wce.jar;C:\JDeveloper11g\adfp\lib\wsrp-types.jar;C:\JDeveloper11g\adfp\lib\wsrp-jaxb.jar;C:\JDeveloper11g\adfp\lib\namespace.jar;C:\JDeveloper11g\jlib\adf-faces-changemanager-rt.jar;C:\JDeveloper11g\jlib\facesconfigmodel.jar;C:\JDeveloper11g\jlib\taglib.jar;C:\JDeveloper11g\jlib\jdev-el.jar;C:\JDeveloper11g\jlib\xmlef.jar;C:\JDeveloper11g\jdbc\lib\ojdbc5dms.jar;C:\JDeveloper11g\jlib\commons-cli-1.0.jar;C:\JDeveloper11g\jlib\share.jar;C:\JDeveloper11g\jlib\dms.jar;C:\JDeveloper11g\j2ee\home\lib\oc4j-unsupported-api.jar;C:\JDeveloper11g\rdbms\jlib\xdb.jar;C:\JDeveloper11g\lib\java\api\cache.jar;C:\JDeveloper11g\jlib\ojdl.jar;C:\JDeveloper11g\j2ee\home\lib\pcl.jar;C:\JDeveloper11g\ucp\lib\ucp.jar;C:\JDeveloper11g\lib\java\shared\oracle.javatools\11.1.1.0.0\dafrt.jar;C:\JDeveloper11g\lib\java\shared\oracle.javatools\11.1.1.0.0\javatools-nodeps.jar;C:\JDeveloper11g\adfp\lib\custComps-skin.jar;C:\JDeveloper11g\j2ee\home\lib\jms.jar;C:\JDeveloper11g\rdbms\jlib\aqapi.jar;C:\JDeveloper11g\j2ee\home\lib\jta.jar;C:\JDeveloper11g\webcenter\jlib\tagging-taglib.jar;C:\JDeveloper11g\BC4J\lib\adfmweb.jar;C:\JDeveloper11g\jakarta-taglibs\commons-beanutils-1.6.1\commons-beanutils.jar;C:\JDeveloper11g\jakarta-taglibs\commons-logging-1.0.3\commons-logging.jar;C:\JDeveloper11g\jakarta-taglibs\commons-collections-2.1\commons-collections.jar;C:\JDeveloper11g\jakarta-struts\lib\antlr.jar;C:\JDeveloper11g\jakarta-struts\lib\commons-beanutils.jar;C:\JDeveloper11g\jakarta-struts\lib\commons-collections.jar;C:\JDeveloper11g\jakarta-struts\lib\commons-digester.jar;C:\JDeveloper11g\jakarta-struts\lib\commons-fileupload.jar;C:\JDeveloper11g\jakarta-struts\lib\commons-logging.jar;C:\JDeveloper11g\jakarta-struts\lib\commons-validator.jar;C:\JDeveloper11g\jakarta-struts\lib\jakarta-oro.jar;C:\JDeveloper11g\jakarta-struts\lib\struts.jar;C:\JDeveloper11g\webcenter\jlib\command-api.jar;C:\JDeveloper11g\webcenter\jlib\command-spi.jar;C:\JDeveloper11g\webcenter\jlib\generalsettings-model.jar;C:\JDeveloper11g\webcenter\jlib\lifecycle-asctl.jar;C:\JDeveloper11g\webcenter\jlib\lifecycle-client.jar;C:\JDeveloper11g\webcenter\jlib\lifecycle-model.jar;C:\JDeveloper11g\webcenter\jlib\lifecycle-service.jar;C:\JDeveloper11g\webcenter\jlib\lock-service-model.jar;C:\JDeveloper11g\webcenter\jlib\search-api.jar;C:\JDeveloper11g\webcenter\jlib\search-adapter.jar;C:\JDeveloper11g\webcenter\jlib\search-model.jar;C:\JDeveloper11g\webcenter\jlib\search_client.jar;C:\JDeveloper11g\webcenter\jlib\scope-service-model.jar;C:\JDeveloper11g\webcenter\jlib\security-extension.jar;C:\JDeveloper11g\webcenter\jlib\serviceframework.jar;C:\JDeveloper11g\webcenter\jlib\wc-concurrent.jar;C:\JDeveloper11g\BC4J\lib\adfsharembean.jar;C:\JDeveloper11g\j2ee\home\lib\xmlparserv2.jar;C:\JDeveloper11g\webservices\lib\saaj-api.jar;C:\JDeveloper11g\webservices\lib\orasaaj.jar;C:\JDeveloper11g\j2ee\home\lib\http_client.jar;C:\JDeveloper11g\webcenter\jlib\service-framework-taglib.jar;C:\JDeveloper11g\webcenter\jlib\serviceframework-view.jar;C:\JDeveloper11g\webcenter\jlib\rtc-api.jar;C:\JDeveloper11g\webcenter\jlib\rtc-model.jar;C:\JDeveloper11g\webcenter\jlib\rtc-skin.jar;C:\JDeveloper11g\webcenter\jlib\rtc-adapters-lcs.jar;C:\JDeveloper11g\webcenter\jlib\rtc-lcs-wsclient.jar;C:\JDeveloper11g\webcenter\jlib\log4j-1.2.8.jar;C:\JDeveloper11g\webcenter\jlib\rtc-taglib.jar;C:\JDeveloper11g\webcenter\jlib\rtc-view.jar;C:\JDeveloper11g\webcenter\jlib\rtc-adapters-ocms.jar;C:\JDeveloper11g\webcenter\jlib\buddylistmanager-4.2.0-393.jar;C:\JDeveloper11g\webcenter\jlib\buddylistmanagerimpl-4.2.0-393.jar;C:\JDeveloper11g\webcenter\jlib\presencerules-4.2.0-393.jar;C:\JDeveloper11g\webcenter\jlib\parlayxcommon-4.2.0-393.jar;C:\JDeveloper11g\webcenter\jlib\parlayxwsstubs-4.2.0-393.jar;C:\JDeveloper11g\webcenter\jlib\resourcelist-4.2.0-393.jar;C:\JDeveloper11g\webcenter\jlib\xdmc-4.2.0-393.jar;C:\JDeveloper11g\webcenter\jlib\xdmcimpl-4.2.0-393.jar;C:\JDeveloper11g\webcenter\jlib\commons-httpclient.jar;C:\JDeveloper11g\webcenter\jlib\commons-codec-1.3.jar;C:\JDeveloper11g\webcenter\jlib\collab-share.jar;C:\JDeveloper11g\adfdi\lib\adf-desktop-integration.jar;C:\JDeveloper11g\webservices\lib\wsclient.jar" -javaagent:C:\JDeveloper11g\lib\java\internal\toplink-agent.jar -Dhttp.proxyHost=10.2.0.1 -Dhttp.proxyPort=3128 -Dhttp.nonProxyHosts=10.2.2.117|127.0.0.1|*.10.2.*|*.dinamotos.com|www.etesa.com|*.intranet|*.dinamo|*.etesa -Dhttps.proxyHost=10.2.0.1 -Dhttps.proxyPort=3128 -Dhttps.nonProxyHosts=10.2.2.117|127.0.0.1|*.10.2.*|*.dinamotos.com|www.etesa.com|*.intranet|*.dinamo|*.etesa oracle.HRFacadeClient
java.lang.reflect.InvocationTargetException
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 sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:141)
Caused by: java.lang.reflect.InvocationTargetException
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 oracle.toplink.internal.ejb.cmp3.JavaSECMPInitializerAgent.initializeFromAgent(JavaSECMPInitializerAgent.java:34)
at oracle.toplink.internal.ejb.cmp3.JavaSECMPInitializerAgent.premain(JavaSECMPInitializerAgent.java:27)
... 5 more
Caused by: javax.persistence.PersistenceException: Exception [TOPLINK-28018] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.EntityManagerSetupException
Exception Description: Predeployment of PersistenceUnit [ModeloEJB] failed.
Internal Exception: Exception [TOPLINK-30007] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.PersistenceUnitLoadingException
Exception Description: An exception was thrown while loading class: modeloejb.Departments to check whether it implements @Entity, @Embeddable, or @MappedSuperclass.
Internal Exception: java.lang.ClassNotFoundException: modeloejb.Departments
at oracle.toplink.internal.ejb.cmp3.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:790)
at oracle.toplink.internal.ejb.cmp3.JavaSECMPInitializer.callPredeploy(JavaSECMPInitializer.java:119)
at oracle.toplink.internal.ejb.cmp3.JavaSECMPInitializer.initPersistenceUnits(JavaSECMPInitializer.java:187)
at oracle.toplink.internal.ejb.cmp3.JavaSECMPInitializer.initialize(JavaSECMPInitializer.java:202)
at oracle.toplink.internal.ejb.cmp3.JavaSECMPInitializer.initializeFromAgent(JavaSECMPInitializer.java:219)
... 11 more
Caused by: Exception [TOPLINK-28018] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.EntityManagerSetupException
Exception Description: Predeployment of PersistenceUnit [ModeloEJB] failed.
Internal Exception: Exception [TOPLINK-30007] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.PersistenceUnitLoadingException
Exception Description: An exception was thrown while loading class: modeloejb.Departments to check whether it implements @Entity, @Embeddable, or @MappedSuperclass.
Internal Exception: java.lang.ClassNotFoundException: modeloejb.Departments
at oracle.toplink.exceptions.EntityManagerSetupException.predeployFailed(EntityManagerSetupException.java:196)
... 16 more
Caused by: Exception [TOPLINK-30007] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.PersistenceUnitLoadingException
Exception Description: An exception was thrown while loading class: modeloejb.Departments to check whether it implements @Entity, @Embeddable, or @MappedSuperclass.
Internal Exception: java.lang.ClassNotFoundException: modeloejb.Departments
at oracle.toplink.exceptions.PersistenceUnitLoadingException.exceptionLoadingClassWhileLookingForAnnotations(PersistenceUnitLoadingException.java:126)
at oracle.toplink.internal.ejb.cmp3.persistence.PersistenceUnitProcessor.loadClass(PersistenceUnitProcessor.java:231)
at oracle.toplink.internal.ejb.cmp3.metadata.MetadataProcessor.processPersistenceUnitClasses(MetadataProcessor.java:423)
at oracle.toplink.internal.ejb.cmp3.metadata.MetadataProcessor.processPersistenceUnitClasses(MetadataProcessor.java:376)
at oracle.toplink.internal.ejb.cmp3.persistence.PersistenceUnitProcessor.processORMetadata(PersistenceUnitProcessor.java:258)
at oracle.toplink.internal.ejb.cmp3.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:747)
... 15 more
FATAL ERROR in native method: processing of -javaagent failed
Caused by: java.lang.ClassNotFoundException: modeloejb.Departments
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at oracle.toplink.internal.ejb.cmp3.JavaSECMPInitializer$TempEntityLoader.loadClass(JavaSECMPInitializer.java:355)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at oracle.toplink.internal.ejb.cmp3.persistence.PersistenceUnitProcessor.loadClass(PersistenceUnitProcessor.java:228)
... 19 more
Exception in thread "main" Process exited with exit code 1.
Similar Messages
-
JDeveloper 11g/ADF Faces Rich Client
Hello,
We are trying to decide between using JDeveloper 10.1.4 and JDeveloper 11g for developing a new application - we plan to use just the ADF Faces layer of the ADF Framework along with Spring and TopLink for other layers.
On one hand we think that is is safer to use 10.x version of ADF Faces as it may be more stable and on the other hand we are tempted to use 11g as it provides Ajax-enabled JSF Components.
Has anyone used ADF Faces Rich Client Framework for developing applications? Is it stable enought to be used for production-level applications?
I would love to hear your thoughts!Hi,
don't use 10.1.3.4 to develop a new application now unless you have browser constraints with your user-base.
ADF Faces RC / 11g requires:
FireFox 2, 3
Internet Explorer 7.0
Safari 3.0
11g is a significant update and they have vastly improved/redesigned a lot of things that were difficult/complex to do in earlier versions.
Plus the 11g user interface is way better from a users perspective.
Brenden -
Deployment problem in jdeveloper 11g
Hello,
i create a web application in ADF+JSF using jdevloper 11g, but i can't run any form in weblogic server , it gives follwing error,
oracle.jdeveloper.deploy.DeployException
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:247)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:157)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:436)
at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
at oracle.jdevimpl.runner.adrs.AdrsStarter$4$1.run(AdrsStarter.java:1316)
Caused by: oracle.jdeveloper.deploy.DeployException
at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:413)
at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.doDeploymentAction(Jsr88RemoteDeployer.java:238)
... 11 more
Caused by: oracle.jdeveloper.deploy.DeployException: Deployment Failed
at oracle.jdevimpl.deploy.common.Jsr88DeploymentHelper.deployApplication(Jsr88DeploymentHelper.java:395)
... 12 more
#### Cannot run application CRRDemo due to error deploying to DefaultServer.
[Application CRRDemo stopped and undeployed from Server Instance DefaultServer]
ThanksCheck the log files of the WebLogic instance for more information on the specific problem you got in the deployment profile.
Some common pitfalls are documented here:
http://blogs.oracle.com/shay/2008/11/common_pitfalls_when_deploying.html -
Problem with JDeveloper 11g Technical Preview 2
I'm using JDeveloper TP2, but when I run the app. I see the following error message:
404 Not Found
OracleJSP: java.io.FileNotFoundException:
Set the init-param debug_mode to "true" to see the complete exception
Can you help me?
JChey can u please tell me how did u fix the problem.. All of a sudden my JSP pages are not displayed and the File not found exception is displayed... Can u please help me in fixing this......
regards
raghav -
JDeveloper 11g - JSF Custom Validator - Client Side validation question...
Hi all,
I've created custom JSF validator.
How to trow some client side ValidatorException in javascript?
Thanks in advance,
s o v i e tTry
throw new TrValidatorException(
null,
summary,
detail
Frank -
Problem with tutorial; "Build a Web Application with JDeveloper 11g Using "
I've got a rather new installation of Vista Business x64 on my developer rig, and last week I installed the new JDeveloper 11g version. The installation was all-inclusive, no customization on my end.
In addition I've got a test installation of an Oracle DB 11gR1 on an available server here.
To familiarize myself with the new JDeveloper I decided to spend some time with the JDeveloper 11g tutorials found here: http://www.oracle.com/technology/obe/obe11jdev/11/index.html.
I've started twice on the second tutorial, "Build a Web Application with JDeveloper 11g Using EJB, JPA, and JavaServer Faces", and find myself repeatedly stuck at step 19 in section "Creating the Data Model and Testing it".
It seems impossible to deploy the application to the default application server. The server starts fine on its own, I can access it via the admin console on port 7001 and it looks good. However, when I try to run the HRFacadeBean funny things are happening, symptomized by the following error messages seen in the IDE log-area:
The "Messages" pane displays:
"Compiling...
Context: MakeProjectAndDependenciesCommand application=HR_EJB_JPA_App.jws project=EJBModel.jpr
C:\Oracle\Middleware\jdk160_05\jre\bin\java.exe -jar C:\Oracle\Middleware\jdeveloper\jdev\lib\ojc.jar -g -warn -nowarn:320 -nowarn:372 -nowarn:412 -nowarn:413 -nowarn:415 -nowarn:486 -nowarn:487 -nowarn:489 -nowarn:556 -nowarn:558 -nowarn:560 -nowarn:561 -nowarn:705 -Xlint:-fallthrough -Xlint:-serial -Xlint:-unchecked -source 1.6 -target 1.6 -noquiet -encoding Cp1252 -d C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes -namereferences -make C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes\EJBModel.cdi -classpath C:\Oracle\Middleware\jdk160_05\jre\lib\resources.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\rt.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\jsse.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\jce.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\charsets.jar;C:\JDeveloper\mywork\HR_EJB_JPA_App\.adf;C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\toplink.jar;C:\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;C:\Oracle\Middleware\modules\javax.persistence_1.0.0.0_1-0.jar;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar;C:\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xmlparserv2.jar;C:\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xml.jar;C:\Oracle\Middleware\modules\javax.jsf_1.2.0.0.jar;C:\Oracle\Middleware\modules\javax.ejb_3.0.1.jar;C:\Oracle\Middleware\modules\javax.enterprise.deploy_1.2.jar;C:\Oracle\Middleware\modules\javax.interceptor_1.0.jar;C:\Oracle\Middleware\modules\javax.jms_1.1.1.jar;C:\Oracle\Middleware\modules\javax.jsp_1.1.0.0_2-1.jar;C:\Oracle\Middleware\modules\javax.jws_2.0.jar;C:\Oracle\Middleware\modules\javax.activation_1.1.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.mail_1.1.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.soap_1.3.1.0.jar;C:\Oracle\Middleware\modules\javax.xml.rpc_1.2.1.jar;C:\Oracle\Middleware\modules\javax.xml.ws_2.1.1.jar;C:\Oracle\Middleware\modules\javax.management.j2ee_1.0.jar;C:\Oracle\Middleware\modules\javax.resource_1.5.1.jar;C:\Oracle\Middleware\modules\javax.servlet_1.0.0.0_2-5.jar;C:\Oracle\Middleware\modules\javax.transaction_1.0.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.stream_1.1.1.0.jar;C:\Oracle\Middleware\modules\javax.security.jacc_1.0.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.registry_1.0.0.0_1-0.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\wlserver_10.3\common\lib -sourcepath C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src;C:\Oracle\Middleware\jdk160_05\src.zip;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\toplink-src.zip;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink-src.zip C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\Dept.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\Emp.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacadeLocal.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacadeClient.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacade.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacadeBean.java
[11:45:27 PM] Successful compilation: 0 errors, 0 warnings.
[Application HR_EJB_JPA_App is bound to Server Instance DefaultServer]
[Starting Server Instance DefaultServer]
#### Server Instance DefaultServer could not be started: Server Instance was terminated.
The "Running: DefaultServer" displays:
"C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd
[waiting for the server to complete its initialization...]
[Server Instance DefaultServer is shutting down. All applications currently running will be terminated and undeployed.]
Process exited.
C:\Oracle\Middleware\user_projects\domains\base_domain\bin\stopWebLogic.cmd
Stopping Weblogic Server...
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Connecting to t3://localhost:7101 with userid weblogic ...
This Exception occurred at Wed Oct 29 23:47:40 CET 2008.
javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7101: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused: connect; No available router to destination]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:365)
at weblogic.jndi.Environment.getContext(Environment.java:315)
at weblogic.jndi.Environment.getContext(Environment.java:285)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTHelper.java:512)
at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLSTHelper.java:565)
at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.java:305)
at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:203)
at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:60)
at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:125)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
at org.python.core.PyMethod.__call__(PyMethod.java:96)
at org.python.core.PyObject.__call__(PyObject.java:248)
at org.python.core.PyObject.invoke(PyObject.java:2016)
at org.python.pycode._pyx4.connect$1(<iostream>:16)
at org.python.pycode._pyx4.call_function(<iostream>)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyTableCode.call(PyTableCode.java:404)
at org.python.core.PyFunction.__call__(PyFunction.java:184)
at org.python.pycode._pyx16.f$0(C:\Oracle\Middleware\user_projects\domains\base_domain\shutdown.py:1)
at org.python.pycode._pyx16.call_function(C:\Oracle\Middleware\user_projects\domains\base_domain\shutdown.py)
at org.python.core.PyTableCode.call(PyTableCode.java:208)
at org.python.core.PyCode.call(PyCode.java:14)
at org.python.core.Py.runCode(Py.java:1135)
at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
at weblogic.management.scripting.WLST.main(WLST.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.WLST.main(WLST.java:29)
Caused by: java.net.ConnectException: t3://localhost:7101: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused: connect; No available router to destination
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:203)
at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:344)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
... 38 more
Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
java.net.ConnectException: Connection refused: connect; No available router to destination
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:225)
at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:303)
at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:193)
... 43 more
Problem invoking WLST - Traceback (innermost last):
File "C:\Oracle\Middleware\user_projects\domains\base_domain\shutdown.py", line 1, in ?
File "<iostream>", line 22, in connect
WLSTException: Error occured while performing connect : Error getting the initial context. There is no server running at t3://localhost:7101 Use dumpStack() to view the full stacktrace
Done
I'm not that familiar with these things but it seems to me that there is an issue with port numbers here. The application seems to expect a app.server service at port 7101, but does'nt find one.
Any suggestions on how to fix this problem would be appreciated?
LA$$EJupp,
It fails in a similar way.
What I did was; create a simle 'Hello World' html file, saving it with the jsp extension. In Jdev11g i made a new application and an emtpy project, then loaded the jsp file and made it the default run-target. This compiles nicely.
When running the project it first attempts to start the WebLogicServer (WLS). After a few minutes it is started as seen in the "Running: DefaultServer" pane:
C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd
[waiting for the server to complete its initialization...]
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m
WLS Start Mode=Development
CLASSPATH=;C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
PATH=C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\native;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.5\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\oracle_client\product\11.1.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
Starting WLS with line:
C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -DproxySet=false -Djbo.34010=false -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1 -Doracle.home=C:\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=AdminServer -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar>
<30.okt.2008 kl 19.20 CET> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.>
<30.okt.2008 kl 19.20 CET> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 >
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<30.okt.2008 kl 19.20 CET> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<30.okt.2008 kl 19.20 CET> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<30.okt.2008 kl 19.20 CET> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<30.okt.2008 kl 19.20 CET> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
<30.okt.2008 kl 19.20 CET> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<30.okt.2008 kl 19.20 CET> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<30.okt.2008 kl 19.20 CET> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
<30.okt.2008 kl 19.20 CET> <Warning> <Server> <BEA-002611> <Hostname "Kromp.lan", maps to multiple IP addresses: 10.0.0.8, 127.0.0.1>
<30.okt.2008 kl 19.20 CET> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.0.0.8:7001 for protocols iiop, t3, ldap, snmp, http.>
<30.okt.2008 kl 19.20 CET> <Warning> <Server> <BEA-002611> <Hostname "127.0.0.1", maps to multiple IP addresses: 10.0.0.8, 127.0.0.1>
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "base_domain" running in Development Mode>
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
DefaultServer startup time: 121552 ms.
DefaultServer started.
In the "Messages" pane, however, things are not looking so good:
Context: MakeProjectAndDependenciesCommand application=TestAppJsp.jws project=TestProjJsp.jpr
[7:20:49 PM] Successful compilation: 0 errors, 0 warnings.
[Application TestAppJsp is bound to Server Instance DefaultServer]
[Starting Server Instance DefaultServer]
#### Server Instance DefaultServer could not be started: Server Instance was terminated.
But, of course, the server is actually running as I can access it via its Admin Console.
So, I try to run the project again, and this time the following is shown in the "Messages" pane:
Compiling...
Context: MakeProjectAndDependenciesCommand application=TestAppJsp.jws project=TestProjJsp.jpr
[7:26:39 PM] Successful compilation: 0 errors, 0 warnings.
[Application TestAppJsp is bound to Server Instance DefaultServer]
[Starting Server Instance DefaultServer]
#### Server Instance DefaultServer could not be started: Server Instance was terminated.
The "Running: DefaultServer" now comes up with:
C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd
[waiting for the server to complete its initialization...]
[Server Instance DefaultServer is shutting down. All applications currently running will be terminated and undeployed.]
Process exited.
The WLS is still running though as I can still access its adm console.
To me it seems that it is attempting to start a separate instance of the WLS for each run attempt, but then I could be wrong.....:(
Later I'll try to change the default WLS port from 7001 to 7101 as suggested in another port here.
I must admit that I'm a bit surprised that the JDev11g doesn't work fine at this very simple level when performing a default install. -
Hi ,
I intalled the new Jdeveloper 11g preview version and tried craeting a simple page using my database connection.Its does everything fine but when i run the page it generates following log:
:\Documents and Settings\deolk\Application Data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config>
C:\JDev11g\jdk\bin\javaw.exe -client -classpath C:\JDev11g\j2ee\home\oc4j.jar;C:\JDev11g\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=512m -Ddisable.checkForUpdate=true -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false "-Djava.security.policy=C:\Documents and Settings\deolk\Application Data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\java2.policy" oracle.oc4j.loader.boot.BootStrap -config "C:\Documents and Settings\deolk\Application Data\JDeveloper\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\server.xml"
[waiting for the server to complete its initialization...]
Feb 8, 2008 11:32:01 AM oracle.j2ee.xml.XMLMessages warningException
WARNING: Exception Encountered
C:\JDev11g\jdk\bin\javaw.exe -jar C:\JDev11g\j2ee\home\admin.jar ormi://10.30.139.243:23891 fmwadmin **** -updateConfig
Feb 8, 2008 11:32:12 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
08/02/08 11:32:24 WARNING: ApplicationServer.enableOC4JDocumentChangeNotifier Alternate DocumentChangeNotifier in use!
08/02/08 11:32:24 JMS server will listen on port 9227.
08/02/08 11:32:26 oracle.j2ee.jms.oc4j.JMSServer startup complete
Feb 8, 2008 11:32:27 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 8, 2008 11:32:28 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 8, 2008 11:32:33 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 8, 2008 11:32:33 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 8, 2008 11:32:34 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 8, 2008 11:32:34 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 8, 2008 11:32:34 AM oracle.j2ee.util.AnnotatedLogger logWithThrowable
WARNING: J2EE JNDI-00002
Feb 8, 2008 11:32:34 AM oracle.j2ee.util.AnnotatedLogger log
WARNING: No javax.jms.ConnectionFactory found at null
Feb 8, 2008 11:32:34 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 8, 2008 11:32:35 AM oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
WARNING: findSystemUser: System user is not available from Credential Store.
Feb 8, 2008 11:32:38 AM oracle.j2ee.jmsrouter.util.JmsRouterMessages logException
WARNING: oracle.j2ee.jmsrouter.RouterException: JMS Destination, {0}, does not exist
Ready message received from Oc4jNotifier.
Embedded OC4J Server startup time: 39078 ms.
Target URL -- http://127.0.0.1:8988/test-ViewController-context-root/faces/untitled1.jspx
The target URL creates the page with HTTP Error
Status : 504 Gateway Time-Out
Description : Unable to connect to origin Web server.
Thanks
KamalWell, I have exactly the same problem "System user not available..."
I am doing something VERY simple: create a JavaEE app, create a single Session bean, everything deafult and then simply "Run..." that bean.
This problem remains even after I have successfully changed the OC4J path to "c:\kkk2".
Any other ideas?
Another question: in the previous JDeveloper, local and remote interfaces to EJB-s were hidden in the pp explorer. Can I still activate this feature?
Regards: Á -
Jdeveloper 11g - JAX-RPC 1.1 method is not supported in WLS 8.1 clients.
Hi,
I am using Jdeveloper 11g and migrating a web Service Proxy created using jdeveloper 10g.
I imported all the proxy classes and when I try to run web service client In Jdeveloper 11g I get the following error
"JAX-RPC 1.1 method is not supported in WLS 8.1 clients. If you are attempting to run an OC4J 10.1.3 JAX-RPC client in WLS, please see the Web Service Migration Guide for instructions."
Please advise on how to solve this?
which is the offending jar/library file in Jdeveloper 11g which is causing the above error?.
Is the above problem there in the WebLogic Server Runtime also?
Please let me know.
2) I cannot generate web server proxies also with jdev11g because the wsdl has overloaded methods omitting the name property within the input and output message, ie, they have a null name. therefore Jdeveloper 11g is using the library which
when called with an overloaded operation that contains null input/output message names, a duplicate error occurs because it sees other operations with the same name. so it is effectively not allowing to create the web service proxies.
Thanks,
Appreciate your quick response to the aboveHave you checked the 'Web Service Migration Guide' mentioned in the error message?
Timo -
Migration from Jdeveloper 11g r1 to 11g r2 problem
Hi all
I have a project initially created in Jdeveloper 11g r1
after migrating it to Jdeveloper 11g r2 i tried to replace lookup ejb invocation to dependency injection.
So i used @EJB annotation in my managed bean. I'm shure there could be no mistakes in the way how i used this anno, i did it many times
it looks something like this
@EJB(name="StatelessSessionEJBEx",beanInterface =StatelessSessionEJBEx.class, beanName = "StatelessSessionEJBEx")
as a result it generated an exception which said that the EJB interface could not be found, though all dependencies between business and view projects are in place. After a while i figured out that the problem is it used JSF 1.2 specification instead of 2.0 so i replaced the version of JSF in managed been source code
<?xml version="1.0" encoding="windows-1251"?>
<faces-config version="2.0" xmlns="http://java.sun.com/xml/ns/javaee"> ....
but it seemed to make no effect at all.
So are there any guesses what i did wrong
Thanks. Alex.Hi,
the server used by JDeveloper 11g R2 is a patched WLS 10.3.5 or 10.1.3.6 server (depends on teh JDeveloper version), which is not a Java EE 6 version but Java EE 5 (which explains why CDI doesn't work as expected). To read up on how to get annotated EJBs work from JSF managed beans, see http://buttso.blogspot.de/2011/03/jsf-with-managed-beans-and-dependency.html.
The upcoming 12c release will solve all of this. My suggestion therefore is to keep on going with the web.xml reference and then replace it later with @EJB annotation references
Frank -
Hello,
I have two "unsolvable" problems in JDeveloper! I cant find nowhere a solution to the problems are so banal, and stupid .... The first problem, fresh install JDeveloper 11g and want to make a swing desktop application. Do the following: New Application, I choose Java Desktop Application, Next, Finish. Then right-click "New ..." and take the ADF Swing Panel Empty. Immediately to run, and it run blank panel, but with a "million" mistakes:
May 19, 2010 6:03:05 PM oracle.jbo.uicli.mom.CpxUtils$Visitor logMainApplicationCpx
INFO: file:/C:/JDeveloper/mywork/Chat/Client/classes/chat/DataBindings.cpx
May 19, 2010 6:03:05 PM oracle.adf.share.config.ADFConfigFactory getInstance
INFO: ADF Config instance implementation in use is : oracle.adf.share.config.MDSConfigFactory
May 19, 2010 6:03:06 PM oracle.as.jmx.framework.LoggerHelper log
SEVERE: Error initializing the JMX FRamework SPI "oracle.as.jmx.framework.standardmbeans.spi.JMXFrameworkProviderImpl"
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.as.jmx.framework.PortableMBeanFactory.initializeSPI(PortableMBeanFactory.java:1876)
at oracle.as.jmx.framework.PortableMBeanFactory.initializePlatformSPI(PortableMBeanFactory.java:1832)
at oracle.as.jmx.framework.PortableMBeanFactory.init(PortableMBeanFactory.java:1812)
at oracle.as.jmx.framework.PortableMBeanFactory.<init>(PortableMBeanFactory.java:204)
at oracle.as.jmx.framework.PortableMBeanFactory.<init>(PortableMBeanFactory.java:212)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at oracle.mds.core.MDSInstance.lookupMBeanServer(MDSInstance.java:1999)
at oracle.mds.core.MDSInstance.checkMDSDeployStatus(MDSInstance.java:910)
at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1631)
at oracle.mds.core.MDSInstance.<init>(MDSInstance.java:1605)
at oracle.mds.core.MDSInstance.findAndStoreMDSInstance(MDSInstance.java:1900)
at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:487)
at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:458)
at oracle.adf.share.config.ADFMDSConfig.getDefaultMDSInstance(ADFMDSConfig.java:404)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.adf.share.config.FallbackConfigImpl.getMDSInstance(FallbackConfigImpl.java:65)
at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.createMDSSession(ADFContextMDSConfigHelperImpl.java:50)
at oracle.adf.share.ADFContext.getMDSSessionAsObject(ADFContext.java:1078)
at oracle.jbo.mom.MOMParserMDS.getMDSSession(MOMParserMDS.java:60)
at oracle.jbo.mom.MOMParserMDS.parse(MOMParserMDS.java:189)
at oracle.jbo.mom.MOMParserNonMDS.readAndParse(MOMParserNonMDS.java:71)
at oracle.jbo.mom.DefinitionContextStandard.readAndParse(DefinitionContextStandard.java:237)
at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:1447)
at oracle.jbo.uicli.mom.JUMetaObjectManager.findCpx(JUMetaObjectManager.java:562)
at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:606)
at oracle.jbo.uicli.controls.JUTestFrame.createBindingCtxAndSetUpMenu(JUTestFrame.java:152)
at oracle.jbo.uicli.controls.JUTestFrame.<init>(JUTestFrame.java:117)
at oracle.jbo.uicli.controls.JUTestFrame.startTestFrame(JUTestFrame.java:80)
at chat.Panel1.main(Panel1.java:90)
Caused by: java.lang.NoClassDefFoundError: javax/management/j2ee/statistics/Stats
at oracle.as.jmx.framework.standardmbeans.spi.CoreJMXFrameworkProviderImpl.createMBean(CoreJMXFrameworkProviderImpl.java:62)
at oracle.as.jmx.framework.PortableMBeanFactory.createMBean(PortableMBeanFactory.java:230)
at oracle.as.jmx.framework.config.session.ConfigurationSessionManager.registerSessionManagerMBean(ConfigurationSessionManager.java:132)
at oracle.as.jmx.framework.config.session.ConfigurationSessionManager.<init>(ConfigurationSessionManager.java:127)
at oracle.as.jmx.framework.generic.spi.CoreJMXFrameworkProviderImpl.initConfigSessionInfrastructure(CoreJMXFrameworkProviderImpl.java:301)
at oracle.as.jmx.framework.generic.spi.CoreJMXFrameworkProviderImpl.init(CoreJMXFrameworkProviderImpl.java:254)
at oracle.as.jmx.framework.generic.spi.CoreJMXFrameworkProviderImpl.init(CoreJMXFrameworkProviderImpl.java:134)
at oracle.as.jmx.framework.standardmbeans.spi.JMXFrameworkProviderImpl.init(JMXFrameworkProviderImpl.java:77)
... 41 more
Caused by: java.lang.ClassNotFoundException: javax.management.j2ee.statistics.Stats
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 49 more
Process exited with exit code 0.
Therefore, the panel run, but these mistakes bush me, if anyone knows what's the problem? Maybe I dont chose the right Swing Desktop Project? Or what?
Another problem is when I go to the source code of this panel, there not worjs my right brace - }. So, on a laptop, not work alg g + N (but, alt gr + B, (left brace) is work). Incredible... please help me ....I just tried it on my JDeveloper 11.1.1.3 and it worked ok.
Seems like a local problem on your machine, might be worth installing a new JDeveloper instance and trying again. -
Problem installing CIS Admin on Preconfigured OC4J with JDeveloper 11g
Hi,
I'm trying to setup a CIS installation with JDeveloper 11g's OC4J. The CIS Server was installed successfully and the home page for that application came up. I was able to deploy the CIS Admin application, but trying to access it gives me the following error (first regarding the permissions and then about the name not found exception). Can someone please advise...
[2008-06-19 09:09:19,640] [ApplicationServerFactory<clean-only>] INFO (com.stellent.cis.impl.CISApplication) -
+------------------------------
| Initialized Content Integration Suite 10g Release 3 (10.1.3.3.3) [server]
| Version: 8.0.0.3 (Build 2007.1031.1353)
| Server Type: oracle [ejb=true, rmi=false]
| Server Configuration: [META-INF/resources/server/cis-services.jxml]
| Adapter Configuration: null
| Temporary File Location: C:\DOCUME~1\ACBOMM~1\LOCALS~1\Temp\1\\oracle\cis-8.0.0.3
+------------------------------
08/06/19 09:09:19 Oracle Containers for J2EE 11g (11.1.1.0.0) initialized.
[2008-06-19 09:12:19,468] [HTTPThreadGroup-1] INFO (com.stellent.cis.impl.CISApplicationFactory) - Initialized CIS logging using log file: [default]
[2008-06-19 09:12:19,468] [HTTPThreadGroup-1] INFO (com.stellent.cis.impl.CISApplicationFactory) -
+-----------------
| CIS using IsolatedJarClassLoader
| Location: C:\DOCUME~1\ACBOMM~1\LOCALS~1\Temp\1\tmp-mgr-48440.tmp\cis-loader48441.tmp
+-----------------
08/06/19 09:12:19 WARNING: Exception returned by remote server: javax.naming.NoPermissionException: Not allowed to look up stellent/command/configuration, check the namespace-access tag setting in orion-application.xml for details
[2008-06-19 09:12:19,640] [HTTPThreadGroup-1] ERROR (com.stellent.cis.web.commandapp.CommandAppInitializer) - Error initializing command web application
com.stellent.cis.client.command.CommandConfigurationException: java.lang.RuntimeException: javax.naming.NameNotFoundException: stellent/command/configuration not found
at com.stellent.cis.impl.CISApplicationFactory.initializeCisApplication(CISApplicationFactory.java:103)
at com.stellent.cis.impl.CISApplicationFactory.getCisApplication(CISApplicationFactory.java:58)
at com.stellent.cis.impl.CISApplicationFactory.initialize(CISApplicationFactory.java:74)
at com.stellent.cis.web.commandapp.CommandAppInitializer.init(CommandAppInitializer.java:90)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:839)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2721)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5209)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5132)
at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:3295)
at com.evermind.server.http.HttpApplication.getLocalDispatcher(HttpApplication.java:5387)
at com.evermind.server.http.HttpSite.getRequestDispatcher(HttpSite.java:393)
at com.evermind.server.http.HttpApplication.unprivileged_getRequestDispatcher(HttpApplication.java:1996)
at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:1981)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:402)
at index.jspService(_index.java:44)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:489)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:706)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:675)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:658)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:626)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:417)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:163)
at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: javax.naming.NameNotFoundException: stellent/command/configuration not found
at com.stellent.cis.common.proxy.ejb.EJBLookupAndProxy.lookupAndProxy(EJBLookupAndProxy.java:48)
at com.stellent.cis.impl.CISApplicationFactory.initializeClient(CISApplicationFactory.java:174)
at com.stellent.cis.impl.CISApplicationFactory.initializeCisApplication(CISApplicationFactory.java:97)
... 37 more
Caused by: javax.naming.NameNotFoundException: stellent/command/configuration not found
at com.evermind.server.rmi.RMIServerContext.lookup(RMIServerContext.java:209)
at com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:256)
at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:196)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.stellent.cis.common.proxy.ejb.EJBLookupAndProxy.lookupAndProxy(EJBLookupAndProxy.java:42)
... 39 more
[2008-06-19 09:12:19,687] [HTTPThreadGroup-1] ERROR (com.stellent.cis.web.commandapp.CommandAppInitializer) - Error initializing command web application
com.stellent.cis.client.command.CommandConfigurationException: java.lang.RuntimeException: javax.naming.NameNotFoundException: stellent/command/configuration not found
at com.stellent.cis.impl.CISApplicationFactory.initializeCisApplication(CISApplicationFactory.java:103)
at com.stellent.cis.impl.CISApplicationFactory.getCisApplication(CISApplicationFactory.java:58)
at com.stellent.cis.impl.CISApplicationFactory.initialize(CISApplicationFactory.java:74)
at com.stellent.cis.web.commandapp.CommandAppInitializer.init(CommandAppInitializer.java:90)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:839)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2721)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5209)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5132)
at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:3295)
at com.evermind.server.http.HttpApplication.getLocalDispatcher(HttpApplication.java:5387)
at com.evermind.server.http.HttpSite.getRequestDispatcher(HttpSite.java:393)
at com.evermind.server.http.HttpApplication.unprivileged_getRequestDispatcher(HttpApplication.java:1996)
at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:1981)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:402)
at index.jspService(_index.java:44)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:489)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:706)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:675)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:658)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:626)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:417)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:163)
at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: javax.naming.NameNotFoundException: stellent/command/configuration not found
at com.stellent.cis.common.proxy.ejb.EJBLookupAndProxy.lookupAndProxy(EJBLookupAndProxy.java:48)
at com.stellent.cis.impl.CISApplicationFactory.initializeClient(CISApplicationFactory.java:174)
at com.stellent.cis.impl.CISApplicationFactory.initializeCisApplication(CISApplicationFactory.java:97)
... 37 more
Caused by: javax.naming.NameNotFoundException: stellent/command/configuration not found
at com.evermind.server.rmi.RMIServerContext.lookup(RMIServerContext.java:209)
at com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:256)
at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:196)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.stellent.cis.common.proxy.ejb.EJBLookupAndProxy.lookupAndProxy(EJBLookupAndProxy.java:42)
... 39 more
08/06/19 09:12:20 WARNING: cis-admin-web-8.0.0: Servlet error
java.lang.IllegalArgumentException: Resource /main.do not found
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:405)
at index.jspService(_index.java:44)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:489)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:706)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:675)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:658)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:626)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:417)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:163)
at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
[2008-06-19 09:12:20,828] [HTTPThreadGroup-1] INFO (com.stellent.cis.impl.CISApplicationFactory) - Initialized CIS logging using log file: [default]
[2008-06-19 09:12:20,843] [HTTPThreadGroup-1] INFO (com.stellent.cis.impl.CISApplicationFactory) -
+-----------------
| CIS using IsolatedJarClassLoader
| Location: C:\DOCUME~1\ACBOMM~1\LOCALS~1\Temp\1\tmp-mgr-48440.tmp\cis-loader48442.tmp
+-----------------
08/06/19 09:12:20 WARNING: Exception returned by remote server: javax.naming.NoPermissionException: Not allowed to look up stellent/command/configuration, check the namespace-access tag setting in orion-application.xml for details
[2008-06-19 09:12:20,843] [HTTPThreadGroup-1] ERROR (com.stellent.cis.web.commandapp.CommandAppInitializer) - Error initializing command web application
com.stellent.cis.client.command.CommandConfigurationException: java.lang.RuntimeException: javax.naming.NameNotFoundException: stellent/command/configuration not found
at com.stellent.cis.impl.CISApplicationFactory.initializeCisApplication(CISApplicationFactory.java:103)
at com.stellent.cis.impl.CISApplicationFactory.getCisApplication(CISApplicationFactory.java:58)
at com.stellent.cis.impl.CISApplicationFactory.initialize(CISApplicationFactory.java:74)
at com.stellent.cis.web.commandapp.CommandAppInitializer.init(CommandAppInitializer.java:90)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:839)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2721)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5209)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5132)
at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:3295)
at com.evermind.server.http.HttpApplication.getLocalDispatcher(HttpApplication.java:5387)
at com.evermind.server.http.HttpSite.getRequestDispatcher(HttpSite.java:393)
at com.evermind.server.http.HttpApplication.unprivileged_getRequestDispatcher(HttpApplication.java:1996)
at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:1981)
at com.evermind.server.http.EvermindHttpServletResponse.sendError(EvermindHttpServletResponse.java:1387)
at com.evermind.server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1915)
at com.evermind.server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1730)
at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:952)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:658)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:626)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:417)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:163)
at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: javax.naming.NameNotFoundException: stellent/command/configuration not found
at com.stellent.cis.common.proxy.ejb.EJBLookupAndProxy.lookupAndProxy(EJBLookupAndProxy.java:48)
at com.stellent.cis.impl.CISApplicationFactory.initializeClient(CISApplicationFactory.java:174)
at com.stellent.cis.impl.CISApplicationFactory.initializeCisApplication(CISApplicationFactory.java:97)
... 31 more
Caused by: javax.naming.NameNotFoundException: stellent/command/configuration not found
at com.evermind.server.rmi.RMIServerContext.lookup(RMIServerContext.java:209)
at com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:256)
at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:196)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.stellent.cis.common.proxy.ejb.EJBLookupAndProxy.lookupAndProxy(EJBLookupAndProxy.java:42)
... 33 more
[2008-06-19 09:12:20,937] [HTTPThreadGroup-1] ERROR (com.stellent.cis.web.commandapp.CommandAppInitializer) - Error initializing command web application
com.stellent.cis.client.command.CommandConfigurationException: java.lang.RuntimeException: javax.naming.NameNotFoundException: stellent/command/configuration not found
at com.stellent.cis.impl.CISApplicationFactory.initializeCisApplication(CISApplicationFactory.java:103)
at com.stellent.cis.impl.CISApplicationFactory.getCisApplication(CISApplicationFactory.java:58)
at com.stellent.cis.impl.CISApplicationFactory.initialize(CISApplicationFactory.java:74)
at com.stellent.cis.web.commandapp.CommandAppInitializer.init(CommandAppInitializer.java:90)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:839)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2721)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5209)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5132)
at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:3295)
at com.evermind.server.http.HttpApplication.getLocalDispatcher(HttpApplication.java:5387)
at com.evermind.server.http.HttpSite.getRequestDispatcher(HttpSite.java:393)
at com.evermind.server.http.HttpApplication.unprivileged_getRequestDispatcher(HttpApplication.java:1996)
at com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:1981)
at com.evermind.server.http.EvermindHttpServletResponse.sendError(EvermindHttpServletResponse.java:1387)
at com.evermind.server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1915)
at com.evermind.server.http.EvermindHttpServletResponse.handleException(EvermindHttpServletResponse.java:1730)
at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:952)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:658)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:626)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:417)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:163)
at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: javax.naming.NameNotFoundException: stellent/command/configuration not found
at com.stellent.cis.common.proxy.ejb.EJBLookupAndProxy.lookupAndProxy(EJBLookupAndProxy.java:48)
at com.stellent.cis.impl.CISApplicationFactory.initializeClient(CISApplicationFactory.java:174)
at com.stellent.cis.impl.CISApplicationFactory.initializeCisApplication(CISApplicationFactory.java:97)
... 31 more
Caused by: javax.naming.NameNotFoundException: stellent/command/configuration not found
at com.evermind.server.rmi.RMIServerContext.lookup(RMIServerContext.java:209)
at com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:256)
at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:196)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.stellent.cis.common.proxy.ejb.EJBLookupAndProxy.lookupAndProxy(EJBLookupAndProxy.java:42)
... 33 more08/08/05 06:37:47.308 10.1.3.1.1 Started
08/08/05 06:37:49.683 cis-admin-web-8.0.0: 10.1.3.1.1 Started
08/08/05 06:40:24.699 cis-admin-web-8.0.0: Servlet error
java.lang.IllegalArgumentException: Resource /main.do not found
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.EvermindPageContext.forward(EvermindPageContext.java
:316)
at index.jspService(_index.java:43)
at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.1.1) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:724)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:414)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:598)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:522)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher
.java:712)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher
.java:369)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler
.java:865)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler
.java:447)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor
.java:303)
at java.lang.Thread.run(Thread.java:595) -
[Jeveloper + EJB client - EJB on OAS] Problem connecting
I having problems getting a simple client from within JDeveloper 3.0(Code snippet - OAS/EJB Client) talking to a simple EJB on OAS 4.0.8.
I have deployed OK (red flag against status?) but when I run the client using port - 5512(ORB port)I get the message below
Anybody any ideas?
Creating an initial context
Looking for the EJB published as 'MyOASApp/MyEJB'
Naming exception occurred!
Cause: This may be an unknown URL, or some classes required by the EJB are missing from your classpath, or your OAS host is short of resources
Suggestion: Check the components of the URL, and make sure your project includes a library containing the EJB .jar files generated by the deployment utility.
[Root exception is java.net.UnknownServiceException: no content-type]javax.naming.NamingException: Failure to access http://hfxcap4:5512/ows-bin/rmproxy.ior; listener inaccessible or configured wrongly
at oracle.oas.jndi.oas.SiteResolver.getIOR(Compiled Code)
at oracle.oas.jndi.oas.SiteResolver.resolveListenerURL(Compiled Code)
at oracle.oas.jndi.oas.SiteResolver.resolveSiteContact(Compiled Code)
at oracle.oas.jndi.oas.SiteResolver.resolveSiteContact(Compiled Code)
at oracle.oas.jndi.oas.SiteResolver.resolveSiteObject(Compiled Code)
at oracle.oas.jndi.oas.BeanInitialContext.resolve(Compiled Code)
at oracle.oas.jndi.oas.BeanContext.lookup(Compiled Code)
at oracle.oas.jndi.oas.BeanInitialContext.lookup(Compiled Code)
at oracle.oas.jndi.oas.WrapperContext.lookup(Compiled Code)
at oracle.oas.jndi.oas.BeanContext.lookup(Compiled Code)
at javax.naming.InitialContext.lookup(Compiled Code)
at package1.MyOASAppClient.main(Compiled Code)
**************HI, I have the same problem that you had, maybe did you manage through ?? Thanks for all the help you could bring me.
Nico
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by pFrooney:
Back Again ...
I have tried all ao the above
now using this code below but it fails on the lookup with the error message below:
..created library with client stub, using 1.1.8, moved OASRuntime to top of included libraries
Any suggestions
String oasUrl = "oas://hfxcap4:80";
String oasEJB = "MyOASApp/MyEJB" ;
// Setup the environment
Hashtable environment = new Hashtable();
// Turn JNDI on to OAS
environment.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY, "oracle.oas.naming.jndi.RemoteInitCtxFactory");
// Lookup the URL
conv_package.MyEJBHome homeInterface = null;
try {
System.out.println("Creating an initial context");
// Get initial JNDI context
Context site = (Context) ((new InitialContext(environment)).lookup(oasUrl));
org.omg.CORBA.COMM_FAILURE:
at oracle.oas.orb.CORBA.Request._invoke(Compiled Code)
at oracle.oas.orb.CORBA.Delegate._invoke(Compiled Code)
at org.omg.CORBA.portable.ObjectImpl._invoke(Compiled Code)
at oracle.oas.orb.CORBA.Delegate.is_a(Compiled Code)
at org.omg.CORBA.portable.ObjectImpl._is_a(Compiled Code)
at oracle.oas.jndi.oas.BeanInitialContext.resolve(Compiled Code)
at oracle.oas.jndi.oas.BeanContext.lookup(Compiled Code)
at oracle.oas.jndi.oas.BeanInitialContext.lookup(Compiled Code)
at oracle.oas.jndi.oas.WrapperContext.lookup(Compiled Code)
at oracle.oas.jndi.oas.BeanContext.lookup(Compiled Code)
at javax.naming.InitialContext.lookup(Compiled Code)
at CClient_package.MyOASAppClient.main(Compiled Code)<HR></BLOCKQUOTE>
null -
Hi all,
when I select Identity Store under Authentication (JAZN) in
Embedded OC4J Server Preferences and click New... nothing happens...
I can't create new identity store...
Windows XP (java 1.5.0_11)Soviet,
Ok. This is a known issue (Bug# 6399289) related to working with embedded OC4J server settings when the embedded server configuration directory name contains spaces.
This would occur by default on Windows due to the fact that in 11g we now, by default, save your jdeveloper-specific system settings in the %USERPROFILE% directory. For example, on my laptop this is set to:
USERPROFILE=C:\Documents and Settings\smuenchThis means that the first time you start JDeveloper 11g, it will create its system directory here:
C:\Documents and Settings\smuench\Application Data\JDeveloper\system11.1.1.0.20.46.84and the embedded OC4J server settings live in the subdirectory:
C:\Documents and Settings\smuench\Application Data\JDeveloper\system11.1.1.0.20.46.84\o.j2ee\embedded-oc4jSince this directory has a space in the name you are running into the problem.
Here is the solution.
Startup jdeveloper.exe using the -singleuser flag as described in this blog entry I wrote:
http://radio.weblogs.com/0118231/2007/06/05.html#a840
Assuming you have extracted JDeveloper 11g Tech Preview 2 into a directory whose path does not contain spaces in the name like:
C:\jdev11gtp2Then when you startup JDeveloper the next time with the "-singleuser" flag, it will create its system directory as a subdirectory of the installation directory, and you won't run into the problem. -
Problem with PPR in Jdeveloper 11g
Hi All,
I'm working with the Jdeveloper 11g.
My problem is I have a command button/ Command link in a jspx page. Whenever I click on the command button or command or any action generating components the whole page is getting refreshed(PPR).
I wrote some internal logic in the constructor so as to display the tree. It is calling the constructor again and again when I'm clicking on the sub nodes of the tree. I think the entire page is getting refreshed and the methods are calling again and again.
Is there any way to overcome this problem.
Could any one help me out.
Thanking you,
regards,
Satish.Satish,
I need more information to triage this issue. Do you have the partialSubmit attribute set to "true" on the command component? Does your JSPX contain an <af:document> tag?
--RiC -
Jdeveloper 11g R2 problem when publishing PL\SQL Web Service
Hi Guys,
I have been banging my head against the wall for the past few days trying to publish pl\sql package as a web service on a weblogic 10.3 but I keep running into the same problem.
PL\SQL Package Source below
create type dept_type as object
(deptno NUMBER,
dname VARCHAR2(50),
loc varchar2(13),
cr_date date)
create type dept_list_table is table of dept_type
purge recyclebin;
create or replace package ws_package as
procedure test_dept_table (pout out dept_list_table);
end ws_package;
show errors;
create or replace package body ws_package as
procedure test_dept_table (pout out dept_list_table) is
all_depts dept_list_table := dept_list_table();
dRecType dept_type;
i number := 0;
begin
-- iterate through all depts
for r_list in (select * from dept) loop
i := i + 1;
dRecType := dept_type(null, null, null, null);
dRecType.deptno := r_list.deptno;
dRecType.dname := r_list.dname;
dRecType.loc := r_list.loc_id;
dRecType.cr_date := sysdate;
pout.extend;
pout(i) := dRecType;
end loop;
end test_dept_table;
end ws_package;
show errors;
I go and create PL\SQL Web Service using default settings in Jdeveloper 11g R2 but when I try and test this page I get the following response:
Failed to invoke end component servqa.MyWebService1User (POJO), operation=testDeptTable -> Failed to invoke method -> java.sql.SQLException: ORA-06550: line 1, column 13: PLS-00306: wrong number or types of arguments in call to 'TEST_DEPT_TABLE' ORA-06550: line 1, column 7: PL/SQL: Statement ignored
Anyone have any idea what the problem may be? Your help would be much appreceated!
BojanHi Frank,
I think the problem is in any procedure that has a COMPLEX TYPE as OUT parameter. So even if you strip down the procedure to just do nothing I still get the error as described in my top post. Passing complex parameters as IN parameter work fine its only when I have procedure with complex out when it errors. I also tried function that returns object parameter and that works fine too so not sure why this doesnt?
create or replace package body ws_package as
procedure test_dept_table (pout out dept_list_table) is
begin
-- iterate through all depts
for r_list in (select * from dept) loop
i := i + 1;
end loop;
end test_dept_table;
end ws_package;
Not sure if I am meant to do anything extra before I generate Web Service using JDeveloper if my procedure has got PL\SQL types as OUT parameters but as far as I know JDeveloper should do all the type conversions for you??
Thanks
Bojan
Maybe you are looking for
-
I wasn't sure, so I'm posting this question to understand better. If I have an SQL Server on SQL 2005 and a client running SQL 2000, can that client talk to the server? Also, if I had the opposite, a Server on SQL 2000 and a client on SQL 2005, is
-
SDO_AGGR_UNION function reverses linestrings !?
Hi, When I use the SDO_AGGR_UNION function, the geometry objects (linestrings) get reversed by changing the order of the vertex Here's a SQL sample code that illustrates this issue : Code : DROP TABLE tmp; commit; CREATE TABLE tmp ("ID" NUMBER, "GEOM
-
Flash crashes on "initializing tools"
We just bought 5 CS5 licences. Installed them all to our designers machines. All of them crash on startup..on "initializing tools". Any thoughts? Have tried under a different profile. No luck. These are all XP machines.....all fully updated, both Win
-
IPhone 3G Stuck in Recovery Mode After Trying to Update to 3.1.3
I have read through the similar issues posted on here and there have been no definitive answers. My dad hadn't updated his iPhone 3G to 3.1.3 yet, so we connected it today and chose to update. It downloaded the update, went through the install on the
-
'Places' gone from photos app (and sometimes iPhone4 too?)
Hi, I've had my iPad for a week, and yesterday decided to keep the album from iPhoto in which I've kept all the photos I've taken with iPhone on the iPad as a portable archive, they synced fine, and I was well impressed with places picking out all th