Error Deploying a bean Oracle 8i release 2
I cant seem to deploy my EJBBean,
I have not used Oracle before, and have no clue how to proceed.
The error I get when I use deployejb is
D:\Oracle\tmp>deployejb -verbose -user System -password manager -service sess_iiop://localhost:1521:ORCL -descriptor d:/oracle/tmp/meta-inf/ejb-jar.xml -temp d:/oracle/tmp com_optima_agents.jar
Exception in thread "main" org.omg.CORBA.COMM_FAILURE: java.io.IOException: Peer disconnected socket minor code: 0 completed: No
at com.visigenic.vbroker.orb.TcpConnection.read(TcpConnection.java, Compiled Code)
at com.visigenic.vbroker.orb.GiopConnectionImpl.receive_message(GiopConnectionImpl.java:436)
at com.visigenic.vbroker.orb.GiopConnectionImpl.receive_reply(GiopConnectionImpl.java, Compiled Code)
at com.visigenic.vbroker.orb.GiopStubDelegate.invoke(GiopStubDelegate.java:538)
at com.visigenic.vbroker.orb.GiopStubDelegate.invoke(GiopStubDelegate.java:479)
at com.inprise.vbroker.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:60)
at org.omg.CORBA._st_InitialReferences.get(_st_InitialReferences.java:32)
at oracle.aurora.jndi.sess_iiop.SessionCtx.initialContext(SessionCtx.java:534)
at oracle.aurora.jndi.sess_iiop.SessionCtx.<init>(SessionCtx.java:35)
at oracle.aurora.jndi.sess_iiop.ServiceCtx.createSession(ServiceCtx.java:128)
at oracle.aurora.jndi.sess_iiop.ServiceCtx.login(ServiceCtx.java:306)
at oracle.aurora.server.tools.sess_iiop.ToolImpl.initializeSession(ToolImpl.java:100)
at oracle.aurora.server.tools.sess_iiop.ToolImpl.parseStdArgs(ToolImpl.java, Compiled Code)
at oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke(ToolImpl.java:118)
at oracle.aurora.ejb.deployment.GenerateEjb.main(GenerateEjb.java:496)
null
What do you see on the trace log file on your udump directory? If you see a similar message as this:
*** SESSION ID:(7.1) 2000-12-05 10:20:43.648
Error in executing triggers on database startup
*** 2000-12-05 10:20:43.679
ksedmp: internal or fatal error
ORA-00604: error occurred at recursive SQL level 1
ORA-29540: class oracle/aurora/rdbms/Server does not exist
ORA-06512: at "SYSTEM.DBMS_JAVA", line 0
ORA-06512: at line 2
You will need to run initjvm.sql. It works for me.
null
Similar Messages
-
Error on clone database, oracle 10g release 2 for windows server 2008
Hi,
OS: Windows Server 2008 X64
Oracle: oracle 10g release r2 for windows server 2008
An error occurred when creating a database, stop at last step, Screenshot:
[http://temp.wsria.com/oracle_create_db.png|http://temp.wsria.com/oracle_create_db.png]
the trace log content:
[main] [9:56:35:982] [CommandLineArguments.process:563] CommandLineArguments->process: number of arguments = 32
[main] [9:56:35:982] [CommandLineArguments.process:738] CommandLineArguments->process: Create Database argument is specified
[main] [9:56:35:982] [CommandLineArguments.process:910] CommandLineArguments->process: template Name argument is specified
[main] [9:56:35:982] [CommandLineArguments.process:960] CommandLineArguments->process: db name argument is specified
[main] [9:56:35:982] [CommandLineArguments.process:3074] CommandLineArguments->process: in Operation Type is Creation/GenerateScripts Mode condition
[main] [9:56:35:997] [CommandLineArguments.process:3298] CommandLineArguments->process: Successfully process command line arguments
[main] [9:56:36:668] [Host.checkOPS:2055] Inside checkOPS
[main] [9:56:36:668] [Host.checkOPS:2067] Trying to check cluster existence
[main] [9:56:36:715] [Library.getInstance:97] Created instance of Library.
[main] [9:56:36:715] [Library.load:197] Loading orauts.dll...
[main] [9:56:36:715] [Library.load:203] oracleHome D:\oracle\product\10.2.0\db_1
[main] [9:56:36:715] [sPlatform.isHybrid:63] osName=Windows Vista osArch=amd64 rc=false
[main] [9:56:36:715] [Library.load:223] Loading library D:\oracle\product\10.2.0\db_1\bin\orauts.dll
[main] [9:56:36:715] [Library.load:247] Loaded library D:\oracle\product\10.2.0\db_1\bin\orauts.dll from path=
D:\oracle\product\10.2.0\db_1\bin
[main] [9:56:36:715] [Library.load:197] Loading MSVCRT.dll...
[main] [9:56:36:715] [Library.load:203] oracleHome D:\oracle\product\10.2.0\db_1
[main] [9:56:36:715] [sPlatform.isHybrid:63] osName=Windows Vista osArch=amd64 rc=false
[main] [9:56:36:715] [Library.load:223] Loading library D:\oracle\product\10.2.0\db_1\bin\MSVCRT.dll
[main] [9:56:36:731] [Library.load:247] Loaded library D:\oracle\product\10.2.0\db_1\bin\MSVCRT.dll from path=
D:\oracle\product\10.2.0\db_1\bin
[main] [9:56:36:731] [Library.load:197] Loading orawsec10.dll...
[main] [9:56:36:731] [Library.load:203] oracleHome D:\oracle\product\10.2.0\db_1
[main] [9:56:36:731] [sPlatform.isHybrid:63] osName=Windows Vista osArch=amd64 rc=false
[main] [9:56:36:731] [Library.load:223] Loading library D:\oracle\product\10.2.0\db_1\bin\orawsec10.dll
[main] [9:56:36:731] [Library.load:247] Loaded library D:\oracle\product\10.2.0\db_1\bin\orawsec10.dll from path=
D:\oracle\product\10.2.0\db_1\bin
[main] [9:56:36:731] [Library.load:197] Loading orasrvm10.dll...
[main] [9:56:36:731] [Library.load:203] oracleHome D:\oracle\product\10.2.0\db_1
[main] [9:56:36:731] [sPlatform.isHybrid:63] osName=Windows Vista osArch=amd64 rc=false
[main] [9:56:36:731] [Library.load:223] Loading library D:\oracle\product\10.2.0\db_1\bin\orasrvm10.dll
[main] [9:56:36:731] [Library.load:247] Loaded library D:\oracle\product\10.2.0\db_1\bin\orasrvm10.dll from path=
D:\oracle\product\10.2.0\db_1\bin
[main] [9:56:36:731] [Version.isPre10i:189] isPre10i.java: Returning FALSE
[main] [9:56:36:731] [WindowsSystem.regKeyExists:1006] WindowsSystem.regKeyExists: mainkey= HKEY_LOCAL_MACHINE subkey = Software\Oracle\Ocr
[main] [9:56:36:746] [WindowsSystem.getCSSConfigType:1163] configType=null
[main] [9:56:36:746] [Host.checkOPS:2073] cluster existence:false
[main] [9:56:36:746] [Host.checkOPS:2111] Cluster installed=false
[main] [9:56:36:902] [InitParamHandler.endElement:506] CustomSGA flag: false
[main] [9:56:36:902] [InitParamHandler.endElement:507] Database Type: MULTIPURPOSE
[main] [9:56:36:918] [InitParamHandler.endElement:508] Mem Percentage: 40
[main] [9:56:36:918] [InitParamHandler.endElement:526] distributing Memory: 13737443328
[main] [9:56:36:918] [MemoryCalculator.calculateMemory:122] Setting SGA to MAX_SGA 1610612736
[main] [9:56:36:918] [StorageAttributes.setAttribute:232] IN threadID:1 group#=1
[main] [9:56:36:918] [StorageAttributes.setAttribute:232] IN threadID:1 group#=2
[main] [9:56:36:918] [StorageAttributes.setAttribute:241] Current threadID=1
[main] [9:56:36:918] [StorageAttributes.setAttribute:248] Current threadID=1 ==> redoGroups[0]=1
[main] [9:56:36:918] [StorageAttributes.setAttribute:258] vRedoGroups:[1]
[main] [9:56:36:918] [StorageAttributes.setAttribute:288] setAttribute: bExists=false
[main] [9:56:36:918] [StorageAttributes.setAttribute:232] IN threadID:1 group#=3
[main] [9:56:36:918] [StorageAttributes.setAttribute:241] Current threadID=1
[main] [9:56:36:918] [StorageAttributes.setAttribute:248] Current threadID=1 ==> redoGroups[0]=1
[main] [9:56:36:918] [StorageAttributes.setAttribute:248] Current threadID=1 ==> redoGroups[1]=2
[main] [9:56:36:918] [StorageAttributes.setAttribute:258] vRedoGroups:[1, 2]
[main] [9:56:36:933] [StorageAttributes.setAttribute:288] setAttribute: bExists=false
[main] [9:56:36:933] [TemplateManager.parseCloneTemplate:1477] See for any transportable datafiles in TemplateManager.....
[main] [9:56:36:933] [TemplateManager.isInstallTemplate:2178] Selected Template by user:=General Purpose
[main] [9:56:36:933] [TemplateManager.isInstallTemplate:2185] The Message Id to be searched:=GENERAL_PURPOSE
[main] [9:56:36:933] [TemplateManager.parseCloneTemplate:1489] create new clone data file for tp file.......
[main] [9:56:36:933] [Host.setupOIDCommandlineParameters:7184] setupOIDCommandlineParameters:
[main] [9:56:36:933] [Host.setupOIDCommandlineParameters:7185] m_regWithdirService: false
[main] [9:56:36:933] [Host.setupOIDCommandlineParameters:7186] m_unregWithdirService: false
[main] [9:56:36:933] [Host.setupOIDCommandlineParameters:7187] m_updateDirService: false
[main] [9:56:36:933] [Verifier.processRawConfigFile:3523] StorageType == 0
[main] [9:56:36:933] [Verifier.setOradataDest:4349] setOradataDest:dfDest=D:\oracle\product\10.2.0\oradata
[main] [9:56:36:933] [TemplateManager.updateDatafileDestination:1957] updateDatafiles:datafileDir=D:\oracle\product\10.2.0\oradata
[main] [9:56:36:933] [TemplateManager.updateDatafileDestination:2103] From template, RedoLogGrName=1
[main] [9:56:36:965] [TemplateManager.updateDatafileDestination:2118] new file name redo01.log
[main] [9:56:36:965] [TemplateManager.updateDatafileDestination:2103] From template, RedoLogGrName=2
[main] [9:56:36:965] [TemplateManager.updateDatafileDestination:2118] new file name redo02.log
[main] [9:56:36:965] [TemplateManager.updateDatafileDestination:2103] From template, RedoLogGrName=3
[main] [9:56:36:965] [TemplateManager.updateDatafileDestination:2118] new file name redo03.log
[main] [9:56:36:965] [ProgressOnlyHost.performOperation:162] processRawConfigFile=false
[main] [9:56:36:965] [Verifier.validateTemplate:1629] StorageType == 0
[main] [9:56:36:965] [ProgressOnlyHost.performOperation:178] validateTemplate=true
[main] [9:56:36:965] [OracleHome.isRacEnabled:149] bRacOn = false
[main] [9:56:36:980] [Verifier.validateTemplate:1629] StorageType == 0
[main] [9:56:36:980] [Verifier.calculateCloneDatafilePathsAndSizes:2951] canonicalPath=D:\oracle\product\10.2.0\
[main] [9:56:36:980] [Verifier.calculateCloneDatafilePathsAndSizes:2951] canonicalPath=D:\oracle\product\10.2.0\
[main] [9:56:36:980] [Verifier.calculateCloneDatafilePathsAndSizes:2951] canonicalPath=D:\oracle\product\10.2.0\
[main] [9:56:36:980] [Verifier.calculateCloneDatafilePathsAndSizes:2951] canonicalPath=D:\oracle\product\10.2.0\
[main] [9:56:36:980] [Verifier.calculateCloneDatafilePathsAndSizes:2951] canonicalPath=D:\oracle\product\10.2.0\
[main] [9:56:36:980] [Verifier.calculateRedoLogGroupFileSizes:3083] canonicalPath=D:\oracle\product\10.2.0\
[main] [9:56:36:980] [Verifier.calculateRedoLogGroupFileSizes:3083] canonicalPath=D:\oracle\product\10.2.0\
[main] [9:56:36:980] [Verifier.calculateRedoLogGroupFileSizes:3083] canonicalPath=D:\oracle\product\10.2.0\
[main] [9:56:36:980] [Verifier.getControlfFileSizes:3001] No. of Control files:=3
[main] [9:56:37:105] [Host.executeSteps:4044] Executing steps....
[main] [9:56:37:105] [Host.setUpForOperation:2920] setUpForOperation: Mode = 128
[main] [9:56:37:121] [Host.executeSteps:4186] setupForOperation returned: true
[main] [9:56:37:121] [Host.createStepSQLInterface:5948] sid =ora10g
[main] [9:56:37:136] [SQLEngine.initialize:242] Execing SQLPLUS/SVRMGR process...
[main] [9:56:37:136] [SQLEngine.initialize:270] m_bReaderStarted: false
[main] [9:56:37:136] [SQLEngine.initialize:274] Starting Reader Thread...
[Thread-4] [9:56:37:355] [StepContext$ModeRunner.run:2478] ---- Progress Needed:=true
[Thread-4] [9:56:37:464] [BasicStep.execute:202] Executing Step : CLONE_DB_CREATION_RMAN_RESTORE
[Thread-4] [9:56:37:464] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-01092
[Thread-4] [9:56:37:464] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-01034
[Thread-4] [9:56:37:464] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-03114
[Thread-4] [9:56:37:464] [StepErrorHandler.setFatalErrors:322] setting Fatal Error: ORA-12560
[Thread-4] [9:56:37:464] [StepErrorHandler.setIgnorableErrors:250] setting Ignorable Error: ORA-01109
[Thread-4] [9:56:37:464] [BasicStep.configureSettings:304] messageHandler being set=null
[Thread-4] [9:56:37:464] [BasicStep.execute:202] Executing Step : INSTANCE_CREATION
[Thread-4] [9:56:37:464] [BasicStep.configureSettings:304] messageHandler being set=null
[Thread-4] [9:56:37:479] [InitParamAttributes.sortParams:3532] m_sortOn:-1 sortOn:4
[Thread-4] [9:56:37:620] [OracleHome.isRacEnabled:149] bRacOn = false
[Thread-4] [9:56:37:667] [Host.noEntryinOratab:5115] Check made for oratab arg passed............
[Thread-4] [9:56:37:667] [Oradim.getAddEntryCommand:353] AddEntry=[D:\oracle\product\10.2.0\db_1\bin\oradim.exe, -new, -sid, ORA10G, -startmode, manual, -spfile]
[Thread-4] [9:56:38:899] [Oradim.getEditEntryCommand:422] getEditEntry cmd=[D:\oracle\product\10.2.0\db_1\bin\oradim.exe, -edit, -sid, ORA10G, -startmode, auto, -srvcstart, system]
[Thread-4] [9:56:39:55] [Oradim.addSidToRegistry:871] oracleHomeKey: SOFTWARE\ORACLE\KEY_OraDb10g_home1
[Thread-4] [9:56:39:117] [BasicStep.configureSettings:304] messageHandler being set=oracle.sysman.assistants.util.UIMessageHandler@c73f0d8
[Thread-4] [9:56:39:117] [CloneRmanRestoreStep.executeImpl:217] Instance Creation went fine..........
[Thread-4] [9:56:39:117] [CloneRmanRestoreStep.executeImpl:224] db_recovery_file_dest=D:\oracle\product\10.2.0\flash_recovery_area
[Thread-4] [9:56:39:117] [CloneRmanRestoreStep.executeImpl:227] db_recovery_file_dest_size=2147483648
[Thread-4] [9:56:39:991] [SQLEngine.setSpool:1750] old Spool = null
[Thread-4] [9:56:39:991] [SQLEngine.setSpool:1751] Setting Spool = D:\oracle\product\10.2.0\db_1\cfgtoollogs\dbca\ora10g\CloneRmanRestore.log
[Thread-4] [9:56:39:991] [SQLEngine.setSpool:1752] Is spool appendable? --> true
[Thread-4] [9:56:39:991] [CloneRmanRestoreStep.executeImpl:320] starting with pfile=D:\oracle\product\10.2.0\admin\ora10g\pfile\init.oraCheck your SQLNET.AUTHENTICATION_SERVICES settings in sqlnet.ora file.
ORA-28547 : Connection to server failed, probable Net8 admin error
thanks
http://swervedba.wordpress.com/ -
Error deploying BI Beans Application to OC4J standalone
Hi,
I'have developed BI Beans application. I use generating COMPLETE BI Beans application in JDev 10.1.2.0.0(1811).
Modify a little bit logging to an application. Everything works fine with Embedded OC4J on my Computer. I try to deploy application to WIN2000 computer and everything works fine(i have to overwrite JDBC drivers in OC4J directory structure with files from JDev directory structure - file names classes12.jar, classes12dms.jar, nls_charset12.jar). Everything was fine. Now i'm trying to deploy application to SOLARIS computer, i follow same steps as in WIN2000 computer case, and when i try to create new presentation i got an error
java.lang.NoClassDefFoundError
at oracle.dss.thin.beans.dataView.BaseTitle.<init>(BaseTitle.java:53)
at oracle.dss.thin.beans.dataView.Title.<init>(Title.java:35)
at oracle.dss.thin.beans.dataView.Title.<init>(Title.java:52)
at oracle.dss.thin.beans.dataView.ThinDataview.<init>(ThinDataview.java:141)
at oracle.dss.thin.beans.gridView.ThinGridView.<init>(ThinGridView.java:143)
at oracle.dss.thin.beans.crosstab.ThinCrosstab.<init>(ThinCrosstab.java:210)
at oracle.dss.thin.beans.dataView.Presentation.createNewView(Presentation.java:1293)
at oracle.dss.thin.beans.dataView.Presentation.<init>(Presentation.java:138)
at oracle.dss.thin.beans.presentationBuilder.PresentationBuilder.reset(PresentationBuilder.java:449)
at oracle.dss.addins.thin.common.BasePresentationBuilderHandler.initPresentationBuilder(BasePresentationBuilderHandler.java:144)
at oracle.dss.addins.thin.common.BasePresentationBuilderHandler.handleNewPresEvent(BasePresentationBuilderHandler.java:158)
at oracle.dss.addins.thin.common.BasePresentationBuilderHandler.handleEvent(BasePresentationBuilderHandler.java:91)
at oracle.dss.addins.jspTags.TagRequestHandler.handleEvent(TagRequestHandler.java:348)
at oracle.dss.addins.jspTags.BIThinSessionTag.doEndTag(BIThinSessionTag.java:399)
at PresentationBuilder1.jspService(_PresentationBuilder1.java:88)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:536)
Any ideas.
ThxIf you have a problem deploying your application or running the application please a log a TAR with Oracle Support using Metalink, http://metalink.oracle.com.
Business Intelligence Beans Product Management Team
Oracle Corporation -
Error Creating Database on Oracle 10g Release 2
I'm having a problem creating a second database on 10g release 2 on Windows server 2003.
I have created an initialization parameter file on %Oracle_Home%\database\initDB2.ora
However, whenever I try to run sql command to create a database with the same name as the db_name parameter in the initialization parameter, it gives an error database name 'DB2' does nto matchthe parameter db_name = dbase
dbase is the first database that was created automatically when I installed Oracle.
Any solutions? Why is the server not using the parameter file I have created? Why does it seem to use the initialization parameter file that belongs to the first database?
Cheers'startup nomount' with 'pfile=...initDB2.ora' clause? In this case Oracle chooses a server parameter file (spfile) by default and I still assume ORACLE_SID is set to your first database. So automatically spfile from the first database is used. You should try:
set ORACLE_SID=DB2
(now in sqlplus) startup nomount pfile=%ORACLE_HOME$\database\initDB2.ora
Werner -
Error deploying entity bean on web logic server
i am trying to deploy a container managed persistence entity bean on web logic server when i run the command ejbc which generates the final jar file ready to deploy having its stub and skeleton it gives me the error that the return type of create(int) method should have a type of bean home interface while in accordance with ejb1.1 specicication it should be the type of primary key and a null value should be returned.
plz let me know where i am doing it wrong.thanks for ur quick response sir i am using this services provided by sun microsystem first time and
am really thankful to Sun Microsystem for this great deal of help to the new commers but sir my problem is still there.
following is the method which i have written in the code
public InvoicePK ejbCreate(int id)
this.id=id;
return null;
and here it is the error generated by the server deployment tool.
[9.2.8] In EJB Invoice, the return type for the create method create(int) must be the bean's remote interface type.
[9.2.8] In EJB Invoice, the findByPrimaryKey method must return the Entity bean's remote interface type.
[9.2.8] In EJB Invoice, the return type for the method findByPrimaryKey(com.swi.InvoicePK) must be the entity bean's remote interface type (for a single-object finder) or a collection thereof (for a mult-object finder).
the detail of files created by me are as follows.
1. Invoice (Entity Bean)
2. InvoicePK (Primary Key file)
3. MyRemoteInterface (remote interface for entity bean)
4. MyHomeInterface (home interface for entity bean)
plz let me know where i am doing wrong and oblige. -
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 Deploying CMP Entity Bean
Hi,
I am new to Entity Beans and am trying to deploy a CMP Entity Bean without any success.
I did search this forum for similar issues and tried those suggestions as well but that has not helped. Was wondering if someone could help me out on this.
The Entity bean has 2 fields: name and description.
The ejb-jar.xml file for this bean is:
<enterprise-beans>
<entity>
<ejb-name>Product</ejb-name>
<home>example.cmp.ProductHome</home>
<remote>example.cmp.Product</remote>
<ejb-class>example.cmp.ProductBean</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>PRODUCTS</abstract-schema-name>
<cmp-field>
<field-name>name</field-name>
</cmp-field>
<cmp-field>
<field-name>description</field-name>
</cmp-field>
<primkey-field>name</primkey-field>
<query>
</query>
</entity>
</enterprise-beans>
The error that I get while deploying the bean is:
Error deploying EJB homes for: file:/C:/servers/oc4j1013/j2ee/home/applications/cmptest/cmptest.jar
java.lang.InstantiationException: Error looking up cmt-datasource at jdbc/OracleDS (name not found)
at com.evermind.server.ApplicationState.getDataSourceContainer(ApplicationState.java:384)
Error deploying file:/C:/servers/oc4j1013/j2ee/home/applications/cmptest/cmptest.jar
homes: Error looking up cmt-datasource at jdbc/OracleDS (name not found)
[java] [TopLink Severe]: 2005.04.17 10:22:20.156--ServerSession(28816172)--
Local Exception Stack:
[java] Exception [TOPLINK-7060] (TopLink (Oracle OC4J CMP) - 10g release 3(10.1.3.0) (Build 041129)): oracle.toplink.exceptions.ValidationException
[java] Exception Description: Cannot acquire data source [jdbc/OracleDS].
[java] Internal Exception: javax.naming.NameNotFoundException: jdbc/OracleDS not found
[java] at oracle.toplink.exceptions.ValidationException.cannotAcquireDataSource(ValidationException.java:208)
[java] at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jNonJtaConnector.getOrCreateDataSource(Oc4jNonJtaConnector.java:62)
If anybody knows what the problem is please let me know.
Thanks in advance.
BhupenPlease note that the data-source has been re-architectured in 10.1.3 DP3 and you should have DataSource as follows:
<data-sources xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation='http://xmlns.oracle.com/oracleas/schema/data-sources-10_1.xsd' schema-major-version='10' schema-minor-version='1'>
<managed-data-source connection-pool-name='Example Connection Pool' jndi-name='jdbc/OracleDS' name='OracleManagedDS' />
<connection-pool name='Example Connection Pool' >
<connection-factory factory-class='oracle.jdbc.pool.OracleDataSource' user='scott' password='tiger' url='jdbc:oracle:thin:@localhost:1521:orcl'>
</connection-factory>
</connection-pool>
</data-sources> -
Error while invoking bean "domain manager": Error deploying BPEL suitcase.
My issue is the following, when I use wsa adressing in my bpel process such as:
xmlns:ns2="http://schemas.xmlsoap.org/ws/2003/03/addressing"
and create a variable based on this schema
<variable name="partnerReference" element="ns2:EndpointReference"/>
I can compile and generate the jar file. But when I deploy this file in my console I get the following error:
Module oracle.soa.bpel.system
Host brux0304
Host IP Address 10.18.80.129
User weblogic
Thread ID [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'
Message Error while invoking bean "domain manager": Error deploying BPEL suitcase.
Supplemental Detail error while attempting to deploy the BPEL component file "/soa/oracle/Middleware/user_projects/domains/base_domain/servers/soa_server1/dc/soa_f7fc611b-51eb-4910-a671-d2bb5c5c31d0"; the exception reported is: java.lang.Exception: BPEL 1.1 compilation failed
This error contained an exception thrown by the underlying deployment module.
Verify the exception trace in the log (with logging level set to debug mode).
ORABPEL-05250
Error deploying BPEL suitcase.
error while attempting to deploy the BPEL component file "/soa/oracle/Middleware/user_projects/domains/base_domain/servers/soa_server1/dc/soa_f7fc611b-51eb-4910-a671-d2bb5c5c31d0"; the exception reported is: java.lang.Exception: BPEL 1.1 compilation failed
This error contained an exception thrown by the underlying deployment module.
Verify the exception trace in the log (with logging level set to debug mode).
at com.collaxa.cube.engine.deployment.DeploymentManager.deployComponent(DeploymentManager.java:197)
at com.collaxa.cube.ejb.impl.CubeServerManagerBean._deployOrLoadComponent(CubeServerManagerBean.java:820)
at com.collaxa.cube.ejb.impl.CubeServerManagerBean.deployComponent(CubeServerManagerBean.java:119)
at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean.deployComponent(BPELServerManagerBean.java:88)
at sun.reflect.GeneratedMethodAccessor844.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:94)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:81)
at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:112)
at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:105)
at sun.reflect.GeneratedMethodAccessor843.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy281.deployComponent(Unknown Source)
at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean_bp05wg_ICubeServerManagerLocalBeanImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean_bp05wg_ICubeServerManagerLocalBeanImpl.deployComponent(Unknown Source)
at oracle.fabric.CubeServiceEngine.load(CubeServiceEngine.java:886)
at oracle.fabric.CubeServiceEngine.load(CubeServiceEngine.java:128)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployComponents(CompositeDeploymentConnection.java:242)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:93)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.initDeployment(CompositeDeploymentManagerImpl.java:149)
at oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.load(CompositeDeploymentManagerImpl.java:62)
at sun.reflect.GeneratedMethodAccessor18895.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at oracle.integration.platform.blocks.deploy.DeploymentEventPublisher.invoke(DeploymentEventPublisher.java:68)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy309.load(Unknown Source)
at oracle.integration.platform.blocks.deploy.StandaloneCompositeDeploymentCoordinatorImpl.coordinateCompositeRedeploy(StandaloneCompositeDeploymentCoordinatorImpl.java:95)
at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.overwriteExistingComposite(BaseDeployProcessor.java:398)
at oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploySARs(BaseDeployProcessor.java:229)
at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:161)
at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:109)
at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doRedeploy(DeployProcessor.java:101)
at oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.process(DeployProcessor.java:81)
at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPostInsideLoggingSession(CompositeDeployerServlet.java:221)
at oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPost(CompositeDeployerServlet.java:124)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
When I remove the namespace and variable it works.
What should be causing that?
Regards,
LucianaThere seems to be some issue with partnerrole definition. Please check CreatePurchaseOrderListEbizProvABCSImplProcess.bpel(line 51): and CreatePurchaseOrderListEbizProvABCSImplProcess.bpel(line 617): role not found
as mentioned in the log.
Regards,
Narayana -
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 -
(Urgent !!!) deployment error of EJB in Oracle 8.1.5
Hi all
I am using Oracle 8.1.5 (Jserv) at the backend as database server and EJB server
and JDeveloper 2.0 for development of EJBs
I am creating a Mailer EJB which uses javax.mail package APIs for sending mails
I have included corresponding jar file for this package. my ejbs package name is Email
and session bean class name is smtp
when I deploy this bean deployer generate jar files in which it includes every dependent classes. but when it deploys it
an error comes
"error while deploying class Email.smtp not found while deserializing descripto"
Can anybody please suggest me what is going wrong?
any help is appreciated
thanx in advance
regards
Mukesh garg
nullThis might be best asked in the Oracel Text forum...
But, it appears that you have extproc configured correctly, the problem is that extproc cannot find the shared object in question. It cannot dynamically load the shared object becaus it cannot find it.
In my experience, this is due to a LD_LIBRARY_PATH unix environmental variable that does not include the directory where the shared object is. You should set this variable in the login script for the oracle user.
From the installation guide.... I am not sure if this library is in ORACLE_HOME/lib, if not add the directory to LD_LIBRARY_PATH
LD_LIBRARY_PATH
Required when using Oracle products that use shared libraries. Set LD_LIBRARY_
PATH to include $ORACLE_HOME/lib. -
Error deploying MDB to be instantiated by Oracle AQ
wanting to deploy my MDB to our AIX box running Dev review 9.0.3, but meanwhile trying to understand and get running under imbedded OC4J on JDev 9.0.2. getting the following message on deploying:-
Error deploying file:/C:/Program Files/JDev9i_902/j2ee/home/applications/MyMesage/MyMesage.jar homes: JMS Error: invalid arguments in call
no other useful messages in any of the logs (actually i'm not suggesting that the above is a useful message). i have a client that has successfully created the queuetable, and the queue on Oracle8i, and enqueued several hundred textmessages.
have put into my j2ee/home/config/application.xml:-
<!-- Resource provider added to enable MDBs to listen on Oracle AQ queues -->
<resource-provider class="oracle.jms.OjmsContext" name="OracleAQ">
<description>
JDBC access (via datasources.xml) to AQ in Oracle database
</description>
<property name="url" value="jdbc:oracle:thin:@av012crmfm:1526:MHCISD"/>
<property name="username" value="mhcis"/>
<property name="password" value="mhcis"/>
<!-- <property name="datasource" value="jdbc/MhcisCoreDS"/> -->
</resource-provider>
my jms.xml i have evolved to the following, but not sure if i need all this:-
<jms-server port="9127">
<!-- Queue bindings, these queues will be bound to their respective JNDI path for
later retrieval -->
<queue name="BLHL7QUEUE" location="java:comp/resource/OracleAQ/Queues/MHCIS.BLHL7QUEUE">
<description>Bentley HL7 messages queue</description>
</queue>
<queue-connection-factory location="java:comp/resource/OracleAQ/QueueConnectionFactories/OracleQCF"
username="mhcis" password="mhcis" />
my ejb-jar.xml is as:-
<ejb-jar>
<enterprise-beans>
<message-driven>
<ejb-name>MyMesageDrivenEJB</ejb-name>
<ejb-class>mypackage2.impl.MyMesageDrivenEJBBean</ejb-class>
<message-driven-destination>
<destination-type>javax.jms.Queue</destination-type>
</message-driven-destination>
</message-driven>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>MyMesageDrivenEJB</ejb-name>
<method-name>onMessage</method-name>
<method-params>
<method-param>javax.jms.Message</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
and finally, my orion-ejb-jar.xml is as:-
<orion-ejb-jar>
<enterprise-beans>
<message-driven-deployment name="MyMesageDrivenEJB"
destination-location="java:comp/resource/OracleAQ/Queues/MHCIS.BLHL7QUEUE"
connection-factory-location="java:comp/resource/OracleAQ/QueueConnectionFactories/OracleQCF"
max-instances="1">
</message-driven-deployment>
</enterprise-beans>
<assembly-descriptor>
</assembly-descriptor>
</orion-ejb-jar>
i think it is something to do with some sun JMS class and JDBC connection. i'm pretty sure that my resource provider (oracle.jms.OjmsContext) is connecting to the database and finding the queue.
anyone out there have any ideas, or can see something wrong with what i've done here with my configuration.Seems OC4J9.0.2 has some problems with AQ/MDB....
But i have tested a small test case application which uses AQ/MDB in OC4J9.0.3.
It works fine...So if anyone of you want that let me know abt that...
i will send it....:-)
Cheers
--Venky -
Good afternoon,
I'm trying to resolve an issue generated during a deployment of my EJB's.
The error follows:
Property change error for property "Deploy"
No beans were found in the jar file d:\weblogic451\myserver\Appointment.jar.
Please make sure that the manifest of the JAR file contains an .SER file
with the Enterprise-Bean: true attribute.
I'm enclosing the jar file and properties file for review. Do I have an
issue with the manifest file format? A class path issue? I'm assuming the
manifest file is properly formatted because I have created jar files. I'm
running Weblogic version 4.5.1 on WinNT. Also, how do I tell what version
of the service pack is installed? I installed SP 9, but have no way to
verify the installation actually completed except the server does start.
Please note, I'm taking a class at school and this is my first attempt to
deploy beans.
Thanks for the help,
Rich Olson
[Appointment.jar]
[weblogic.properties]If you have a problem deploying your application or running the application please a log a TAR with Oracle Support using Metalink, http://metalink.oracle.com.
Business Intelligence Beans Product Management Team
Oracle Corporation -
Good afternoon,
I'm trying to resolve an issue generated during a deployment of my EJB's.
The error follows:
Property change error for property "Deploy"
No beans were found in the jar file d:\weblogic451\myserver\Appointment.jar.
Please make sure that the manifest of the JAR file contains an .SER file
with the Enterprise-Bean: true attribute.
I'm enclosing the jar file and properties file for review. Do I have an
issue with the manifest file format? A class path issue? I'm assuming the
manifest file is properly formatted because I have created jar files. I'm
running Weblogic version 4.5.1 on WinNT. Also, how do I tell what version
of the service pack is installed? I installed SP 9, but have no way to
verify the installation actually completed except the server does start.
Please note, I'm taking a class at school and this is my first attempt to
deploy beans.
Thanks for the help,
Rich Olson
[weblogic.properties]
[Appointment.jar]If you have a problem deploying your application or running the application please a log a TAR with Oracle Support using Metalink, http://metalink.oracle.com.
Business Intelligence Beans Product Management Team
Oracle Corporation -
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. -
JD3-Error deploying Oracle Java Libraries
I get the following error when trying to deploy Oracle 8.1.5
JDBC, Connection Manager, and JBO Runtime libraries:
initialization complete
loading : oracle/sql/converter/CharacterConverter
creating : oracle/sql/converter/CharacterConverter
loading : oracle/jdbc/oracore/OracleTypeREF
creating : oracle/jdbc/oracore/OracleTypeREF
Error while creating class oracle/jdbc/oracore/OracleTypeREF
ORA-01031: insufficient privileges
loading : oracle/jdbc/ttc7/TTCDataSet
creating : oracle/jdbc/ttc7/TTCDataSet
Error while creating class oracle/jdbc/ttc7/TTCDataSet
ORA-01031: insufficient privileges
loading : oracle/jpub/runtime/MutableArray
creating : oracle/jpub/runtime/MutableArray
loading : oracle/sql/converter/CharacterConverterSJIS
creating : oracle/sql/converter/CharacterConverterSJIS
loading : oracle/jdbc/ttc7/TTCAdapter
creating : oracle/jdbc/ttc7/TTCAdapter
Error while creating class oracle/jdbc/ttc7/TTCAdapter
ORA-01031: insufficient privileges
nullThank you very much for your quick response.
So, then I tried to deploy my classes without including the
Oracle libraries in the advanced deploy options, and this is
what I got (I try to deploy a Java Stored Procedure which calls
Oracle Business Components for Java. It's working all fine
locally in a Java VM, but now I want to access that remotely
through a Java Stored Procedure):
*** Executing deployment profile C:\Program
Files\Oracle\JDeveloper 3.0\myprojects\SPProfile1.prf ***
*** Generating archive file C:\Program Files\Oracle\JDeveloper
3.0\myclasses\SPProfile4_Untitled.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 ***
*** Loading archive C:\Program Files\Oracle\JDeveloper 3.0
\myclasses\SPProfile4_Untitled.jar into JServer using JDBC ***
Load Java argument list:
"C:\Program Files\Oracle\JDeveloper 3.0\java\bin\javaw"
"-DPATH=C:\Program Files\Oracle\JDeveloper 3.0\bin;C:\Program
Files\Oracle\JDeveloper 3.0\java\bin"
-classpath
"C:\Program Files\Oracle\JDeveloper 3.0
\java\lib\classes.zip;C:\Program Files\Oracle\JDeveloper 3.0
\lib\jdeveloper.zip;C:\Program Files\Oracle\JDeveloper 3.0
\myclasses;C:\Program Files\Oracle\JDeveloper 3.0\lib\jdev-
rt.zip;C:\Program Files\Oracle\JDeveloper 3.0
\jdbc\lib\oracle8.1.5\classes111.zip;C:\Program
Files\Oracle\JDeveloper 3.0\lib\connectionmanager.zip;C:\Program
Files\Oracle\JDeveloper 3.0\lib\jbodatum.zip;C:\Program
Files\Oracle\JDeveloper 3.0\lib\jbomt.zip;C:\Program
Files\Oracle\JDeveloper 3.0\lib\jboremote.zip;C:\Program
Files\Oracle\JDeveloper 3.0\lib\jndi.jar;C:\Program
Files\Oracle\JDeveloper 3.0\lib\xmlparserv2.jar;C:\Program
Files\Oracle\JDeveloper 3.0\aurora\lib\aurora.zip;C:\Program
Files\Oracle\JDeveloper 3.0\lib\jboejb.jar;C:\Program
Files\Oracle\JDeveloper 3.0
\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper
3.0\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.0
\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.0
\lib\javax_ejb.zip;C:\Program Files\Oracl
\JDeveloper 3.0\java\lib\classes.zip;C:\Program
Files\Oracle\JDeveloper 3.0
\aurora\lib\aurora_client.jar;C:\Program Files\Oracle\JDeveloper
3.0\aurora\lib\vbjorb.jar;C:\Program Files\Oracle\JDeveloper 3.0
\aurora\lib\vbjapp.jar;C:\Program Files\Oracle\JDeveloper 3.0
\aurora\lib\vbjtools.jar;C:\Program Files\Oracle\JDeveloper 3.0
\aurora\lib\vbj30ssl.jar;C:\Program Files\Oracle\JDeveloper 3.0
\jdbc\lib\oracle8.1.5\classes111.zip"
oracle.aurora.server.tools.LoadJavaMain
-user
devp/[email protected]:1521:MWAY
-thin
-verbose
-resolve
"C:\Program Files\Oracle\JDeveloper 3.0
\myclasses\SPProfile4_Untitled.jar"
AppAccelerator(tm) 1.1.8 for Java (JDK 1.1), x86 version.
Copyright (c) 1997-1998 Borland International. All Rights
Reserved.
Copyright (c) 1997-1999 Oracle Corporation. All Rights Reserved.
initialization complete
identical: package1/CommuterRegionSubscriptionViewImpl is
unchanged from previously loaded file
identical: package1/ErikProc2Lib is unchanged from previously
loaded file
identical: package1/TestReadTable2 is unchanged from previously
loaded file
identical: package1/CommuterEtakRegionImpl is unchanged from
previously loaded file
identical: package1/CommuterRegionSubscriptionImpl is unchanged
from previously loaded file
identical: package1/CommuterEtakRegionViewImpl is unchanged from
previously loaded file
identical: package1/Package1ModuleImpl is unchanged from
previously loaded file
identical: package1/ErikProc is unchanged from previously loaded
file
identical: package1/ErikProc2 is unchanged from previously
loaded file
identical: package1/CommuterRegionSubscription.xml is unchanged
from previously loaded file
identical: package1/FkCommuterEtakRegionSubAssoc.xml is
unchanged from previously loaded file
identical: package1/FkCommuterEtakRegionSubLink.xml is unchanged
from previously loaded file
identical: package1/CommuterRegionSubscriptionView.xml is
unchanged from previously loaded file
identical: META-INF/MANIFEST.MF is unchanged from previously
loaded file
identical: package1/package1.xml is unchanged from previously
loaded file
loading : connections.properties
creating : connections.properties
identical: package1/Package1Module.xml is unchanged from
previously loaded file
resolver :
resolving: package1/CommuterRegionSubscriptionViewImpl
Error while resolving class
package1/CommuterRegionSubscriptionViewImpl
ORA-29554: unhandled Java out of memory condition
package1/ErikProc2Lib is already resolved
resolving: package1/TestReadTable2
Error while resolving class package1/TestReadTable2
ORA-29554: unhandled Java out of memory condition
resolving: package1/CommuterEtakRegionImpl
Error while resolving class package1/CommuterEtakRegionImpl
ORA-29554: unhandled Java out of memory condition
resolving: package1/CommuterRegionSubscriptionImpl
Error while resolving class
package1/CommuterRegionSubscriptionImpl
ORA-29554: unhandled Java out of memory condition
resolving: package1/CommuterEtakRegionViewImpl
Error while resolving class package1/CommuterEtakRegionViewImpl
Exception java.sql.SQLException: No more data to read from
socket
initialization complete
resolving: package1/Package1ModuleImpl
Error while resolving class package1/Package1ModuleImpl
ORA-29554: unhandled Java out of memory condition
package1/ErikProc is already resolved
package1/ErikProc2 is already resolved
loadjava: 6 errors
*** Errors occurred while loading the archive into JServer ***
*** Deployment completed ***
Thank you very much for your cooperation,
Erik :-)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
JDev Team (guest) wrote:
: Erik,
: A lot of the oracle. packages already exist in the server in
the
: SYS namespace because they are used by the JDK in the server.
If
: you try to deploy them, the server thinks you
: are trying to overwrite and it won't let you. The oracle.jdbc
: and oracle.sql stuff is definitely already there. I suspect
the
: oracle.jpub stuff is there as well.
: In JDeveloper, you can see what's in the SYS namespace by
using
: the database browser. Double-click the connection you're
using
: to deploy to the database under the Connections folder. This
: will display the Database Browser. Expand the 'Database
Schemas'
: folder, SYS, then Deployed Java Classes. Under there, you'll
see
: packages such as 'com','sun', 'javax', etc. You can expand
each
: of those to see if the one you're trying to deploy already
: exists.
: In JDeveloper 2.0, you control which dependency
packages/classes
: are deployed with the 'Dependencies' page of the deployment
: profile wizard. In JDev 3.0, this information is available
from
: the 'Advanced' button on the Projects page. Make sure to
remove
: any packages from your deployment profile that already exist
in
: the SYS schema.
: Use the Preview button to make sure your deployment archive
: contains only those files you want to deploy, and not any
: additional dependencies which are already in the server.
: Laura
: Erik Mailhiot (guest) wrote:
: : I get the following error when trying to deploy Oracle 8.1.5
: : JDBC, Connection Manager, and JBO Runtime libraries:
: : initialization complete
: : loading : oracle/sql/converter/CharacterConverter
: : creating : oracle/sql/converter/CharacterConverter
: : loading : oracle/jdbc/oracore/OracleTypeREF
: : creating : oracle/jdbc/oracore/OracleTypeREF
: : Error while creating class oracle/jdbc/oracore/OracleTypeREF
: : ORA-01031: insufficient privileges
: : loading : oracle/jdbc/ttc7/TTCDataSet
: : creating : oracle/jdbc/ttc7/TTCDataSet
: : Error while creating class oracle/jdbc/ttc7/TTCDataSet
: : ORA-01031: insufficient privileges
: : loading : oracle/jpub/runtime/MutableArray
: : creating : oracle/jpub/runtime/MutableArray
: : loading : oracle/sql/converter/CharacterConverterSJIS
: : creating : oracle/sql/converter/CharacterConverterSJIS
: : loading : oracle/jdbc/ttc7/TTCAdapter
: : creating : oracle/jdbc/ttc7/TTCAdapter
: : Error while creating class oracle/jdbc/ttc7/TTCAdapter
: : ORA-01031: insufficient privileges
null
Maybe you are looking for
-
Database in noarchivelog mode, truncate command issued
Database in noarchivelog mode, truncate command has been issued how to restore the table? FACTS:- 1. DB In noarchivelog Mode 2. Cannot enable flash back mode because of 1. above 3. No exports available 4. No backup's Available. Any thoughts ?
-
I recently purchased a new computer Window7 and no longer can find or share photos from my library. If I move back to the old computer WindowsXP I can share photos. Is there some setting that I'm missing on the new operating system that is preventing
-
In Which table Cost Price of Items stored in SAP?
Hi Friends, I am extracting Items details using DI API. I want the cost price of items purchased? In which table the cost Prices stored? And What is the Price which is displayed in SAP B1 Item master data?
-
Can someone explain this chart about Li-ion charge cycles to me
I consider myself a pretty smart guy, but i couldn't figure this out. I'm thinking that apple just provided this graph without any real explanation of what it means. I'm talking about the one on .. http://www.apple.com/batteries/ that has a caption s
-
Where did my emails go after an email account password change?
Hi, I am sorry this may get a little wordy.... I had to reset an email account password ( for one of the four profiles/email addresses tbird manages) with my isp because tbird suddenly could not connect to the mail server ( It kept asking me to enter