Error while deploying Entity Beans on OC4J 10.1.3
Hi,
We have 350 entity beans in our system. Recently a new table is created as per following script.
CREATE TABLE TBLSMDTATTRIBUTECATREL
MDTCATEGORYID CHAR(7),
ATTRIBUTECATEGORYID CHAR(10),
CONSTRAINT PK_MDTATTRIBUTECATREL PRIMARY KEY (MDTCATEGORYID,ATTRIBUTECATEGORYID)
Entity Bean for the same has been created. While deploying I am facing the following error.
06/06/11 13:09:23 Notification ==> Error while compiling EJB component: file:/export/home/oc4j/j2ee/home/applications/JispAppEntities/billing-entities.jar
com.evermind.compiler.CompilationException: Method public abstract java.lang.String com.elitecore.billing.ejb.system.entity.MdtattributecatrelCMP.getMdtcategoryid() can not be declared abstract for entity 'Mdtattributecatrel'
at com.evermind.server.ejb.compilation.CMPObjectCompilation.verifyMethods(CMPObjectCompilation.java:800)
at com.evermind.server.ejb.compilation.CMPObjectCompilation.<init>(CMPObjectCompilation.java:55)
at com.evermind.server.ejb.compilation.PersistenceManagerCompilation.<init>(PersistenceManagerCompilation.java:26)
at com.evermind.server.ejb.compilation.EntityBeanCompilation.<init>(EntityBeanCompilation.java:121)
at com.evermind.server.ejb.compilation.Compilation.generateAnyOldStyle(Compilation.java:1593)
at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:181)
at com.evermind.server.ejb.compilation.Compilation.doGenerateCode(Compilation.java:249)
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:971)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:205)
at com.evermind.server.Application.setConfig(Application.java:387)
at com.evermind.server.Application.setConfig(Application.java:304)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1651)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:402)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:158)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:440)
at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:341)
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:324)
at com.evermind.server.rmi.ServerRmiMessageHandler.doMethodCall(ServerRmiMessageHandler.java:560)
at com.evermind.server.rmi.ServerRmiMessageHandler.handleMethodInvocation(ServerRmiMessageHandler.java:471)
at com.evermind.server.rmi.ServerRmiMessageHandler.handleOrmiRequest(ServerRmiMessageHandler.java:262)
at com.evermind.server.rmi.ServerRmiMessageHandler.dispatchRequest(ServerRmiMessageHandler.java:231)
at com.evermind.server.rmi.RMIServerConnection.processReceivedCommand(RMIServerConnection.java:155)
at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:151)
at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:126)
at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:105)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:534)
Can anybody please suggest the solution?
Thanks in advance.
Regards,
Jinal Shah
Hi,
The error was coming because of the table structure. All the columns were composite keys. I alter the structured by removing composite keys and added a new column as primary key. Now it is getting deployed successfully.
Can anybody comment on such a behaviour of OC4J?
Regards,
Jinal Shah
Similar Messages
-
Error While deploying Entity Bean
Hi,
We are using JDeveloper 3.2.2 to deploy EJB into Oracle 9ias (Oracle 8.1.7 database). The following error occured while deploying entity bean.
"Persistence provider declared in the deployment descriptor is not supported
*** Errors occurred while deploying the EJB to 8i JVM ***
*** Deployment completed ***"
Please help us with the solution if anyone have come across this kind of error.
Regards
Santhosh
nullThank you Raghu, We were in a position to deploy the entity bean to the database. We solved the problem by adding the following parameters to the init.ora file
(a) Java_max_sessionspace_size
(b) java_soft_sessionspace_limit
When I tried to create an EJB for a table in another schema, it started deploying the BC4J to that schama also. Is it necessary that BC4J should deploy in all the schemas of the database ? Can I deploy BC4J to one schema and grant required permissions to others users or create public synonym for BC4J ? Can you please tell me how I can deploy BC4J globally for an instance of Oracle (Applicable to all the schemas in that instance) ?
Santhosh -
Oracle Application Server 10.1.3, error when deploying entity bean
I am using 9.0.4.2 and am planning to upgrade to 10.1.3. When trying to deploy the application to 10.1.3 I get the following error for an Entity Bean with Container Managed Persistence
006-03-20 10:05:51.436 NOTIFICATION Error while compiling EJB component: file:/C:/oc4j/j2ee/home/ap
plications/ipower/InstitutionMgrSer-EJB.jar
06/03/20 10:05:51 WARNING: EJBContainer.postInit Error generating wrappers for file:/C:/oc4j/j2ee/ho
me/applications/ipower/InstitutionMgrSer-EJB.jarcom.evermind.compiler.CompilationException: Method p
ublic abstract int com.eplinc.gv.bus.instmgr.AccessibleTrailerBean.getInstitution() can not be decla
red abstract for entity 'AccessibleTrailerBean'
at com.evermind.server.ejb.compilation.CMPObjectCompilation.verifyMethods(CMPObjectCompilati
on.java:782)
at com.evermind.server.ejb.compilation.CMPObjectCompilation.<init>(CMPObjectCompilation.java
:56)
at com.evermind.server.ejb.compilation.PersistenceManagerCompilation.<init>(PersistenceManag
erCompilation.java:30)
at com.evermind.server.ejb.compilation.EntityBeanCompilation.<init>(EntityBeanCompilation.ja
va:121)
at com.evermind.server.ejb.compilation.Compilation.generateAnyOldStyle(Compilation.java:1590
at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:182)
at com.evermind.server.ejb.compilation.Compilation.doGenerateCode(Compilation.java:250)
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:891)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning
.java:210)
at com.evermind.server.Application.setConfig(Application.java:391)
at com.evermind.server.Application.setConfig(Application.java:308)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1771)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:50
7)
What am I missing? Note that on 9.0.4.2 and its previous versions the deployment was successful.We use EJB2.0 and as per the specifications entity class and getters/setters should be abstract. This is what we have. I have verified the dtd used in ejb-jars and it has references to the correct version. Here is an example <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">. Also the tag <cmp-version>2.x</cmp-version> is included for all the entity beans.
Now I am just curious to know if anyone has tried deploying Entity Beans 2.0 on a 10.1.3? and if so was the deployment successful? -
Error while deploying entity javabean (CMP)
Hello,
I have a problem while I'm trying to deploy an entity javabean (with container managed persistance). I'm using JDeveloper 3.2.3 and 8.1.7.2 database.
Here is the error I get:
*** Executing deployment profile E:\Xaris\JDeveloper\General\EJBs\EmpCmp\EmpCmp.prf ***
*** Generating archive file E:\Xaris\JDeveloper\General\EJBs\EmpCmp\empcmp.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 8i JVM ***
EJB deployment argument list:
"E:\Program Files\Oracle\JDeveloper 3.2.3\java1.2\jre\bin\javaw"
"-DPATH=E:\Program Files\Oracle\JDeveloper 3.2.3\bin;E:\Program Files\Oracle\JDeveloper 3.2.3\java1.2\bin"
-classpath
"E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\aurora_client.jar;E:\Program Files\Oracle\JDeveloper 3.2.3\lib\javax-ssl-1_2.jar;E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\jasper.zip;E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\vbjorb.jar;E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\vbjapp.jar;E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\vbjtools.jar;E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\vbj30ssl.jar;E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\aurora.zip;E:\Program Files\Oracle\JDeveloper 3.2.3\sqlj\lib\translator.zip;E:\Program Files\Oracle\JDeveloper 3.2.3\sqlj\lib\runtime.zip;E:\Program Files\Oracle\JDeveloper 3.2.3\aurora\lib\mts.jar;E:\Xaris\JDeveloper\General\EJBs\EmpCmp\classes;E:\Program Files\Oracle\JDeveloper 3.2.3\lib\jdev-rt.zip;E:\Program Files\Oracle\JDeveloper 3.2.3\jdbc\lib\oracle8.1.7\classes12.zip;E:\Program Files\Oracle\JDeveloper 3.2.3\lib\connectionmanager.zip;E:\Program Files\Oracle\JDeveloper 3.2.3\lib\javax_ejb.zip;C:\Program Fil
s\JavaSoft\JRE\1.3.1\lib\i18n.jar;C:\Program Files\JavaSoft\JRE\1.3.1\lib\jaws.jar;C:\Program Files\JavaSoft\JRE\1.3.1\lib\rt.jar;C:\Program Files\JavaSoft\JRE\1.3.1\lib\sunrsasign.jar;E:\Program Files\Oracle\JDeveloper 3.2.3\lib\xmlparserv2.jar"
oracle.aurora.ejb.deployment.GenerateEjb
-u
harris
-p
harris
-s
sess_iiop://192.168.10.218:2481:WORK
-keep
-temp
TEMP
-descriptor
"E:\Xaris\JDeveloper\General\EJBs\EmpCmp\EmpCmp.xml"
-oracledescriptor
E:\Xaris\JDeveloper\General\EJBs\EmpCmp\EmpCmp_oracle.xml
-generated
"E:\Xaris\JDeveloper\General\EJBs\EmpCmp\EmpCmpClient.jar"
"E:\Xaris\JDeveloper\General\EJBs\EmpCmp\empcmp.jar"
Reading Deployment Descriptor...done
Verifying Deployment Descriptor...done
Gathering users...done
Processing container managed persistence bean...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...
An exception occurred during code generation: null
*** Errors occurred while deploying the EJB to 8i JVM ***
*** Deployment completed ***
Can anyone help me understand where is the error?
Thanks in advance,
CharalamposVolker,
Let me try again (in the hope that this time you will understand
what I am saying).
"database embedded EJB container" and "EJB" are not the same thing.We are a little bit further in technology, so that we have no single Engine, single
Processor Systems any more.
Distribution over many computers (RAC) is done by Visigenic ORB (9i) or OC4J.
EJB Framework is for distribution of Business Logic or in your words of
Database Logic.
Oracle is abandoning the "database embedded EJB container".
Oracle is not abandoning EJB.Please step into technology and make a comparison of Java Stored
Procedures, look at the native compiler ncomp and try to figure out which
classes are important for Server Side software development.
Oracle recommends using OC4J as the EJB container.
Here is a recent post (from an Oracle employee and regular forum
participant) from the J2EE forum:
High number of http 404 errors from webcache
Here is a quote from that post:
starting from Oracle9i Release 2 Database EJBs are going to be desupported from database. EJBs can only be deployed in OC4J component of Oracle9iASAs far as I can see, it makes no sense to do that step.
I beleave, that this decision is very very short lived.
Unfortunately, my German is very poor -- I can only try to explainYou are right, I am a German.
things to you in English. Hopefully (if you are still not comprehending
what I am saying), some kind soul (who must have a better levelAmerican english is for everyone.
of reading and comprehension in English than you) will explain it
to you in your native tongue.I have understood, what you said!
So let me summarize:
Oracle is abandoning the database embedded EJB container.I don't beleave that! Is that OK!
By the way, something may have gotten lost in the translation, or
this may be just another example of your comprehension problem, but
what is the connection between the TowerJ JVM and the Oracle databasencomp has the same architecture as TowerJ native Compiler.
Ok?
embedded EJB container?
The very best of luck to you,Thanks a lot!
Avi +Volker! -
Problem while deploying entity beans
Hi,
We are using JDeveloper 3.2.2 (NT) and 8.1.7 (NT) to deploy EJB's.
Now we are trying to deploy the entity bean to Oracle JVM. We are facing the following problem while deploying an entity bean .
"Persistence provider declared in the deployment descriptor is not supported
*** Errors occurred while deploying the EJB to 8i JVM ***
*** Deployment completed ***"
We would appreciate if anyone could help us to solve this error.
nullHi,
The error was coming because of the table structure. All the columns were composite keys. I alter the structured by removing composite keys and added a new column as primary key. Now it is getting deployed successfully.
Can anybody comment on such a behaviour of OC4J?
Regards,
Jinal Shah -
Error in deploying entity beans - migration from JBoss to Weblogic 10.3.4
Hi,
I am migrating EJB2.x code from JBoss to Weblogic 10.3.4. As a first step, I am tyring to deploy just Entity beans. I get following error when deploying to server.
'weblogic.application.ModuleException: Exception preparing module: EJBModule(myEJB.jar)
Unable to deploy EJB: CollMetaData from myEJB.jar:
[EJB:011017]Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was:
There are 1 nested errors:
java.lang.NullPointerException
at weblogic.ejb.container.cmp.rdbms.finders.EjbqlFinder.setMethods(EjbqlFinder.java:288)
at weblogic.ejb.container.cmp.rdbms.Deployer.processFinders(Deployer.java:744)
at weblogic.ejb.container.cmp.rdbms.Deployer.readTypeSpecificData(Deployer.java:446)
at weblogic.ejb.container.persistence.PersistenceType.setTypeSpecificFile(PersistenceType.java:506)
at weblogic.ejb.container.persistence.PersistenceType.setupDeployer(PersistenceType.java:455)
at weblogic.ejb.container.deployer.CMPInfoImpl.setup(CMPInfoImpl.java:118)
at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1214)
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:442)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Can someone help me fixing the issue?
I changed schema locations of descriptor files as suggested at http://download.oracle.com/docs/cd/E17904_01/web.1111/e13706/overview.htm#i1074199 (see the third category for '*Enterprise Bean 2.1*' in the listing Table 1-1). Alternatively, you may see the schema locations for EJB2.0 directly at http://download.oracle.com/docs/cd/E17904_01/web.1111/e13719/dd_reference.htm#EJBPG481JRE version in JBoss is 1.6.0_16. JVM in web logic is pointing to jrockit_160_22_D1.1.1-3 which is come in the package. It doesn't seem to be related to JVM version mismatch.
I think it is an issue with definitions in weblogic-cmp-rdbms-jar.xml file. How should be the definition of entity-descriptor appear for entity bean which has finder methods in ejb-jar.xml?
Please see the snippets from corresponding descriptor files below.
ejb-jar.xml
=========
<entity>
<display-name>EmpBean</display-name>
<ejb-name>EmpBean</ejb-name>
<local-home>LocalEmpBeanHome</local-home>
<local>LocalEmpBean</local>
<ejb-class>EmpBeanBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>False</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>EmpBean</abstract-schema-name>
<cmp-field>
<field-name>firstName</field-name>
</cmp-field>
<cmp-field>
<field-name>lastName</field-name>
</cmp-field>
<cmp-field>
<field-name>phone</field-name>
</cmp-field>
<cmp-field>
<field-name>address</field-name>
</cmp-field>
<primkey-field>lastName</primkey-field>
<query>
<query-method>
<method-name>findByPrimaryKey</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql>SELECT Object(o) FROM EmpBean o WHERE o.lastName= ?1</ejb-ql>
</query>
</entity>
weblogic-jar.xml
============
<weblogic-enterprise-bean>
<ejb-name>EmpBean</ejb-name>
<entity-descriptor>
<pool>
<max-beans-in-free-pool>20</max-beans-in-free-pool>
<initial-beans-in-free-pool>5</initial-beans-in-free-pool>
</pool>
<persistence>
<persistence-use>
<type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>6.0</type-version>
<type-storage>meta-inf/weblogic-cmp-rdbms-jar.xml</type-storage>
</persistence-use>
<finders-load-bean>true</finders-load-bean>
</persistence>
</entity-descriptor>
<local-jndi-name>ejb/EmpBean</local-jndi-name>
</weblogic-enterprise-bean>
weblogic-cmp-rdbms-jar.xml
====================
<weblogic-rdbms-bean>
<ejb-name>EmpBean</ejb-name>
<data-source-jndi-name>mysqlDS</data-source-jndi-name>
<table-map>
<table-name>emp</table-name>
<field-map>
<cmp-field>firstName</cmp-field>
<dbms-column>first_namel</dbms-column>
</field-map>
<field-map>
<cmp-field>lastName</cmp-field>
<dbms-column>last_name</dbms-column>
</field-map>
<field-map>
<cmp-field>phone</cmp-field>
<dbms-column>phone</dbms-column>
</field-map>
<field-map>
<cmp-field>address</cmp-field>
<dbms-column>address</dbms-column>
</field-map>
</table-map>
<weblogic-rdbms-bean>
Please ignore any typos that you may notice in above sample descriptions (because I just typed it here changing original names).
When I try to deploy the application, I get error message as posted in my first post above in this thread. Please correct me if I am making any erros in descriptor files.
Edited by: 839281 on Feb 25, 2011 10:55 AM
Edited by: venkatp on Mar 1, 2011 9:31 AM -
Error while deploying entity!
hello,
When I deploy entity on Oracle-standalone connection, it returns error below! Where is the problem?
christian
---- Deployment started. ---- 2003.4.2 8:16:01
Wrote EJB JAR file to C:\Lokalno\EJB\Project\deploy\ejb2.jar
Wrote EAR file to C:\Lokalno\EJB\Project\deploy\ejb2.ear
Invoking OC4J admin tool...
C:\jdev9031\jdk\jre\bin\javaw.exe -jar C:\jdev9031\j2ee\home\admin.jar ormi://localhost:23791/ admin **** -deploy -file C:\Lokalno\EJB\Project\deploy\ejb2.ear -deploymentName ejb2
Auto-unpacking C:\jdev9031\j2ee\home\applications\ejb2.ear... done.
Copying default deployment descriptor from archive at C:\jdev9031\j2ee\home\applications\ejb2/META-INF/orion-application.xml to deployment directory C:\jdev9031\j2ee\home\application-deployments\ejb2...
Auto-deploying ejb2 (New server version detected)...
Copying default deployment descriptor from archive at C:\jdev9031\j2ee\home\applications\ejb2/ejb2.jar/META-INF/orion-ejb-jar.xml to deployment directory C:\jdev9031\j2ee\home\application-deployments\ejb2\ejb2.jar...
HelloHome_StatelessSessionHomeWrapper19.java:9: cannot access java.lang.Object
bad class file: C:\Program Files\Java\j2re1.4.1_01\lib\rt.jar(java/lang/Object.class)
class file has wrong version 48.0, should be 47.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
public class HelloHome_StatelessSessionHomeWrapper19 extends com.evermind.server.ejb.RemoteStatelessSessionEJBHome implements HelloHome
Fatal Error: Syntax error in source
^
1 error
com.evermind.compiler.CompilationException: Syntax error in source
at com.evermind.compiler.FileLinkedCompilation.run(FileLinkedCompilation.java:118)
at java.security.AccessController.doPrivileged(Native Method)
at com.evermind.compiler.FileLinkedCompiler.compile(FileLinkedCompiler.java:20)
at com.evermind.compiler.Javac.compile(Javac.java:42)
at com.evermind.server.ejb.compilation.Compilation.compileClasses(Compilation.java:422)
at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:306)
at com.evermind.server.administration.ServerApplicationInstallation.finish(ServerApplicationInstallation.java:526)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:119)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:48)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Unknown Source)
Exit status of OC4J admin tool (-deploy): 0
Elapsed time for deployment: 6 seconds
---- Deployment finished. ---- 2003.4.2 8:16:08I fought with this problem for a while. I got it to work, although I'm completely satisfied with the method.
The problem, I think, stems from a mismatch between the J2SE version Jdeveloper is using and the Tools.jar. I started using J2SE 1.4.1 recently (which I installed via project setting - libraries - define)and this problem cropped up. I tried changing out tools.jar in my jdev/jdk/lib directory with the one from JDK 1.4.1 but to no avail.
I went back to 1.3.1_02 and restored tools.jar and the problem went away.
Hope this helps in some way.
Barney -
Error while deploying EAR file on OC4J 10.1.3.3
Hi all,
I am facing following error on OC4J while deploying EAR file
Error occurred during initialization of VM
Could not reserve enough space for object heap
07/12/31 17:47:21 oracle.oc4j.admin.internal.DeployerException: Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServ
ices SMS API\customerservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\
CustomerServices SMS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
07/12/31 17:47:21 at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts(WrapperClassGenerator.java:104)
07/12/31 17:47:21 at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(HttpApplication.java:8469)
07/12/31 17:47:21 at com.evermind.server.http.HttpApplication.populateLoaderWithWebServicesDeploymentCache(HttpApplication.java:5701)
07/12/31 17:47:21 at com.evermind.server.http.HttpApplication.populateLoader(HttpApplication.java:5629)
07/12/31 17:47:21 at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplication.java:5568)
07/12/31 17:47:21 at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:731)
07/12/31 17:47:21 at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
07/12/31 17:47:21 at com.evermind.server.Application.getHttpApplication(Application.java:570)
07/12/31 17:47:21 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.jav
a:1987)
07/12/31 17:47:21 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
07/12/31 17:47:21 at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1603)
07/12/31 17:47:21 at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
07/12/31 17:47:21 at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
07/12/31 17:47:21 at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
07/12/31 17:47:21 at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
07/12/31 17:47:21 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
07/12/31 17:47:21 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
07/12/31 17:47:21 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
07/12/31 17:47:21 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
07/12/31 17:47:21 at java.lang.Thread.run(Thread.java:534)
2007-12-31 17:47:21.625 NOTIFICATION Application Deployer for CustomerServices SMS API FAILED.
2007-12-31 17:47:21.625 NOTIFICATION Application UnDeployer for CustomerServices SMS API STARTS.
2007-12-31 17:47:21.640 NOTIFICATION Removing all web binding(s) for application CustomerServices SMS API from all web site(s)
07/12/31 17:47:21 SEVERE: ProgressObjectImpl.reportError Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServices SM
S API\customerservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\Custome
rServices SMS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
oracle.oc4j.admin.jmx.shared.exceptions.InternalException: Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServices
SMS API\customerservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\Custo
merServices SMS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:123)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:534)
Caused by: oracle.oc4j.admin.internal.DeployerException: Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServices SM
S API\customerservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\Custome
rServices SMS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts(WrapperClassGenerator.java:104)
at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(HttpApplication.java:8469)
at com.evermind.server.http.HttpApplication.populateLoaderWithWebServicesDeploymentCache(HttpApplication.java:5701)
at com.evermind.server.http.HttpApplication.populateLoader(HttpApplication.java:5629)
at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplication.java:5568)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:731)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
at com.evermind.server.Application.getHttpApplication(Application.java:570)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1603)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
... 4 more
2007-12-31 17:47:28.109 NOTIFICATION Application UnDeployer for CustomerServices SMS API COMPLETES.
07/12/31 17:47:28 WARNING: DeployerRunnable.run Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServices SMS API\cus
tomerservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\CustomerServices
SMS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
oracle.oc4j.admin.internal.DeployerException: Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServices SMS API\custo
merservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\CustomerServices S
MS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:534)
2007-12-31 18:21:46.234 WARNING Caught exception: java.lang.reflect.InvocationTargetException.
Regards,
Imran Raza KhanLooks strange, but do you have blanks in your path names? Don't do that. Cause pain only.
--olaf -
Hi ,
I am not able to deploy a bean.
I can see a yellow patch/mark in xBean under ejb-jar.xml.Also in the packages under ejb-module.xBean.java also has that yellow mark.However EAR looks fine.
There is some problem with the bean but I am not able to trace out.
Deployment error is as below:
Result
=> deployment aborted : file:/D:/DOCUME1/RICHA1.KHA/LOCALS1/Temp/temp9474bp.comMassLGUpdateEar.ear
Aborted: development component 'MassLGUpdateEar'/'bp.com'/'ID4_CMD_D'/'20070316202715'/'0':
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot deploy application bp.com/MassLGUpdateEar.. Reason: Exception during generation of components of application bp.com/MassLGUpdateEar in container EJBContainer.; nested exception is: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application bp.com/MassLGUpdateEar in container EJBContainer.
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC) "
Deployment exception : The deployment of at least one item aborted
Somebody please help.
Thanks,
RichaHi Richa,
Check your references in the EAR Project. Add the relvant references, deploy and check.
-Thanks,
Padmarajan. -
Errors while deploying EJB3 beans in Weblogic server 10.
Hi All,
I am new to weblogic as well as EJB3. While trying to deploy an ant generated ejb3 bean in weblogic server 10, I got the following errors. I don't know where I went wrong. All you experts out there, pls. help me out.
Error Stack Trace
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:364: modifier transient not allowed here
public transient com.picmond.jaas.dto.UserAccessControls getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:526: add(com.picmond.jaas.dto.UserAccessControls) is already defined in com.picmond.jaas.dto.UserAccessCont
public void add(com.picmond.jaas.dto.UserAccessControls arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:607: modifier transient not allowed here
public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:688: modifier transient not allowed here
public transient java.util.List<com.picmond.jaas.dto.UserAccessControls> getList(org.hibernate.criterion.SimpleExpression[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:850: remove(com.picmond.jaas.dto.UserAccessControls) is already defined in com.picmond.jaas.dto.UserAccessC
public void remove(com.picmond.jaas.dto.UserAccessControls arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:931: findByExample(com.picmond.jaas.dto.UserAccessControls) is already defined in com.picmond.jaas.dto.User
public java.util.List<com.picmond.jaas.dto.UserAccessControls> findByExample(com.picmond.jaas.dto.UserAccessControls arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_UserAccessControlsDAOLocalImpl.java:1012: merge(com.picmond.jaas.dto.UserAccessControls) is already defined in com.picmond.jaas.dto.UserAccessC
public com.picmond.jaas.dto.UserAccessControls merge(com.picmond.jaas.dto.UserAccessControls arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_Intf.java:19: modifier transient not allowed here
public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_Intf.java:23: modifier transient not allowed here
public transient java.util.List<com.picmond.jaas.dto.Roles> getList(org.hibernate.criterion.SimpleExpression[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_Intf.java:26: modifier transient not allowed here
public transient com.picmond.jaas.dto.Roles getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_Intf.java:19: modifier transient not allowed here
public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_Intf.java:23: modifier transient not allowed here
public transient java.util.List<com.picmond.jaas.dto.AccessControls> getList(org.hibernate.criterion.SimpleExpression[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_Intf.java:26: modifier transient not allowed here
public transient com.picmond.jaas.dto.AccessControls getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_Intf.java:19: modifier transient not allowed here
public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_Intf.java:23: modifier transient not allowed here
public transient java.util.List<com.picmond.jaas.dto.UserAccessControls> getList(org.hibernate.criterion.SimpleExpression[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UserAccessControlsDAOBean_p488kg_Intf.java:26: modifier transient not allowed here
public transient com.picmond.jaas.dto.UserAccessControls getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:202: merge(com.picmond.jaas.dto.AccessControls) is already defined in com.picmond.jaas.dto.AccessControlsDAOBean_2h
public com.picmond.jaas.dto.AccessControls merge(com.picmond.jaas.dto.AccessControls arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:445: modifier transient not allowed here
public transient com.picmond.jaas.dto.AccessControls getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:607: modifier transient not allowed here
public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:769: modifier transient not allowed here
public transient java.util.List<com.picmond.jaas.dto.AccessControls> getList(org.hibernate.criterion.SimpleExpression[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:850: remove(com.picmond.jaas.dto.AccessControls) is already defined in com.picmond.jaas.dto.AccessControlsDAOBean_2
public void remove(com.picmond.jaas.dto.AccessControls arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:931: add(com.picmond.jaas.dto.AccessControls) is already defined in com.picmond.jaas.dto.AccessControlsDAOBean_2hpc
public void add(com.picmond.jaas.dto.AccessControls arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\AccessControlsDAOBean_2hpczk_AccessControlsDAOLocalImpl.java:1012: findByExample(com.picmond.jaas.dto.AccessControls) is already defined in com.picmond.jaas.dto.AccessControlsD
public java.util.List<com.picmond.jaas.dto.AccessControls> findByExample(com.picmond.jaas.dto.AccessControls arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:283: merge(com.picmond.jaas.dto.ActivityTypes) is already defined in com.picmond.jaas.dto.ActivityTypesDAOBean_im1pf4
public com.picmond.jaas.dto.ActivityTypes merge(com.picmond.jaas.dto.ActivityTypes arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:445: add(com.picmond.jaas.dto.ActivityTypes) is already defined in com.picmond.jaas.dto.ActivityTypesDAOBean_im1pf4_A
public void add(com.picmond.jaas.dto.ActivityTypes arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:526: modifier transient not allowed here
public transient com.picmond.jaas.dto.ActivityTypes getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:769: modifier transient not allowed here
public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:850: modifier transient not allowed here
public transient java.util.List<com.picmond.jaas.dto.ActivityTypes> getList(org.hibernate.criterion.SimpleExpression[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:931: remove(com.picmond.jaas.dto.ActivityTypes) is already defined in com.picmond.jaas.dto.ActivityTypesDAOBean_im1pf
public void remove(com.picmond.jaas.dto.ActivityTypes arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_ActivityTypesDAOLocalImpl.java:1012: findByExample(com.picmond.jaas.dto.ActivityTypes) is already defined in com.picmond.jaas.dto.ActivityTypesDAOBe
public java.util.List<com.picmond.jaas.dto.ActivityTypes> findByExample(com.picmond.jaas.dto.ActivityTypes arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_Intf.java:19: modifier transient not allowed here
public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_Intf.java:23: modifier transient not allowed here
public transient java.util.List<com.picmond.jaas.dto.ActivityTypes> getList(org.hibernate.criterion.SimpleExpression[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\ActivityTypesDAOBean_im1pf4_Intf.java:26: modifier transient not allowed here
public transient com.picmond.jaas.dto.ActivityTypes getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_Intf.java:19: modifier transient not allowed here
public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_Intf.java:23: modifier transient not allowed here
public transient java.util.List<com.picmond.jaas.dto.Users> getList(org.hibernate.criterion.SimpleExpression[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_Intf.java:26: modifier transient not allowed here
public transient com.picmond.jaas.dto.Users getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0);
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:364: add(com.picmond.jaas.dto.Roles) is already defined in com.picmond.jaas.dto.RolesDAOBean_ya6yd2_RolesDAOLocalImpl
public void add(com.picmond.jaas.dto.Roles arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:445: modifier transient not allowed here
public transient com.picmond.jaas.dto.Roles getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:607: merge(com.picmond.jaas.dto.Roles) is already defined in com.picmond.jaas.dto.RolesDAOBean_ya6yd2_RolesDAOLocalImpl
public com.picmond.jaas.dto.Roles merge(com.picmond.jaas.dto.Roles arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:688: modifier transient not allowed here
public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:850: modifier transient not allowed here
public transient java.util.List<com.picmond.jaas.dto.Roles> getList(org.hibernate.criterion.SimpleExpression[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:931: remove(com.picmond.jaas.dto.Roles) is already defined in com.picmond.jaas.dto.RolesDAOBean_ya6yd2_RolesDAOLocalImpl
public void remove(com.picmond.jaas.dto.Roles arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\RolesDAOBean_ya6yd2_RolesDAOLocalImpl.java:1012: findByExample(com.picmond.jaas.dto.Roles) is already defined in com.picmond.jaas.dto.RolesDAOBean_ya6yd2_RolesDAOLocalImpl
public java.util.List<com.picmond.jaas.dto.Roles> findByExample(com.picmond.jaas.dto.Roles arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:364: add(com.picmond.jaas.dto.Users) is already defined in com.picmond.jaas.dto.UsersDAOBean_a4wuvg_UsersDAOLocalImpl
public void add(com.picmond.jaas.dto.Users arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:445: modifier transient not allowed here
public transient com.picmond.jaas.dto.Users getUniqueResult(org.hibernate.criterion.SimpleExpression[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:526: modifier transient not allowed here
public transient org.hibernate.Criteria createCriteria(org.hibernate.criterion.Criterion[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:688: modifier transient not allowed here
public transient java.util.List<com.picmond.jaas.dto.Users> getList(org.hibernate.criterion.SimpleExpression[] arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:769: findByExample(com.picmond.jaas.dto.Users) is already defined in com.picmond.jaas.dto.UsersDAOBean_a4wuvg_UsersDAOLocalImpl
public java.util.List<com.picmond.jaas.dto.Users> findByExample(com.picmond.jaas.dto.Users arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:931: remove(com.picmond.jaas.dto.Users) is already defined in com.picmond.jaas.dto.UsersDAOBean_a4wuvg_UsersDAOLocalImpl
public void remove(com.picmond.jaas.dto.Users arg0)
^
C:\Servers\bea\user_projects\domains\jaastest_domain\servers\AdminServer\cache\EJBCompilerCache\1qrppw08sr0cc\com\picmond\jaas\dto\UsersDAOBean_a4wuvg_UsersDAOLocalImpl.java:1012: merge(com.picmond.jaas.dto.Users) is already defined in com.picmond.jaas.dto.UsersDAOBean_a4wuvg_UsersDAOLocalImpl
public com.picmond.jaas.dto.Users merge(com.picmond.jaas.dto.Users arg0)
^
50 errors
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:457)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:295)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:303)
at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:343)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:533)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:500)
at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:476)
at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:798)
at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:701)
at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1234)
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:372)
>Hi,
The issue is that the weblogic EJB compiler isn't reading the varargs method modifier properly in your class files (it is mistaking it for a transient field). I think you will either have to:
a) Remove vararg methods from your EJBs.
b) Wait for a new release of Weblogic 10.
This issue was a bit of a pain for us as we are trying to use Seam to integrate various bits of the JEE specification together (and the Seam TimerDispatcher EJB uses vararg methods). -
Error while deploying CMP Bean
hi all,
i'm very new in J2EE Technology .I was trying one of the sample application available in sun one examples and sample applicationsm site.
I have registered a datasource called hari
in my server instance
when im deploying the J2EE Application which contains a CMP Bean, when i deploy in the final stage i'm getting an error
"javax.naming.InvalidNameException:
error loading c:\j2sdkee1.3.1\repository\c3018a\applications\CMPApp1046345051707Server.jar;nested exception is:
javax.naming.InvalidNameException:
Real JNDI name cannot be empty for hari
can anyone help me to fix this problem ,where exactly i have to mention the real name for this DataSourceSounds like there is a resource-ref in your application that
has not been mapped to a physical datasource in the
sun-j2ee-ri.xml file.
e.g. :
<resource-ref>
<res-ref-name>jdbc/AccountDB</res-ref-name>
<jndi-name>jdbc/XACloudscape</jndi-name>
<default-resource-principal>
<name>scott</name>
<password>tiger</password>
</default-resource-principal>
</resource-ref>
See the J2EE Tutorial for additional examples.
--ken -
Unknown site error while deploying web services using OC4J
Hi,
I have been testing the deploying webservices examples using demo.zip on OTN site.
I have trouble in binding the web application name to stand alone OC4J.
I am running stand alone OC4J server fine. I verified the website http://localhost:8888, which is running fine.
If I issue the command
java -jar admin.jar ormi://localhost:23791 admin password1 -bindwebapp demo_ejb_web_service HelloService_web http://localhost:8888/ sejb_webservices
I get error
oracle.oc4j.admin.internal.DeployerException: Unknown site: http://localhost:8888/
What is the http-web-site address that needs to be given for binding web app, if I am running local standalone OC4J with no default port changes?
Thanks,
MohanEric,
Thanks for the response. But, still I am not able to bind web-application to OC4J.
Here is how my server.xml has defined the web-site tag:
<web-site default="true" path="./http-web-site.xml" />
My http-web-site.xml has following web-site tag:
<web-site port="8888" display-name="OC4J 10g (10.0.2) HTTP Web Site">
<default-web-app application="default" name="defaultWebApp"/>
<web-app application="default" name="dms0" root="/dms0" access-log="false" />
<web-app application="default" name="dms0" root="/dmsoc4j" access-log="false" />
<web-app application="default" name="admin_web" root="/adminoc4j"/>
<access-log path="../log/http-web-access.log"/>
</web-site>
I used the following command to bind the example web service:
java -jar c:\XtendTools\oc4j\j2ee\home\admin.jar ormi://localhost admin password1 -bindWebApp demo_ejb_service HelloService_web default-web-site /sejb_services
I get "oracle.oc4j.admin.internal.DeployerException: Unknown site: default-web-site" error.
I tried to use following names as http-web-site, but nothing works.
"http://localhost:8888"
"dms0"
"adminoc4j"
I downloaded stand alone OC4J 10.1.2 from OTN and tried these samples.
Your help will be appreciated.
Thanks,
Mohan -
Configuration error while deploying beans
Hi ,
I am trying to deploy entity beans. While deploying I am getting the
following error. I checked weblogic_classpath. It has got .\classes. Any
help is highly appreciated. Find the attached start script.
EXCEPTION DESCRIPTION: Configuration error. Class weblogic.jdbc.jts.Driver
not found.
at
TOPLink.Public.Exceptions.DatabaseException.configurationErrorClassNotFound(
DatabaseException.java:54)
at
TOPLink.Public.Sessions.DefaultConnector.loadDriver(DefaultConnector.java:11
6)
at
TOPLink.Public.Sessions.DefaultConnector.connect(DefaultConnector.java:54)
at
TOPLink.Public.PublicInterface.JDBCLogin.connect(JDBCLogin.java:180)
at
TOPLink.Private.DatabaseAccess.DatabaseAccessor.p(DatabaseAccessor.java)
at
TOPLink.Private.DatabaseAccess.DatabaseAccessor.connect(DatabaseAccessor.jav
a)
at
TOPLink.Public.ThreeTier.ConnectionPool.buildConnection(ConnectionPool.java:
86)
at
TOPLink.Public.ThreeTier.ExternalConnectionPool.startUp(ExternalConnectionPo
ol.java:91)
at
TOPLink.Public.ThreeTier.ServerSession.connect(ServerSession.java, Compiled
Code)
at
TOPLink.Public.PublicInterface.DatabaseSession.login(DatabaseSession.java:36
3)
at
TOPLink.Private.EJB.WebLogic.DeploymentManager.sessionLogin(DeploymentManage
r.java)
at
TOPLink.Private.EJB.WebLogic.DeploymentManager.setup(DeploymentManager.java)
[startWebLogic.cmd]Post Author: ejthunder
CA Forum: Deployment
It looks like you're trying to deploy with the CR.NET merge modules for VS2003. You'll need to deploy the CR.NET merge modules for VS2005 instead.
You can find the merge modules for the various versions at this link on the BOBJ site:http://support.businessobjects.com/downloads/merge_modules.asp
Choose the correct version. If you're using the bundled edition of CR.NET that ships with VS2005 - CR.NET 2005, then click on the link for VS2005. If you're using CR XI Developer, or CR XI R2 Developer then click on the link for the version you're using.
The CR.NET 2005 merge modules have deployment instructions in the download.
I hope this helps!
EJ -
Error while Deploying Bean (which is running fine on sun's server)
Hi,
I'm trying to deploy the same bean which is deployed & executing very well on
J2EE server(Sun's server j2sdkee1.2.1).
I'm using one external jar package, mgejbgnrc.jar , which contains (Magic.j2ee.MagicException
class & some other classes).
I've put this jar in %JAVA_HOME%/jre/lib/ext/
And i'm getting following error while deploying the jar.
Where i'm doing mistakes? I've also set the classpath correctly.
Is it weblogic's problem , that we can't use external package. Because same bean
is working on Sun's Server.
Will anybody help me regarding this?
Undeploying EJB Component Vineet
<May 19, 2000 2:19:47 PM GMT+05:30> <Error> <Management> <InvocationTargetExcept
ion setting attribute Deployed on MBean mydomain:Name=Vineet,Location=myserver,T
ype=ApplicationConfig to value true. Method: public void weblogic.management.mbe
ans.custom.Application.setDeployed(boolean) throws weblogic.management.Deploymen
tException,weblogic.management.UndeploymentException
java.lang.NoClassDefFoundError: Magic/j2ee/MagicException
at java.lang.Class.getMethods0(Native Method)
Regards,
Devendraproblem solved.
-
Oc4j dcmctl error while deploying
Dear friends
I receive an error while deploying a war file to oracle 9i application server stating that one or more process is running, shutdown by 9iAS or by enterprise manager or use dcmctl resynInstance to free the resource.
This error happens when one deploy is either interrupted or not deployed properly. But even after stopping the process by "dcmctl stop" or by the command "dcmctl resynInstance" i am not able to deploy any more applications. Kindly guide meAfter you interrupt the application deployment and before trying to deploy it again :
- Check if OC4J config files (server.xml and default-web-site.xml) contains the failed application information
- Check if DCM repository has failed application information (use dcmctl listapplications, or via EM)
If these two are out of sync, you might want to create a TAR, so support analyst can help you further diagnose the problem.
Maybe you are looking for
-
A pages document was shut down and not saved where can I still find this document
Need help finding a pages document that was typed up and then the computer was shut down and We are not sure if it had been saved. Can we locate this document if it was never saved and how do we do that? Please Help!!!
-
App store Next button not working sometimes when searching for apps
In the app store (using iPad with iOS 4.3.1), when i search for certain words and click on "See All", the next button does not always work. It is enabled (white) and there are more apps to be seen, but tapping either the one top or bottom simply does
-
Apps won't install: BlackBerry Desktop Mgr failed to validate your BlackBerry device update
Just tried out the new Desktop Manager for Mac and it seems to blow up when trying to either install or uninstall applications. I get the following error: BlackBerry® Desktop Manager failed to validate your BlackBerry® device update. Validation faile
-
Portal - RDBMS upgrade 8.1.6.2 to 8.1.7.1.0b
Has anyone successfully upgrade a portal database from 8.1.6.2.0 to 8.1.7.0? How about successfully applied the 8.1.7.1.0b patch to 8.1.7.0 with a portal installation? The upgrade instructions in the readme file for the 8.1.7.1.0b patch would lead yo
-
How can I keep Adobe Reader from closing 30 secs after I open it? Windows Vista
My Adobe Reader closes after 30 seconds or so of being opened. I've been making changes to some of my windows settings in an effort to reduce risk of viruses and malware, etc. I don't know why it affected the time Adobe is allowed to stay open and so