Oracle 9iAS, ejb deployment
I have built ejb jar files after successfully installing oracle9iAS. Now, how can i deploy it on the server?
1) How to run the app server?
2) where lies the documentation on its deployment with commands etc.
Sorry, I think I over-reacted. In fact, the only real problem I have is that I cannot move the BMC project from the default project to another.
I already have some projects for my application (which I tested until now in local config) and I want now to make them remotable. The problem with the project that did not want to create the BMC-pair was that it had nothing to remote - no exposed method, nor for AM, nor for VO's ;o)
For a project that already has some remotable methods, the steps to perform are very strict when you want to make it remotable. You are right, if I first make my AM remotable and properly define there the path and name for the client project, I get the good results.
But, even in this case, I did not see any integrated way of moving this project (completely generated by JDev) to another folder. What I do is modify the project in the configuration properties, quit JDev and move the folder manually.
Thank you,
Adrian
Similar Messages
-
hi,
i sent a message yesterday on the forms6i forum.
we have sucessfully installed oracle 9ias, and have also sucessfully run the forms that have been created, on the web browser.
The forms ran perfectly when it is on the same machine as oracle 9ias, but we cannot run the forms that sits on another machine.
we have tried everything that was told to do and have followed all the documentation, the forms product manager has replied to my question yesterday but all that was configured,
we were told to map the drive where the forms are sitting so that we can read it where the 9ias is based
thanks
pmhi,
i sent a message yesterday on the forms6i forum.
we have sucessfully installed oracle 9ias, and have also sucessfully run the forms that have been created, on the web browser.
The forms ran perfectly when it is on the same machine as oracle 9ias, but we cannot run the forms that sits on another machine.
we have tried everything that was told to do and have followed all the documentation, the forms product manager has replied to my question yesterday but all that was configured,
we were told to map the drive where the forms are sitting so that we can read it where the 9ias is based
thanks
pm -
deployejb -user scott -password tiger -service sess_iiop://tossserver:1521:orcl -descriptor HelloBeanDescriptor.txt -temp /ejb/HelloEJB \-generated HelloClient.jar myBean.jar
Exception in thread "main" java.lang.ClassCastException: com.sun.corba.se.intern
al.iiop.ORB
at oracle.aurora.jndi.orb_dep.IRFinder.getObject(IRFinder.java:24)
at oracle.aurora.jndi.orb_dep.IRFinder.initialReferences(IRFinder.java:7
8)
at oracle.aurora.jndi.sess_iiop.SessionCtx.initialContext(SessionCtx.jav
a:499)
at oracle.aurora.jndi.sess_iiop.SessionCtx.<init>(SessionCtx.java:35)
at oracle.aurora.jndi.sess_iiop.ServiceCtx.createSession(ServiceCtx.java
:130)
at oracle.aurora.jndi.sess_iiop.ServiceCtx.login(ServiceCtx.java:295)
at oracle.aurora.server.tools.sess_iiop.ToolImpl.initializeSession(ToolI
mpl.java:101)
at oracle.aurora.server.tools.sess_iiop.ToolImpl.parseStdArgs(ToolImpl.j
ava:213)
at oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke(ToolImpl.java:12
1)
at oracle.aurora.ejb.deployment.GenerateEjb.main(GenerateEjb.java:445)Unfortunately, I don't believe this is an appropriate forum to address this question to. The ODBC protocol has nothing to do with Java or EJB.
Justin -
When deploying a simple bean from JDeveloper 3.2 to Oracle 9iAS I get the following error :
Compiling Stubs...done
Generating Jar File...done
Loading EJB Jar file and Comm Stubs Jar file...done
Generating EJBHome and EJBObject on the server...
Message [IOEXCEPTION_DESERIALIZING] not found in 'oracle.aurora.ejb.deployment.server.Messages'.
*** Errors occurred while deploying the EJB to 8i JVM ***
*** Deployment completed ***
The trace file has the following :
*** 2001-07-20 14:53:40.621
*** SESSION ID:(10.6094) 2001-07-20 14:53:40.621
java.io.InvalidClassException: oracle.aurora.ejb.dd.DeploymentDescriptor; Local class not compatible: stream classdesc serialVersionUID=59662438620610069 local class serialVersionUID=-4578117701936276373
at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java)
at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at oracle.aurora.ejb.deployment.server.DeployEjbImpl.descriptor(DeployEjbImpl.java)
at oracle.aurora.ejb.deployment.server.DeployEjbImpl.generate(DeployEjbImpl.java)
at oracle.aurora.AuroraServices._DeployEJBImplBase._execute(_DeployEJBImplBase.java)
at oracle.aurora.AuroraServices._DeployEJBImplBase._execute(_DeployEJBImplBase.java)
at com.visigenic.vbroker.orb.SkeletonDelegateImpl.execute(SkeletonDelegateImpl.java)
at oracle.aurora.server.GiopProtocolAdapter.doRequest(GiopProtocolAdapter.java)
at com.visigenic.vbroker.orb.GiopProtocolAdapter.dispatchMessage(GiopProtocolAdapter.java)
at oracle.aurora.server.ThreadSessionDispatcher.run(ThreadSessionDispatcher.java)
at oracle.aurora.server.VCIiopConnection.processRequest(VCIiopConnection.java)
at oracle.aurora.server.GiopServer._service(GiopServer.java)
at oracle.aurora.server.GiopServer.service(GiopServer.java)
at oracle.aurora.net.VirtualCircuit.processRequest(VirtualCircuit.java)
at oracle.aurora.net.Presentation.handleRequest(Presentation.java)
Any ideas why its not deploying ?
nullHi Aviv,
After you update your EJB, you should always rerun ejbc before
redeploying. Did you do that?
- Matt
Aviv Siegel wrote:
After several successful deployment of an EJB to WL7.0 server, I
started to get
WLS70:There is a mismatch between the bean code and generated
code.<EJB name>. Please rerun ejbc on the bean code.The error was
java.lang.NoSuchFieldException
This is very strange, since nothing was changed in the setup of
weblogic, and not much was changed in the bean itself.
I saw some posting about WL6.1 suggesting to remove folders named
tmp_EJBxxx, but this seems not relevant to WL7.0, since I cannot find
these folders.
I tried these to two different WL7.0 servers, with the same behavior:
at the beginning, deployment is fine, and then it stops to work. Of
course, I tried to clean all and re-deploy, but nothing works :(
Any idea what shall I do?
Should I remove other folders in WL7.0 ;) ?
Thanks, Aviv. -
EJB Deployment AIX
When deploying a simple bean from JDeveloper 3.2 to Oracle 9iAS I get the following error :
Compiling Stubs...done
Generating Jar File...done
Loading EJB Jar file and Comm Stubs Jar file...done
Generating EJBHome and EJBObject on the server...
Message [IOEXCEPTION_DESERIALIZING] not found in 'oracle.aurora.ejb.deployment.server.Messages'.
*** Errors occurred while deploying the EJB to 8i JVM ***
*** Deployment completed ***
The trace file has the following :
*** 2001-07-20 14:53:40.621
*** SESSION ID:(10.6094) 2001-07-20 14:53:40.621
java.io.InvalidClassException: oracle.aurora.ejb.dd.DeploymentDescriptor; Local class not compatible: stream classdesc serialVersionUID=59662438620610069 local class serialVersionUID=-4578117701936276373
at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java)
at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at oracle.aurora.ejb.deployment.server.DeployEjbImpl.descriptor(DeployEjbImpl.java)
at oracle.aurora.ejb.deployment.server.DeployEjbImpl.generate(DeployEjbImpl.java)
at oracle.aurora.AuroraServices._DeployEJBImplBase._execute(_DeployEJBImplBase.java)
at oracle.aurora.AuroraServices._DeployEJBImplBase._execute(_DeployEJBImplBase.java)
at com.visigenic.vbroker.orb.SkeletonDelegateImpl.execute(SkeletonDelegateImpl.java)
at oracle.aurora.server.GiopProtocolAdapter.doRequest(GiopProtocolAdapter.java)
at com.visigenic.vbroker.orb.GiopProtocolAdapter.dispatchMessage(GiopProtocolAdapter.java)
at oracle.aurora.server.ThreadSessionDispatcher.run(ThreadSessionDispatcher.java)
at oracle.aurora.server.VCIiopConnection.processRequest(VCIiopConnection.java)
at oracle.aurora.server.GiopServer._service(GiopServer.java)
at oracle.aurora.server.GiopServer.service(GiopServer.java)
at oracle.aurora.net.VirtualCircuit.processRequest(VirtualCircuit.java)
at oracle.aurora.net.Presentation.handleRequest(Presentation.java)
Any ideas why its not deploying ?
nullTo solve that problem, you need just replace the aurora_client.jar in your
client machine located in %ORACLE_HOME%\lib\ directory with
new one from the Unix Server located in $ORACLE_HOME/lib/aurora_client.jar.
In this case you will be able to run makeit.bat script
to deploy EJB from WinNT client, if you want to use JDeveloper you have to
do the same procedure for JDevelopers libraries.
For example : E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib have also
aurora_client.jar, just replace it with new one from the Server
and you be able to run deployment using JDeveloper. -
Access Denied with EJB Deployment to 8i with JDeveloper
Hi,
I'm having a problem deploying an EJB to Oracle 8i with
JDeveloper 2.0.
I am receiving an insufficient privileges error in the
deployment process when it reaches the stage Generating EJBHome
and EJBObject on the server. I am logging in using the system,
sys, scott or internal account and all still receive the same
error. What role/privelege do I need to deploy an ejb to 8i?
Thanks in advance.
Here is a dump of the output JDeveloper produces.
*** Invoking the Oracle JDeveloper deployment utility ***
Scanning project files...done
Generating classpath dependencies...done
Generating archive entries table...done
Writing archive...done
*** Invoking the Oracle8i deployment utility ***
Reading Deployment Descriptor...done
Verifying Deployment Descriptor...done
Gathering users...done
Generating Comm Stubs...done
Compiling Stubs...done
Generating Jar File...done
Loading EJB Jar file and Comm Stubs Jar file...done
Generating EJBHome and EJBObject on the
server...oracle.aurora.server.tools.sess_iiop.ToolsException: A
SQL exception occured while compiling:
oracle.aurora.ejb.gen.test_MyEJB.EjbObject_MyEJB : ORA-01031:
insufficient privileges
at oracle.aurora.server.tools.sess_iiop.ToolImpl.error
(Compiled Code)
at oracle.aurora.ejb.deployment.GenerateEjb.generateBean
(Compiled Code)
at oracle.aurora.ejb.deployment.GenerateEjb.invoke
(Compiled Code)
at oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke
(Compiled Code)
at
oracle.jdeveloper.wizard.deployment.EJBDeployMonitor.run
(Compiled Code)
at oracle.jdeveloper.wizard.common.ProgressDialog.run
(Compiled Code)
at java.lang.Thread.run(Compiled Code)
nullChris,
Perhaps you should be checking if the user you wish to deploy
EJBs to has at least JAVAUSERPRIV.
As SYSTEM
grant JAVAUSERPRIV to <user>;
Good luck
/Mark
Chris Jones (guest) wrote:
: Hi,
: I'm having a problem deploying an EJB to Oracle 8i with
: JDeveloper 2.0.
: I am receiving an insufficient privileges error in the
: deployment process when it reaches the stage Generating EJBHome
: and EJBObject on the server. I am logging in using the system,
: sys, scott or internal account and all still receive the same
: error. What role/privelege do I need to deploy an ejb to 8i?
: Thanks in advance.
: Here is a dump of the output JDeveloper produces.
: *** Invoking the Oracle JDeveloper deployment utility ***
: Scanning project files...done
: Generating classpath dependencies...done
: Generating archive entries table...done
: Writing archive...done
: *** Invoking the Oracle8i deployment utility ***
: Reading Deployment Descriptor...done
: Verifying Deployment Descriptor...done
: Gathering users...done
: Generating Comm Stubs...done
: Compiling Stubs...done
: Generating Jar File...done
: Loading EJB Jar file and Comm Stubs Jar file...done
: Generating EJBHome and EJBObject on the
: server...oracle.aurora.server.tools.sess_iiop.ToolsException: A
: SQL exception occured while compiling:
: oracle.aurora.ejb.gen.test_MyEJB.EjbObject_MyEJB : ORA-01031:
: insufficient privileges
: at oracle.aurora.server.tools.sess_iiop.ToolImpl.error
: (Compiled Code)
: at oracle.aurora.ejb.deployment.GenerateEjb.generateBean
: (Compiled Code)
: at oracle.aurora.ejb.deployment.GenerateEjb.invoke
: (Compiled Code)
: at oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke
: (Compiled Code)
: at
: oracle.jdeveloper.wizard.deployment.EJBDeployMonitor.run
: (Compiled Code)
: at oracle.jdeveloper.wizard.common.ProgressDialog.run
: (Compiled Code)
: at java.lang.Thread.run(Compiled Code)
null -
Hi,
I try to deploy my first ejb. I'm pretty sure I have done everything right, but I'm getting errors anyway. Does anyone recognize this error message?
org.omg.CORBA.COMM_FAILURE: java.net.SocketException: JVM_recv in socket input stream read (code=10053) minor code: 0 completed: No
org.omg.CORBA.portable.InputStream com.visigenic.vbroker.orb.GiopStubDelegate.invoke(org.omg.CORBA.Object, org.omg.CORBA.portable.OutputStream, org.omg.CORBA.StringHolder, org.omg.CORBA.Context, org.omg.CORBA.ContextList)
org.omg.CORBA.portable.InputStream com.visigenic.vbroker.orb.GiopStubDelegate.invoke(org.omg.CORBA.Object, org.omg.CORBA.portable.OutputStream, org.omg.CORBA.StringHolder)
org.omg.CORBA.portable.InputStream com.inprise.vbroker.CORBA.portable.ObjectImpl._invoke(org.omg.CORBA.portable.OutputStream, org.omg.CORBA.StringHolder)
int oracle.aurora.AuroraServices._st_PublishingContext.sessionId()
int oracle.aurora.jndi.sess_iiop.SessionCtx.sessionId()
oracle.aurora.jndi.sess_iiop.SessionCtx oracle.aurora.jndi.sess_iiop.ServiceCtx.createSession()
oracle.aurora.jndi.sess_iiop.SessionCtx oracle.aurora.jndi.sess_iiop.ServiceCtx.login()
void oracle.aurora.server.tools.sess_iiop.ToolImpl.initializeSession()
java.lang.String[] oracle.aurora.server.tools.sess_iiop.ToolImpl.parseStdArgs(java.lang.String[])
void oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke(java.lang.String[], java.io.InputStream, java.io.PrintStream, java.io.PrintStream)
void oracle.aurora.ejb.deployment.GenerateEjb.main(java.lang.String[])
Exception in thread main
*** Errors occurred while deploying the EJB to 8i JVM ***
nullI increased the java_pool_size from 20 Mb to 50 Mb in init.ora. Everything works much better now.
null -
BC4J EJB deployment ; testing deployment to 8i with client application
Hi,
Is there a way to to connect a java client application to a 8i deployed BC4J using the oracle.dacf.dataset.SessionInfo ? Can we do this using the JDev wizards - property inspector ?
(I've seen in the doc :"Testing a Business Components EJB Deployed to Oracle8i with a Code Client" but the given code
// setup application module variable
ApplicationModule appMod = null;
javax.naming.Context ic = new InitialContext(env);
ApplicationModuleHome home = (ApplicationModuleHome)ic.lookup(DeployedMod);
appMod = home.create();
does not contains any SessionInfo object.)
Thanks,
XvcChris,
Perhaps you should be checking if the user you wish to deploy
EJBs to has at least JAVAUSERPRIV.
As SYSTEM
grant JAVAUSERPRIV to <user>;
Good luck
/Mark
Chris Jones (guest) wrote:
: Hi,
: I'm having a problem deploying an EJB to Oracle 8i with
: JDeveloper 2.0.
: I am receiving an insufficient privileges error in the
: deployment process when it reaches the stage Generating EJBHome
: and EJBObject on the server. I am logging in using the system,
: sys, scott or internal account and all still receive the same
: error. What role/privelege do I need to deploy an ejb to 8i?
: Thanks in advance.
: Here is a dump of the output JDeveloper produces.
: *** Invoking the Oracle JDeveloper deployment utility ***
: Scanning project files...done
: Generating classpath dependencies...done
: Generating archive entries table...done
: Writing archive...done
: *** Invoking the Oracle8i deployment utility ***
: Reading Deployment Descriptor...done
: Verifying Deployment Descriptor...done
: Gathering users...done
: Generating Comm Stubs...done
: Compiling Stubs...done
: Generating Jar File...done
: Loading EJB Jar file and Comm Stubs Jar file...done
: Generating EJBHome and EJBObject on the
: server...oracle.aurora.server.tools.sess_iiop.ToolsException: A
: SQL exception occured while compiling:
: oracle.aurora.ejb.gen.test_MyEJB.EjbObject_MyEJB : ORA-01031:
: insufficient privileges
: at oracle.aurora.server.tools.sess_iiop.ToolImpl.error
: (Compiled Code)
: at oracle.aurora.ejb.deployment.GenerateEjb.generateBean
: (Compiled Code)
: at oracle.aurora.ejb.deployment.GenerateEjb.invoke
: (Compiled Code)
: at oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke
: (Compiled Code)
: at
: oracle.jdeveloper.wizard.deployment.EJBDeployMonitor.run
: (Compiled Code)
: at oracle.jdeveloper.wizard.common.ProgressDialog.run
: (Compiled Code)
: at java.lang.Thread.run(Compiled Code)
null -
JDev 3.0/Oracle8i EJB deployment problems
When trying to deploy a simple EJB generated with the JDev 3
wizards, I get the following errors:
*** Executing deployment profile E:\Program
Files\Oracle\JDeveloper 3.0\myprojects\queueRemote.prf ***
*** Generating archive file E:\Program Files\Oracle\JDeveloper
3.0\myprojects\queueRemoteSource.jar ***
Compiling the project...done
Validating the profile...done
Initializing deployment...done
Scanning project files...done
Generating classpath dependencies...done
Generating archive entries table...done
*** Archive generation completed ***
*** Deploying the EJB to JServer ***
EJB deployment argument list:
"E:\Program Files\Oracle\JDeveloper 3.0\java\bin\javaw"
"-DPATH=E:\Program Files\Oracle\JDeveloper 3.0\bin;E:\Program
Files\Oracle\JDeveloper 3.0\java\bin"
-classpath
"E:\Program Files\Oracle\JDeveloper 3.0
\java\lib\classes.zip;E:\Program Files\Oracle\JDeveloper 3.0
\lib\jdeveloper.zip;E:\Program Files\Oracle\JDeveloper 3.0
\myclasses;E:\Program Files\Oracle\JDeveloper 3.0\lib\jdev-
rt.zip;E:\Program Files\Oracle\JDeveloper 3.0
\jdbc\lib\oracle8.1.5\classes111.zip;E:\Program
Files\Oracle\JDeveloper 3.0\lib\connectionmanager.zip;E:\Program
Files\Oracle\JDeveloper 3.0\lib\javax_ejb.zip;E:\Program
Files\Oracle\JDeveloper 3.0
\aurora\lib\aurora_client.jar;E:\Program Files\Oracle\JDeveloper
3.0\aurora\lib\vbjorb.jar;E:\Program Files\Oracle\JDeveloper 3.0
\aurora\lib\vbjapp.jar;E:\Program Files\Oracle\JDeveloper 3.0
\aurora\lib\vbjtools.jar;E:\Program Files\Oracle\JDeveloper 3.0
\aurora\lib\vbj30ssl.jar;E:\Program Files\Oracle\JDeveloper 3.0
\java1.2\jre\lib\rt.jar;E:\Program Files\Oracle\JDeveloper 3.0
\aurora\lib\aurora_client.jar;E:\Program Files\Oracle\JDeveloper
3.0\aurora\lib\vbjorb.jar;E:\Program Files\Oracle\JDeveloper 3.0
\aurora\lib\vbjapp.jar;E:\Program Files\Oracle\JDeveloper 3.0
\aurora\lib\vbjtools.jar;E:\Program Files\Oracle\JDeveloper 3.0
\aurora\lib\vbj30ssl.jar;E:\Program Files\Oracle\JDeveloper 3.0
\jdbc\lib\oracle8.1.5\classes111.zip"
oracle.aurora.ejb.deployment.GenerateEjb
-u
sys
-p
sys
-s
sess_iiop://localhost:2481:ORCL
-republish
-keep
-temp
TEMP
-descriptor
"E:\Program Files\Oracle\JDeveloper 3.0
\myprojects\queueRemote.dd"
-generated
"E:\Program Files\Oracle\JDeveloper 3.0
\myprojects\queueRemoteGenerated.jar"
"E:\Program Files\Oracle\JDeveloper 3.0
\myprojects\queueRemoteSource.jar"
org.omg.CORBA.INTERNAL[completed=MAYBE]
at
com.visigenic.vbroker.orb.GiopConnectionFactoryImpl.destroy
(GiopConnectionFactoryImpl.java:209)
at com.visigenic.vbroker.orb.GiopConnectionImpl.close
(GiopConnectionImpl.java:544)
at com.visigenic.vbroker.orb.GiopStubDelegate.invoke
(GiopStubDelegate.java:609)
at com.visigenic.vbroker.orb.GiopStubDelegate.invoke
(GiopStubDelegate.java:466)
at org.omg.CORBA.portable.ObjectImpl._invoke
(ObjectImpl.java:141)
at oracle.aurora.AuroraServices._st_LoginServer.O3Logon_B
(_st_LoginServer.java:194)
at oracle.aurora.client.Login.authenticate
(Login.java:143)
at oracle.aurora.jndi.sess_iiop.SessionCtx.login
(SessionCtx.java:574)
at oracle.aurora.jndi.sess_iiop.SessionCtx.login
(SessionCtx.java:568)
at oracle.aurora.jndi.sess_iiop.ServiceCtx.login
(ServiceCtx.java:299)
at
oracle.aurora.server.tools.sess_iiop.ToolImpl.initializeSession
(ToolImpl.java:101)
at
oracle.aurora.server.tools.sess_iiop.ToolImpl.parseStdArgs
(ToolImpl.java:213)
at oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke
(ToolImpl.java:121)
at oracle.aurora.ejb.deployment.GenerateEjb.main
(GenerateEjb.java:509)
*** Errors occurred while deploying the EJB to JServer ***
*** Deployment completed ***
Any suggestions as to what is happening would be greatly
appreciated.
Sean
nullAssuming that you have done the 'right' tinkg and changed the
password for the user SYS, then you are running into a JServer
bug. When the password file on the server and the user SYS
password in the rdbms get out of synch, this bug crops up (the
instance will be killed, immediately and with prejudice). The
solution is to:
-shut down the rdbms
-disable the password file in the INIT.ORA by setting the
parameter to EXCLUSIVE. Sorry the exact parameter change escapes
me at the moment, I have posted it earlier in this forum so you
can probably find it there if you don't already know it.
-restart the rdbms and change the sys password (again)
-you can then re-enable the password file if you need.
That's it. You will now be able to connect as SYS either via the
deployejb utility or session shell w/o bringing down the
database.
null -
Why is it that if I deploy my EJBs with the Source, Generated and DD files located on C: drive and it works, but if I move these files to a network drive and change my deployment to point to the network files it gives me "file not found" errors for the xxxSource.jar, xxxGenerated.jar etc.. ?
eg. Where N: is a network drive
oracle.aurora.ejb.deployment.GenerateEjb
-u
system
-p
manager
-s
sess_iiop://xxxxx:2481:bgdvl8
-republish
-keep
-temp
TEMP
-descriptor
"N:\SRC\System\Mail\smtp\SMTPEJB.dd"
-generated
"N:\SRC\System\Mail\smtp\SMTPEJBGenerated1.jar"
"N:\SRC\System\Mail\smtp\SMTPEJBSource1.jar"
N:/SRC/System/Mail/smtp/SMTPEJBSource1.jar: No such file or directory
*** Errors occurred while deploying the EJB to JServer ***
*** Deployment completed ***Try changing Meta-inf to META-INF... I think it is case sensitive in at least some servers (maybe all).
-
Ejb Deployment using JDeveloper
i am using sunsolaris version 5.6 on which we have installed Oracle 8.1.7 database enterprise
edition. And when i am trying to deploy Enterprise Java Bean (Session Bean) on Oracle 8.1.7 using
JDeveloper 3.2 i am getting following error on message screen of jdeveloper :-
oracle.aurora.ejb.deployment.GenerateEjb
-u
ssc_admin
-p
ssc_proj
-s
sess_iiop://10.232.1.27:54754:rbsdevp
-republish
-keep
-temp
TEMP
-descriptor
"C:\Program Files\Oracle\JDeveloper 3.2\myprojects\Trail.xml"
-oracledescriptor
C:\Program Files\Oracle\JDeveloper 3.2\myprojects\Trail_oracle.xml
-generated
"C:\Program Files\Oracle\JDeveloper 3.2\myprojects\TrailGenerated.jar"
"C:\Program Files\Oracle\JDeveloper 3.2\myprojects\TrailSource.jar"
Reading Deployment Descriptor...done
Verifying Deployment Descriptor...done
Gathering users...done
Generating Comm Stubs.......................................done
Compiling Stubs...done
Generating Jar File...done
Loading EJB Jar file and Comm Stubs Jar file...done
Generating EJBHome and EJBObject on the server...
Message [IOEXCEPTION_DESERIALIZING] not found in 'oracle.aurora.ejb.deployment.server.Messages'.
*** Errors occurred while deploying the EJB to 8i JVM ***
*** Deployment completed ***
And the Trace file in the server gives following error :-
*** 2001-02-15 11:47:23.600
*** SESSION ID:(10.11) 2001-02-15 11:47:23.600
java.io.InvalidClassException: oracle.aurora.ejb.dd.DeploymentDescriptor; Local class not
compatible: stream classdesc serialVersionUID=59662438620610069 local class
serialVersionUID=-4578117701936276373
at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java)
at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java)
at oracle.aurora.ejb.deployment.server.DeployEjbImpl.descriptor(DeployEjbImpl.java)
at oracle.aurora.ejb.deployment.server.DeployEjbImpl.generate(DeployEjbImpl.java)
at oracle.aurora.AuroraServices._DeployEJBImplBase._execute(_DeployEJBImplBase.java)
at oracle.aurora.AuroraServices._DeployEJBImplBase._execute(_DeployEJBImplBase.java)
at com.visigenic.vbroker.orb.SkeletonDelegateImpl.execute(SkeletonDelegateImpl.java)
at oracle.aurora.server.GiopProtocolAdapter.doRequest(GiopProtocolAdapter.java)
at com.visigenic.vbroker.orb.GiopProtocolAdapter.dispatchMessage(GiopProtocolAdapter.java)
at oracle.aurora.server.ThreadSessionDispatcher.run(ThreadSessionDispatcher.java)
at oracle.aurora.server.VCIiopConnection.processRequest(VCIiopConnection.java)
at oracle.aurora.server.GiopServer._service(GiopServer.java)
at oracle.aurora.server.GiopServer.service(GiopServer.java)
at oracle.aurora.net.VirtualCircuit.processRequest(VirtualCircuit.java)
at oracle.aurora.net.Presentation.handleRequest(Presentation.java)
Can anybody help me out.
nullThis is a known bug, EJB deployment from JDev 3.2 on NT to 8i JVM on Solaris does not work, but works if the JVM is on NT.
-
Ejb Deployment - Please help ?????
I am using Oracle 8.1.7 database ( Oarcle 9i App Server ) & JDeveloper 3.2 , but i am Unable to Deploy The BC4j as a Session bean in Oracle 9i App Server .
Can u please help me Out , in Getting it work Sucessfully .
Below is the Command Output .....
EJB deployment argument list:
"D:\Program Files\JDeveloper 3.2\java1.2\jre\bin\javaw"
"-DPATH=D:\Program Files\JDeveloper 3.2\bin;D:\Program Files\JDeveloper 3.2\java1.2\bin"
-classpath
"D:\Program Files\JDeveloper 3.2\aurora\lib\aurora_client.jar;D:\Program Files\JDeveloper 3.2\lib\javax-ssl-1_2.jar;D:\Program Files\JDeveloper 3.2\aurora\lib\jasper.zip;D:\Program Files\JDeveloper 3.2\aurora\lib\vbjorb.jar;D:\Program Files\JDeveloper 3.2\aurora\lib\vbjapp.jar;D:\Program Files\JDeveloper 3.2\aurora\lib\vbjtools.jar;D:\Program Files\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;D:\Program Files\JDeveloper 3.2\aurora\lib\aurora.zip;D:\Program Files\JDeveloper 3.2\sqlj\lib\translator.zip;D:\Program Files\JDeveloper 3.2\sqlj\lib\runtime.zip;D:\Program Files\JDeveloper 3.2\aurora\lib\mts.jar;E:\JDEV\OurTest;D:\Program Files\JDeveloper 3.2\lib\jbojdbcpatch.zip;D:\Program Files\JDeveloper 3.2\lib\jbodomorcl.zip;D:\Program Files\JDeveloper 3.2\lib\jbodatum12.zip;D:\Program Files\JDeveloper 3.2\lib\jdev-rt.zip;D:\Program Files\JDeveloper 3.2\jdbc\lib\oracle8.1.7\classes12.zip;D:\Program Files\JDeveloper 3.2\lib\connectionmanager.zip;D:\Program Files\JDeveloper 3.2\lib\javax_ejb.zip;D:\Program Files\JDevelope
3.2\lib\jbomt.zip;D:\Program Files\JDeveloper 3.2\lib\jboremote.zip;D:\Program Files\JDeveloper 3.2\lib\jndi.jar;D:\Program Files\JDeveloper 3.2\lib\xmlparserv2.jar;D:\Program Files\JDeveloper 3.2\lib\jbotester.zip;D:\Program Files\JDeveloper 3.2\aurora\lib\aurora_client.jar;D:\Program Files\JDeveloper 3.2\lib\javax-ssl-1_2.jar;D:\Program Files\JDeveloper 3.2\aurora\lib\jasper.zip;D:\Program Files\JDeveloper 3.2\aurora\lib\vbjorb.jar;D:\Program Files\JDeveloper 3.2\aurora\lib\vbjapp.jar;D:\Program Files\JDeveloper 3.2\aurora\lib\vbjtools.jar;D:\Program Files\JDeveloper 3.2\aurora\lib\vbj30ssl.jar;D:\Program Files\JDeveloper 3.2\aurora\lib\aurora.zip;D:\Program Files\JDeveloper 3.2\sqlj\lib\translator.zip;D:\Program Files\JDeveloper 3.2\sqlj\lib\runtime.zip;D:\Program Files\JDeveloper 3.2\aurora\lib\mts.jar;D:\Program Files\JDeveloper 3.2\lib\jbocmp.zip;D:\Program Files\JDeveloper 3.2\java1.2\jre\lib\rt.jar;D:\Program Files\JDeveloper 3.2\lib\xmlparserv2.jar"
oracle.aurora.ejb.deployment.GenerateEjb
-u
scott
-p
tiger
-s
sess_iiop://208.13.222.141:2481:CTPOS
-republish
-keep
-temp
TEMP
-descriptor
"D:\Program Files\JDeveloper 3.2\myprojects\Emp.xml"
-oracledescriptor
D:\Program Files\JDeveloper 3.2\myprojects\Emp_oracle.xml
-generated
"D:\Program Files\JDeveloper 3.2\myprojects\EmpGenerated.jar"
"D:\Program Files\JDeveloper 3.2\myprojects\EmpSource.jar"
org.omg.CORBA.COMM_FAILURE: java.io.IOException: Peer disconnected socket minor code: 0 completed: No
org.omg.CORBA.portable.InputStream com.visigenic.vbroker.orb.GiopStubDelegate.invoke(org.omg.CORBA.Object, org.omg.CORBA.portable.OutputStream, org.omg.CORBA.StringHolder, org.omg.CORBA.Context, org.omg.CORBA.ContextList)
org.omg.CORBA.portable.InputStream com.visigenic.vbroker.orb.GiopStubDelegate.invoke(org.omg.CORBA.Object, org.omg.CORBA.portable.OutputStream, org.omg.CORBA.StringHolder)
org.omg.CORBA.portable.InputStream com.inprise.vbroker.CORBA.portable.ObjectImpl._invoke(org.omg.CORBA.portable.OutputStream, org.omg.CORBA.StringHolder)
byte[] oracle.aurora.AuroraServices._st_LoginServer.O3Logon_A_Locale(java.lang.String, oracle.aurora.AuroraServices.Locale)
boolean oracle.aurora.client.Login.authenticate(java.lang.String, java.lang.String, java.lang.String)
boolean oracle.aurora.jndi.sess_iiop.SessionCtx.login(java.lang.String, java.lang.String, java.lang.String)
boolean oracle.aurora.jndi.sess_iiop.SessionCtx.login()
oracle.aurora.jndi.sess_iiop.SessionCtx oracle.aurora.jndi.sess_iiop.ServiceCtx.login()
void oracle.aurora.server.tools.sess_iiop.ToolImpl.initializeSession()
java.lang.String[] oracle.aurora.server.tools.sess_iiop.ToolImpl.parseStdArgs(java.lang.String[])
void oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke(java.lang.String[], java.io.InputStream, java.io.PrintStream, java.io.PrintStream)
void oracle.aurora.ejb.deployment.GenerateEjb.main(java.lang.String[])
Exception in thread main
*** Errors occurred while deploying the EJB to 8i JVM ***
*** Deployment completed ***
nullthere area couple of notes at the following location which describe how to setup ias 9i and then deploy bc4k app's to it .
http://technet.oracle.com/docs/products/jdev/howto.html -
Entity EJB deployment on Oracle through JDeveloper 3.2
I have a project which is using Oracle 9iAS as the for the web server. There were intial plans to use the 8i database within the 9iAS machine as the place where the EJBs would be stored. There was a comment from the Oracle support people that the EJBs would be better off stored on the backend. We are trying to do the same.
We have experienced mainly two problems
1) While trying to deploy the container managed beans through JDeveloper, just after creating the deployment profile, an error ORA - 00904 comes up. (no columns). Then there is a prompt to install BC4J. On doing that the error comes up again and while it goes further, it says 'Exhausted ResultSet'. But the BMP entity beans are working OK.
2) We had a bug report from the Oracle people on entity bean support through JDeveloper on non-NT machines. But we have been trying to deploy beans on the Solaris DB using JDeveloper and we keep getting 'peer socket disconnected errors'. I'll try the workaround which was suggestesd by the Oracle people to solve the problem and get back on this.
I don't know how Oracle will measure up to the performance when EJBs are running. But the problems mentioned above would have to be solved first.
Can anyone help out?
Thanks in advance.
Aby PhilipI can't resist a comment here. Oracle folks seem to always recommend putting the EJBs in back-end database. How many real-world enterprise-scale applications (i.e., one's that would need EJBs at all) have a non-shared back-end database? And in those cases, who in their right mind would accept running application code in the back-end database? I guess Oracle just hasn't really bought in to the concept of multi-tiered applications. The whole reason for separating the business logic tier from the EIS tier is to insulate the EIS services from the demands of the business logic code.
So from that perspective, I would highly recommend running an 8.1.7 instance in your middle tier to house your EJBs. Then you can hook up to your EIS tier either with database links, or (for better performance) by caching data in the EJB database from the EIS tier.
As for your specific issues, I can't help with the first. On issue 2, I am installing the 8.1.7.1 patch set today and I'll let you know if it fixes the JDeveloper --> Solaris deployment problem.
John H. -
Is it possible to deploy Java application in Oracle 9iAS
We have a stadard 3-tier system implemented in Java with a presentation-tier(servlets, JSP), middle-tier(business logic, transactions) and a data-tier(Java classes that hold all SQL and so on).
NB We're NOT using EJB's!
For the moment we are running Oracle HTTP server with Apache, Jserv, Ojsp and JRE 1.2.2.
We are now interested in using Oracle 9iAS as application server and we have a few questions about it.
1) Is it possible to to run our Java-code inside Oracle 9iAS?
2) If it is possible, should we run the servlets and JSP there too?
Regards PeterAn interesting fact about 9iAS - unless you do some work to change things around, 9iAS = Apache/JServ. So yes you can deploy your app to it. However, OJSP is a technet product so don't expect any tech support. And Oracle won't let you upgrade JServ to Tomcat, so don't expect Servlet 2.2. And if you want to use Orace Servlet Engine to get Servlet 2.2, you might run into some deployment and performance issues. Read my posting in the 9i Application Server forum.
If, however, you try and meet with more success than I have so far, I will be happy to learn from your experience <grin>.
John H. -
Oracle Application Server 10.1.3 EJB Deployment Error
Hi ,
I am keep getting following error when try to deploy my ear files in 10.1.3. standalone env.
my ejb-jar.xml looks is
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<enterprise-beans>
<session>
<description>Session Facade Bean ( Stateless )</description>
<display-name>FacadeBean</display-name>
<ejb-name>FacadeBean</ejb-name>
<home>com.sjrwmd.dmsap.ejb.FacadeBeanHome</home>
<remote>com.sjrwmd.dmsap.ejb.FacadeBeanRemote</remote>
<ejb-class>com.sjrwmd.dmsap.ejb.FacadeBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
</session>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>FacadeBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
Your help appriciated
Thank You
Jigar
2006-02-08 17:13:40.670 NOTIFICATION JMS Router is initiating ...
2006-02-08 17:13:55.702 NOTIFICATION Application Deployer for dmsap STARTS.
2006-02-08 17:13:55.733 NOTIFICATION Copy the archive to C:\JDev1013\j2ee\home\applications\dmsap.ear
2006-02-08 17:13:55.733 NOTIFICATION Initialize ./applications\dmsap.ear begins...
2006-02-08 17:13:55.733 NOTIFICATION Removing everything under: C:\JDev1013\j2ee\home\.\applications\dmsap
2006-02-08 17:13:55.733 NOTIFICATION Auto-unpacking C:\JDev1013\j2ee\home\.\applications\dmsap.ear...
2006-02-08 17:13:55.733 NOTIFICATION Unpacking dmsap.ear
2006-02-08 17:13:55.733 NOTIFICATION Unjar C:\JDev1013\j2ee\home\.\applications\dmsap.ear in C:\JDev1013\j2ee\home\.\applications\dmsap
2006-02-08 17:13:55.998 NOTIFICATION Done unpacking dmsap.ear
2006-02-08 17:13:55.998 NOTIFICATION Finished auto-unpacking C:\JDev1013\j2ee\home\.\applications\dmsap.ear
2006-02-08 17:13:56.045 NOTIFICATION Auto-unpacking C:\JDev1013\j2ee\home\applications\dmsap\dmsap-web.war...
2006-02-08 17:13:56.045 NOTIFICATION Unpacking dmsap-web.war
2006-02-08 17:13:56.045 NOTIFICATION Unjar C:\JDev1013\j2ee\home\applications\dmsap\dmsap-web.war in C:\JDev1013\j2ee\home\applications\dmsap\dmsap-web
2006-02-08 17:13:56.498 NOTIFICATION Done unpacking dmsap-web.war
2006-02-08 17:13:56.498 NOTIFICATION Finished auto-unpacking C:\JDev1013\j2ee\home\applications\dmsap\dmsap-web.war
2006-02-08 17:13:56.498 NOTIFICATION Auto-unpacking C:\JDev1013\j2ee\home\applications\dmsap\uploaddirapp.jar...
2006-02-08 17:13:56.498 NOTIFICATION Unpacking uploaddirapp.jar
2006-02-08 17:13:56.498 NOTIFICATION Unjar C:\JDev1013\j2ee\home\applications\dmsap\uploaddirapp.jar in C:\JDev1013\j2ee\home\applications\dmsap\uploaddirapp
2006-02-08 17:13:56.748 NOTIFICATION Done unpacking uploaddirapp.jar
2006-02-08 17:13:56.748 NOTIFICATION Finished auto-unpacking C:\JDev1013\j2ee\home\applications\dmsap\uploaddirapp.jar
2006-02-08 17:13:56.748 NOTIFICATION Auto-unpacking C:\JDev1013\j2ee\home\applications\dmsap\downloadfileapp.jar...
2006-02-08 17:13:56.764 NOTIFICATION Unpacking downloadfileapp.jar
2006-02-08 17:13:56.764 NOTIFICATION Unjar C:\JDev1013\j2ee\home\applications\dmsap\downloadfileapp.jar in C:\JDev1013\j2ee\home\applications\dmsap\downloadfileapp
2006-02-08 17:13:56.967 NOTIFICATION Done unpacking downloadfileapp.jar
2006-02-08 17:13:56.967 NOTIFICATION Finished auto-unpacking C:\JDev1013\j2ee\home\applications\dmsap\downloadfileapp.jar
2006-02-08 17:13:56.983 NOTIFICATION Initialize ./applications\dmsap.ear ends...
2006-02-08 17:13:56.983 NOTIFICATION Starting application : dmsap
2006-02-08 17:13:56.983 NOTIFICATION Initializing ClassLoader(s)
2006-02-08 17:13:56.983 NOTIFICATION Initializing EJB container
2006-02-08 17:13:56.983 NOTIFICATION Loading connector(s)
2006-02-08 17:13:57.295 NOTIFICATION Starting up resource adapters
2006-02-08 17:13:57.295 NOTIFICATION Processing EJB module: dmsap-ejb.jar
2006-02-08 17:13:57.405 ERROR J2EE EJB3027 [dmsap] An error occured deploying EJB module: com.evermind.server.ejb.deployment.InvalidEJBAssemblyException: [dmsap:dmsap-ejb:FacadeBean] - Unable to load ejb-class com.sjrwmd.dmsap.ejb.FacadeBean, see section 23.2 of the EJB 2.1 specificationoracle.classloader.util.AnnotatedClassFormatError: com.sjrwmd.dmsap.ejb.FacadeBean
Invalid class: com.sjrwmd.dmsap.ejb.FacadeBean
Loader: dmsap.root:0.0.0
Code-Source: /C:/JDev1013/j2ee/home/applications/dmsap/dmsap-ejb.jar
Configuration: <ejb> in C:\JDev1013\j2ee\home\applications\dmsap
Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
Loader: oc4j:10.1.3
Code-Source: /C:/JDev1013/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in META-INF/boot.xml in C:\JDev1013\j2ee\home\oc4j.jar
2006-02-08 17:13:57.405 NOTIFICATION application : dmsap is in failed state
Feb 8, 2006 5:13:57 PM com.evermind.server.Application setConfig
WARNING: Application: dmsap is in failed state as initialization failedjava.lang.InstantiationException: Error initializing ejb-modules: [dmsap:dmsap-ejb:FacadeBean] - Unable to load ejb-class com.sjrwmd.dmsap.ejb.FacadeBean, see section 23.2 of the EJB 2.1 specificationoracle.classloader.util.AnnotatedClassFormatError: com.sjrwmd.dmsap.ejb.FacadeBean
Invalid class: com.sjrwmd.dmsap.ejb.FacadeBean
Loader: dmsap.root:0.0.0
Code-Source: /C:/JDev1013/j2ee/home/applications/dmsap/dmsap-ejb.jar
Configuration: <ejb> in C:\JDev1013\j2ee\home\applications\dmsap
Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
Loader: oc4j:10.1.3
Code-Source: /C:/JDev1013/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in META-INF/boot.xml in C:\JDev1013\j2ee\home\oc4j.jar
06/02/08 17:13:57 oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Error initializing ejb-modules: [dmsap:dmsap-ejb:FacadeBean] - Unable to load ejb-class com.sjrwmd.dmsap.ejb.FacadeBean, see section 23.2 of the EJB 2.1 specificationoracle.classloader.util.AnnotatedClassFormatError: com.sjrwmd.dmsap.ejb.FacadeBean
Invalid class: com.sjrwmd.dmsap.ejb.FacadeBean
Loader: dmsap.root:0.0.0
Code-Source: /C:/JDev1013/j2ee/home/applications/dmsap/dmsap-ejb.jar
Configuration: <ejb> in C:\JDev1013\j2ee\home\applications\dmsap
Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
Loader: oc4j:10.1.3
Code-Source: /C:/JDev1013/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in META-INF/boot.xml in C:\JDev1013\j2ee\home\oc4j.jar
06/02/08 17:13:57 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:510)
06/02/08 17:13:57 at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:191)
06/02/08 17:13:57 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
06/02/08 17:13:57 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
06/02/08 17:13:57 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
06/02/08 17:13:57 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
06/02/08 17:13:57 at java.lang.Thread.run(Thread.java:534)
06/02/08 17:13:57 Caused by: java.lang.InstantiationException: Error initializing ejb-modules: [dmsap:dmsap-ejb:FacadeBean] - Unable to load ejb-class com.sjrwmd.dmsap.ejb.FacadeBean, see section 23.2 of the EJB 2.1 specificationoracle.classloader.util.AnnotatedClassFormatError: com.sjrwmd.dmsap.ejb.FacadeBean
Invalid class: com.sjrwmd.dmsap.ejb.FacadeBean
Loader: dmsap.root:0.0.0
Code-Source: /C:/JDev1013/j2ee/home/applications/dmsap/dmsap-ejb.jar
Configuration: <ejb> in C:\JDev1013\j2ee\home\applications\dmsap
Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
Loader: oc4j:10.1.3
Code-Source: /C:/JDev1013/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in META-INF/boot.xml in C:\JDev1013\j2ee\home\oc4j.jar
06/02/08 17:13:57 at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1056)
06/02/08 17:13:57 at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:210)
06/02/08 17:13:57 at com.evermind.server.Application.setConfig(Application.java:391)
06/02/08 17:13:57 at com.evermind.server.Application.setConfig(Application.java:308)
06/02/08 17:13:57 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1771)
06/02/08 17:13:57 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:507)
06/02/08 17:13:57 ... 6 more
06/02/08 17:13:57 Caused by: com.evermind.server.ejb.deployment.InvalidEJBAssemblyException: [dmsap:dmsap-ejb:FacadeBean] - Unable to load ejb-class com.sjrwmd.dmsap.ejb.FacadeBean, see section 23.2 of the EJB 2.1 specificationoracle.classloader.util.AnnotatedClassFormatError: com.sjrwmd.dmsap.ejb.FacadeBean
Invalid class: com.sjrwmd.dmsap.ejb.FacadeBean
Loader: dmsap.root:0.0.0
Code-Source: /C:/JDev1013/j2ee/home/applications/dmsap/dmsap-ejb.jar
Configuration: <ejb> in C:\JDev1013\j2ee\home\applications\dmsap
Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
Loader: oc4j:10.1.3
Code-Source: /C:/JDev1013/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in META-INF/boot.xml in C:\JDev1013\j2ee\home\oc4j.jar
06/02/08 17:13:57 at com.evermind.server.ejb.exception.ValidationExceptions.unableToLoadEJBClass(ValidationExceptions.java:36)
06/02/08 17:13:57 at com.evermind.server.ejb.deployment.BeanDescriptor.initialize(BeanDescriptor.java:298)
06/02/08 17:13:57 at com.evermind.server.ejb.deployment.ExposableBeanDescriptor.initialize(ExposableBeanDescriptor.java:158)
06/02/08 17:13:57 at com.evermind.server.ejb.deployment.SessionBeanDescriptor.initialize(SessionBeanDescriptor.java:190)
06/02/08 17:13:57 at com.evermind.server.ejb.deployment.EJBPackage.initialize(EJBPackage.java:814)
06/02/08 17:13:57 at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:855)
06/02/08 17:13:57 ... 11 more
06/02/08 17:13:57 Caused by: oracle.classloader.util.AnnotatedClassFormatError: com.sjrwmd.dmsap.ejb.FacadeBean
Invalid class: com.sjrwmd.dmsap.ejb.FacadeBean
Loader: dmsap.root:0.0.0
Code-Source: /C:/JDev1013/j2ee/home/applications/dmsap/dmsap-ejb.jar
Configuration: <ejb> in C:\JDev1013\j2ee\home\applications\dmsap
Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
Loader: oc4j:10.1.3
Code-Source: /C:/JDev1013/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in META-INF/boot.xml in C:\JDev1013\j2ee\home\oc4j.jar
06/02/08 17:13:57 at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2268)
06/02/08 17:13:57 at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1457)
06/02/08 17:13:57 at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
06/02/08 17:13:57 at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
06/02/08 17:13:57 at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1660)
06/02/08 17:13:57 at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1621)
06/02/08 17:13:57 at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1606)
06/02/08 17:13:57 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
06/02/08 17:13:57 at java.lang.Class.forName0(Native Method)
06/02/08 17:13:57 at java.lang.Class.forName(Class.java:219)
06/02/08 17:13:57 at com.evermind.server.ejb.deployment.BeanDescriptor.initialize(BeanDescriptor.java:296)
06/02/08 17:13:57 ... 15 more
06/02/08 17:13:57 Caused by: java.lang.UnsupportedClassVersionError: com.sjrwmd.dmsap.ejb.FacadeBean
06/02/08 17:13:57 at java.lang.ClassLoader.defineClass0(Native Method)
06/02/08 17:13:57 at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
06/02/08 17:13:57 at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2224)
06/02/08 17:13:57 ... 25 more
2006-02-08 17:13:57.545 NOTIFICATION Application Deployer for dmsap FAILED.
2006-02-08 17:13:57.545 NOTIFICATION Application UnDeployer for dmsap STARTS.
2006-02-08 17:13:59.045 NOTIFICATION Removing all web binding(s) for application dmsap from all web site(s)
2006-02-08 17:13:59.795 NOTIFICATION Application UnDeployer for dmsap COMPLETES.
2006-02-08 17:13:59.795 WARNING java.lang.InstantiationException: Error initializing ejb-modules: [dmsap:dmsap-ejb:FacadeBean] - Unable to load ejb-class com.sjrwmd.dmsap.ejb.FacadeBean, see section 23.2 of the EJB 2.1 specificationoracle.classloader.util.AnnotatedClassFormatError: com.sjrwmd.dmsap.ejb.FacadeBean
Invalid class: com.sjrwmd.dmsap.ejb.FacadeBean
Loader: dmsap.root:0.0.0
Code-Source: /C:/JDev1013/j2ee/home/applications/dmsap/dmsap-ejb.jar
Configuration: <ejb> in C:\JDev1013\j2ee\home\applications\dmsap
Dependent class: com.evermind.server.ejb.deployment.BeanDescriptor
Loader: oc4j:10.1.3
Code-Source: /C:/JDev1013/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in META-INF/boot.xml in C:\JDev1013\j2ee\home\oc4j.jarA point of clarification: Using JDK 1.5, it compiles and "tries" to start, but then gives this error : Unable to load ejb-class com.MyTestEJB see section 23.2 of the EJB 2.1 specificationjava.lang.ExceptionInInitializerError: java.lang.NullPointerException
There are other EJB which are deploying fine.
I really can't tell why one is deploying but this one is not.
Thanks
Maybe you are looking for
-
Hi, I just received an IPOD shuffle and have seemed to install it correctly. I already had Itunes on my laptop and even updated it. The ipod is recognized by Windows and by ITunes. It even seems to copy the files to the Ipod but when I disconnect it
-
How can I disable my USB port?
I need to temporarly disable my USB ports on my powerbook.
-
Loading amount field of length 22,9
Hi, My requirement is to load an amount field with length 22 and 9 decimal places. If it is possible then how ? Thanks in Advance
-
Using PPCI to delete OM Infotype
hi,all When I use the tcode:PPCI "infotype"menu ->"delete" to delete the OM IT,the function can't delete all the data of this IT . At the tcode:PPCI's screen , click the "create" button,then at the new screen click the "check" button,you
-
Husband registered phone on iTunes and now it won't recognize mine!
My husband got an iPhone for Fathers day. The rep told us to register and sync it to the same iTunes account so that we could share songs and apps. He hooked it up this morning and got it registered fine. I then went to hook my phone up to do some sy