Unable to load "ejb.jar" to database

Hi All,
I am trying to load ejb.jar to database by using the following syntax.
loadjava  -verbose -force -resolve -oracleresolver -user <uname>/<password>@<server>:<port>:<sid>  -t  ejb.jar 
But it is showing error :
ksh: loadjava : not found.
In the server when i type loadjava it is showing the options, means loadjava will work i think. Is there any configuration needs to change to load ejb.jar to database ?
Machine details :
AIX 64 Bit 5.3
DB : Oracle 11g 11.2.0.2.0
Appreciated your help in this.
Thanks,
Prakash

Prakash wrote:
Hi,
I did the following
export PATH=$ORACLE_HOME/bin
Then
loadjava  -verbose -force -resolve -oracleresolver -user <Uname>/<Pwd>@<Server>:<Port>:<Sid>  -t  ejb.jar
But still i m facing the same issue.
Even the .profile also we have defined : export PATH=$PATH:$ORACLE_HOME/bin/
Can you please point me what is missing in the above steps i followed.
Thanks,
Prakash
PLEASE use COPY & PASTE so we can see exactly what you do & response from OS/Oracle
what is "-t" arguement?
bcm@bcm-laptop:~$ loadjava
loadjava: Usage: loadjava [-definer] [-encoding encoding] [-force] [-genmissing] [-genmissingjar jar] [-grant grants] [-help] [-nousage] [-noverify] [-oci8] [-order] [-resolve] [-nativecompile] [-resolver resolver] [-schema schema] [-synonym] [-thin] [-tableschema schema] [-user user/password@database] [-verbose] [-edition edition] classes..jars..resources..properties...
bcm@bcm-laptop:~$

Similar Messages

  • Unable to find ejb-jar with uri X.jar in ear at c:/Y/split_src

    Stack trace is below, but the ejb does exist at the location that the FileNotFoundException states. I've checked that application.xml, org.eclipse.wst.common.component both have the correct name for this dependency.
    java.lang.Exception: Exception received from deployment driver. See Error Log view for more detail.
      at oracle.eclipse.tools.weblogic.server.internal.DeploymentProgressListener.watch(DeploymentProgressListener.java:190)
      at oracle.eclipse.tools.weblogic.server.internal.WlsJ2EEDeploymentHelper.deploy(WlsJ2EEDeploymentHelper.java:506)
      at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishWeblogicModules(WeblogicServerBehaviour.java:1466)
      at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishToServer(WeblogicServerBehaviour.java:898)
      at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:686)
      at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:539)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
      at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3153)
      at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:345)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
    Caused by: weblogic.application.ModuleException:
      at weblogic.ejb.container.deployer.EJBModule.init(EJBModule.java:334)
      at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:167)
      at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:312)
      at weblogic.application.internal.flow.InitModulesFlow.initModules(InitModulesFlow.java:325)
      at weblogic.application.internal.flow.InitModulesFlow.prepare(InitModulesFlow.java:378)
      at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:648)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
      at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
      at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59)
      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:208)
      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:545)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: java.io.FileNotFoundException: Unable to find ejb-jar with uri ***.jar in ear at C:\***\split_src
      at weblogic.ejb.spi.EJBJar.<init>(EJBJar.java:81)
      at weblogic.ejb.container.deployer.EJBModule.buildClassFinder(EJBModule.java:201)
      at weblogic.ejb.container.deployer.EJBModule.init(EJBModule.java:313)

    Hi Ten,
    FYI, just by placing the ejb jar inside EAR project it will not be picked up for deployment. The EJB module has to be defined on EAR Module Assembly, and the steps are:
    > EAR Project | Properties, Deployment Assembly - Add EJB module
    NOTE: To verify the dependency you could try to export the EAR project to an .ear file. If the exported .ear file bundles ejb jar then deployment should work fine.
    As far as the deployment mode, OEPE supports WebLogic Split-source (default) and Exploded archive. In the default split-source mode, the .beabuild.txt contains the mapping to the actual files whereas in exploded archive the files are copied over to deployment staging location.
    Steps to modify deployment mode:
    > In the server view, right click on server configuration | Properties, select WebLogic | Publishing
    Please make sure the ejb module is defined appropriately and let me know if this resolves the issue.
    Thanks,
    Ram

  • Unable to publish - Unable to find ejb-jar with uri itr-ejbs.jar in ear

    I'm using Weblogic 10.3.4 with Eclipse Juno before i was with Eclipse Galileo. Since the update i'm not able to publish my ear anymore.
    I search on the internet the explanation of this stacktrace but i don't find a understandable answer so i ask to you :D
    <5 oct. 2012 12 h 30 CEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1349433008242' for task '0'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
         at weblogic.ejb.container.deployer.EJBModule.init(EJBModule.java:334)
         at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:167)
         at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:285)
         at weblogic.application.internal.flow.InitModulesFlow.initModules(InitModulesFlow.java:298)
         at weblogic.application.internal.flow.InitModulesFlow.prepare(InitModulesFlow.java:330)
         Truncated. see log file for complete stacktrace
    Caused By: java.io.FileNotFoundException: Unable to find ejb-jar with uri itr-ejbs.jar in ear at D:\dev\workspaces\.metadata\.plugins\org.eclipse.core.resources\.projects\itr-ear\beadep\citron_domain\itr-ear\split_src
         at weblogic.ejb.spi.EJBJar.<init>(EJBJar.java:81)
         at weblogic.ejb.container.deployer.EJBModule.buildClassFinder(EJBModule.java:201)
         at weblogic.ejb.container.deployer.EJBModule.init(EJBModule.java:313)
         at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:167)
         at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:285)
         Truncated. see log file for complete stacktrace
    >
    <5 oct. 2012 12 h 30 CEST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'itr-ear'.>
    <5 oct. 2012 12 h 30 CEST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException:
         at weblogic.ejb.container.deployer.EJBModule.init(EJBModule.java:334)
         at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:167)
         at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:285)
         at weblogic.application.internal.flow.InitModulesFlow.initModules(InitModulesFlow.java:298)
         at weblogic.application.internal.flow.InitModulesFlow.prepare(InitModulesFlow.java:330)
         Truncated. see log file for complete stacktrace
    Caused By: java.io.FileNotFoundException: Unable to find ejb-jar with uri itr-ejbs.jar in ear at D:\dev\workspaces\.metadata\.plugins\org.eclipse.core.resources\.projects\itr-ear\beadep\citron_domain\itr-ear\split_src
         at weblogic.ejb.spi.EJBJar.<init>(EJBJar.java:81)
         at weblogic.ejb.container.deployer.EJBModule.buildClassFinder(EJBModule.java:201)
         at weblogic.ejb.container.deployer.EJBModule.init(EJBModule.java:313)
         at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:167)
         at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:285)
         Truncated. see log file for complete stacktrace
    >Thank You

    Hi,
    It seems one of your ejb jar is missing from the current file location.
    D:\dev\workspaces\.metadata\.plugins\org.eclipse.core.resources\.projects\itr-ear\beadep\citron_domain\itr-ear\split_src
    you can make it manually copied to this location and build the project again so that it can able to deploy propertly.
    Now one more thing you can do open a ticket with oracle support for better assistance.
    Regards,
    Kal

  • Error while Loading Mail.jar in Database

    Hi,
    I am trying to load mail.jar in Oracle 8i Database(ver. 8.1.5.0.0). It is giving error insufficient previleges. Then I extracted mail.jar and tried to load class PasswordAuthentication of mail.jar in user scott. It gave me same error. But I could load the same class in user SYS.
    Does it mean that, scott needs some special previleges for the classes in mail.jar. If so, How can I set those previleges ?
    Thanking You.
    Mrinal.
    null

    rdbms 8.1.5 had very tight restrictions on loading "system classes.
    check the java doc for 8.1.5 on this.
    check out the following
    "protected packages" in the following
    http://otn.oracle.com/doc/server.815/a64682/04jserve.htm#1001015
    Protected Packages
    You cannot replace system classes (those that CREATE JAVA SYSTEM installs, which you invoke with initjvm.sql at database initialization time). In addition, classes in any package (or sub-package) in which system classes reside, can be created only in the SYS schema. Protected packages include those starting with the patterns:
    java
    javax
    oracle.aurora
    oracle.jdbc
    oracle.rdbms
    oracle.sqlj
    oracle.sqlnet
    oracle.vm
    oracle.weak
    sun.tools
    sun.misc
    sun.net
    com.visigenic.vbroker
    com.sun.jndi
    org.omg
    sqlj
    by the way 8.1.5 went out of support on dec 31, 2000. you need to consider moving to 8.1.7.
    null

  • Unable to deploy ejb jar consisting CMP and Stateful in single ejb-jar.xml

    Hi
    I was able to deploy entity bean and stateless bean saperately but when i am trying to deploy a jar consisting of CMP entity and Stateless within single ejb-jar.xml it shows following errors.
    Auto-deploying ejb_SDCurrency.jar (No previous deployment found)... ISDCMCurrencyHome_EntityHomeWrapper4.java:830: 'finally'
    wi
    finally
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:835: 'try' without 'catch' or 'finally'.
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:838: 'catch' without 'try'.
    catch(java.sql.SQLException e)
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:889: '}' expected.
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:893: 'try' without 'catch' or 'finally'.
    public com.satyam.icalm.staticdata.currency.ISDCMCurrency findByCode(int argument0, java.lang.String argument1) throws
    javax.ej
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:893: Statement expected.
    public com.satyam.icalm.staticdata.currency.ISDCMCurrency findByCode(int argument0, java.lang.String argument1) throws
    javax.ej
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:961: 'finally' without 'try'.
    finally
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:966: 'try' without 'catch' or 'finally'.
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:968: 'catch' without 'try'.
    catch(java.sql.SQLException e)
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1017: '}' expected.
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1021: 'try' without 'catch' or 'finally'.
    public com.satyam.icalm.staticdata.currency.ISDCMCurrency findAllByCode(int argument0, java.lang.String argument1) throws
    javax
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1021: Statement expected.
    public com.satyam.icalm.staticdata.currency.ISDCMCurrency findAllByCode(int argument0, java.lang.String argument1) throws
    javax
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1371: 'finally' without 'try'.
    finally
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1376: 'try' without 'catch' or 'finally'.
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1378: 'catch' without 'try'.
    catch(java.sql.SQLException e)
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1427: '}' expected.
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1431: 'try' without 'catch' or 'finally'.
    public java.util.Enumeration findAuthorizedRecords(int argument0) throws javax.ejb.FinderException, java.rmi.RemoteException
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1431: Statement expected.
    public java.util.Enumeration findAuthorizedRecords(int argument0) throws javax.ejb.FinderException, java.rmi.RemoteException
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1496: 'finally' without 'try'.
    finally
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1501: 'try' without 'catch' or 'finally'.
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1504: 'catch' without 'try'.
    catch(java.sql.SQLException e)
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1555: '}' expected.
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1559: 'try' without 'catch' or 'finally'.
    public java.util.Enumeration findAllRecords(int argument0) throws javax.ejb.FinderException, java.rmi.RemoteException
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1559: Statement expected.
    public java.util.Enumeration findAllRecords(int argument0) throws javax.ejb.FinderException, java.rmi.RemoteException
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1624: 'finally' without 'try'.
    finally
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1629: 'try' without 'catch' or 'finally'.
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1632: 'catch' without 'try'.
    catch(java.sql.SQLException e)
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1683: '}' expected.
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1685: 'try' without 'catch' or 'finally'.
    public ISDCMCurrencyHome_EntityHomeWrapper4() throws java.rmi.RemoteException
    ^
    ISDCMCurrencyHome_EntityHomeWrapper4.java:1685: Statement expected.
    public ISDCMCurrencyHome_EntityHomeWrapper4() throws java.rmi.RemoteException
    ^
    30 errors
    Error compiling C:\oc4jext\j2ee\home\applications\calm6/ejb_SDCurrency.jar: Syntax error in source
    com.evermind.compiler.CompilationException: Syntax error in source
    at com.evermind.compiler.FileLinkedCompilation.run(FileLinkedCompilation.java:90)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.evermind.compiler.FileLinkedCompiler.compile(FileLinkedCompiler.java:19)
    at com.evermind.compiler.Javac.compile(Javac.java:37)
    at com.evermind.server.ejb.compilation.Compilation.compileClasses(Compilation.java:335)
    at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:256)
    at com.evermind.server.administration.ServerApplicationInstallation.finish(ServerApplication
    Installation.java:439)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:80)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:62)
    Note:The same jar is deployed into Weblogic 5.1 and was working fine .....
    so please if any solutions .....
    regards,
    Sap

    Hi sapthapathi,
    From the information u have provided, i can only guess, that
    the problem is in ur code...Not in ejb-jar.xml....
    'coz there is no problem in combining stateless session bean and CMP entity bean information in a single ejb-jar.xml file...i myself have deployed bunch of CMPs with stateless session beans..
    So please check ur code once again....
    --Venky                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Unable to create ejb.jar file.

    how do we create an ejb.jar file in j2ee explorer.
    I am not able to see the option <i>Build Ejb.jar</i>
    in the context menu when i click on my ejb project
    Regards
    Naresh Garg

    hi Naresh,
    There is option called EJB Archive this option builds your EJB. if your trying to create Web Module Project you can only create WAR file .
    Venkat

  • Unable to load sqljdbc4.jar driver in PI 7.4

    Hi all, I'm facing an issue while loading the jdbc adapter (sqljdbc4.jar) with the SUM in PI 7.4.  I downloaded the driver from Download Microsoft JDBC Driver 4.0 for SQL Server from Official Microsoft Download Center and followed the steps in note 1138877 - How to Deploy External Drivers JDBC/JMS Adapters, for the deploy.
    Checking note 1829286 - PI: How to check which drivers are installed for the JMS and JDBC Adapters, I see that the loaded driver is not the one I'm trying to load.
    The SDA I used to load the driver is the SAPXI3RDPARTY06_0-20009965 (com.sap.aii.adapter.lib.sda)
    Anyone faced this issue before?
    Thanks in advance,
    Jesus Rodriguez

    HI,
    Is your JDBC adapter shown in communication channel?
    I have deployed JDBC driver(sqljdbc4.jar) according tohttp://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00b4a020-4ae6-2c10-5a95-fed4ad9a4b60?QuickLink=index&… .
    Driver deployed successfully and I have checked it in folder \usr\sap\xxx\DVEBMGS30\j2ee\cluster\bin\ext\com.sap.aii.adapter.lib\lib and it's found ok. But this adapter type  not showing in Communication Channel only RFC and SOAP are showing there. I have restarted the server also.

  • Error in starting an EAR containing EJBs : Unable to prepare EJB

    I am using ANT build script to create and deploy EAR on WAS server.
    This EAR file packages EJB jar file inside it.
    I am using WAS 5.1.1 Test Environment from IBM RAD 6.0.
    When deployment is done, the application is not in Started status.
    If I try to start it from web-based admin console, I get error given below.
    I examined the missing classes.
    Error CNTR0075E could not find: EJSStatelessSurveyManagerHomeBean_a1e88e5e
    Error WSVR0209E could not find: EJSStatelessSurveyManagerHomeBean_00693296
    When I checked the deployed EAR file, I could locate EJSStatelessSurveyManagerHomeBean_a1e88e5e in the EJB jar file inside the EAR file. I carefully checked the full qualified name. It is there.
    But the other one (classname ending with 00693296) is not there.
    What are these numbers? Are these any ref ids in some xml file (web.xml, ejb-jar.xml, etc)?
    When I searched web based forums for these error codes, I tried varius solutions [e.g. Generate Deploy Code and RMIC, etc] but nothing seems to work :-(
    Is there any solution to it?
    Thanking in advance.
    Error details:
    [8/14/06 14:23:54:017 IST] 6d8b5f3e BeanMetaData E CNTR0075E: The user-provided class "com.queplix.jd.survey.ejb.EJSStatelessSurveyManagerHomeBean_a1e88e5e" needed by the EnterpriseBean could not be found or loaded.
    [8/14/06 14:23:54:017 IST] 6d8b5f3e EJBContainerI E WSVR0209E: Unable to prepare EJB jar DTAC-ejb.jar [class com.ibm.ws.runtime.component.DeployedModuleImpl], enterprise bean com.ibm.etools.ejb.impl.SessionImpl(SurveyManager) (transactionType: Container, sessionType: Stateless)
    java.lang.ClassNotFoundException: com.queplix.jd.survey.ejb.EJSStatelessSurveyManagerHomeBean_00693296
         at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code))
         at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code))
         at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
         at com.ibm.ejs.container.BeanMetaData.loadExistedClass(BeanMetaData.java:2644)
         at com.ibm.ejs.container.BeanMetaData.<init>(BeanMetaData.java:887)
         at com.ibm.ws.runtime.component.EJBContainerImpl.createBeanMetaData(EJBContainerImpl.java:1038)
         at com.ibm.ws.runtime.component.EJBContainerImpl.createModuleMetaData(EJBContainerImpl.java:830)
         at com.ibm.ws.runtime.component.EJBContainerImpl.createMetaData(EJBContainerImpl.java:1575)
         at com.ibm.ws.runtime.component.MetaDataMgrImpl.createFactoryMetaData(MetaDataMgrImpl.java:115)
         at com.ibm.ws.runtime.component.MetaDataMgrImpl.createMetaData(MetaDataMgrImpl.java:159)
         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:350)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:311)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:588)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at com.tivoli.jmx.modelmbean.MMBInvoker.invoke(MMBInvoker.java:46)
         at com.tivoli.jmx.modelmbean.MMBInvoker.invokeOperation(MMBInvoker.java:115)
         at com.tivoli.jmx.modelmbean.DynamicModelMBeanSupport.invoke(DynamicModelMBeanSupport.java:409)
         at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:323)
         at com.tivoli.jmx.GenericMBeanSupport.invoke(GenericMBeanSupport.java:178)
         at com.tivoli.jmx.MBeanAccess.invoke(MBeanAccess.java:113)
         at com.tivoli.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:290)
         at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:659)
         at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:141)
         at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.perform(ApplicationDeploymentCollectionAction.java:336)
         at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1791)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1171)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:676)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:203)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:125)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:300)
         at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
         at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:246)
         at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
         at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:652)
         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:458)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:936)

    Hi,
    It seems one of your ejb jar is missing from the current file location.
    D:\dev\workspaces\.metadata\.plugins\org.eclipse.core.resources\.projects\itr-ear\beadep\citron_domain\itr-ear\split_src
    you can make it manually copied to this location and build the project again so that it can able to deploy propertly.
    Now one more thing you can do open a ticket with oracle support for better assistance.
    Regards,
    Kal

  • Loading EJB problem with deployejb !

    I am working with Oracle 8.1.5 and jdk 1.1.6,
    when I am running the deployejb tool with the HelloWorld example of the demo directory, I have a problem when loadind EJB files into the database:
    deployejb -v -u workuser ...
    done
    Compiling Stubs...done
    Generating Jar File...done
    Loading EJB Jar file adn Comm Stubs Jar file...loading: helloServer/HelloBean
    ORA-01552: cannot use system rollback segment for non-system tablespace USERS
    SQL Error in loading : helloServer/HelloBean
    ORA-06502: PL/SQL : numeric or value error
    ORA-06512: at "SYS.DBMS_LOB", line 700
    ORA-06512: at "WORKUSER.LOADLOBS", line 1
    ORA-06512: at line 1
    ... [same problem with all objects]
    Can you HELP me ?

    Hard to say, looks like a database configuration problem. Check with your DBA...
    Matthieu

  • Unable to load a class specified in your ejb-jar.xml

    I was trying an example on entity bean CMP, i created the bean and tried to deploy it.I got the following error :-
    Exception:weblogic.management.ApplicationException: prepare failed for CMP Module: CMP Error: Exception preparing module: EJBModule(CMP,status=NEW) Unable to deploy EJB: C:\bea\user_projects\domains\Testdomain\applications\CMP.jar from CMP.jar: weblogic.ejb20.deployer.DeploymentDescriptorException: Unable to load a class specified in your ejb-jar.xml: pack.sams.ItemBean at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(Lweblogic.management.descriptors.toplevel.EJBDescriptorMBean;Lweblogic.utils.classloaders.GenericClassLoader;)V(MBeanDeploymentInfoImpl.java:550) at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(Lweblogic.management.descriptors.toplevel.EJBDescriptorMBean;Lweblogic.utils.classloaders.GenericClassLoader;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Lweblogic.utils.jars.VirtualJarFile;)V(MBeanDeploymentInfoImpl.java:232) at weblogic.ejb20.deployer.EJBDeployer.prepare(Lweblogic.utils.jars.VirtualJarFile;Ljava.lang.ClassLoader;Lweblogic.management.descriptors.toplevel.EJBDescriptorMBean;Ljavax.naming.Context;Ljava.util.Map;)V(EJBDeployer.java:1302) at weblogic.ejb20.deployer.EJBModule.prepare(Ljava.lang.ClassLoader;)V(EJBModule.java:498) at weblogic.j2ee.J2EEApplicationContainer.prepareModule(Lweblogic.utils.classloaders.GenericClassLoader;Lweblogic.j2ee.J2EEApplicationContainer$Component;Z)V(J2EEApplicationContainer.java:3101) at weblogic.j2ee.J2EEApplicationContainer.prepareModules([Lweblogic.j2ee.J2EEApplicationContainer$Component;Ljava.lang.String;Z)V(J2EEApplicationContainer.java:1560) at weblogic.j2ee.J2EEApplicationContainer.prepare([Lweblogic.j2ee.J2EEApplicationContainer$Component;[Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(J2EEApplicationContainer.java:1208) at weblogic.j2ee.J2EEApplicationContainer.prepare(Ljava.lang.String;[Lweblogic.management.configuration.ComponentMBean;[Ljava.lang.String;)V(J2EEApplicationContainer.java:1051) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer()V(SlaveDeployer.java:2444) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer()Z(SlaveDeployer.java:2394) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2310) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:866) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.management.deploy.OamVersion;ZLjava.lang.StringBuffer;)Z(SlaveDeployer.java:594) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:508) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread;)V(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178) at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    [Deployer:149033]preparing application CMP on ejb
    [Deployer:149033]failed application CMP on ejb
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application CMP on ejb.: Exception:weblogic.management.ApplicationException: prepare failed for CMP Module: CMP Error: Exception preparing module: EJBModule(CMP,status=NEW) Unable to deploy EJB: C:\bea\user_projects\domains\Testdomain\applications\CMP.jar from CMP.jar: weblogic.ejb20.deployer.DeploymentDescriptorException: Unable to load a class specified in your ejb-jar.xml: pack.sams.ItemBean at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(Lweblogic.management.descriptors.toplevel.EJBDescriptorMBean;Lweblogic.utils.classloaders.GenericClassLoader;)V(MBeanDeploymentInfoImpl.java:550) at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(Lweblogic.management.descriptors.toplevel.EJBDescriptorMBean;Lweblogic.utils.classloaders.GenericClassLoader;Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;Lweblogic.utils.jars.VirtualJarFile;)V(MBeanDeploymentInfoImpl.java:232) at weblogic.ejb20.deployer.EJBDeployer.prepare(Lweblogic.utils.jars.VirtualJarFile;Ljava.lang.ClassLoader;Lweblogic.management.descriptors.toplevel.EJBDescriptorMBean;Ljavax.naming.Context;Ljava.util.Map;)V(EJBDeployer.java:1302) at weblogic.ejb20.deployer.EJBModule.prepare(Ljava.lang.ClassLoader;)V(EJBModule.java:498) at weblogic.j2ee.J2EEApplicationContainer.prepareModule(Lweblogic.utils.classloaders.GenericClassLoader;Lweblogic.j2ee.J2EEApplicationContainer$Component;Z)V(J2EEApplicationContainer.java:3101) at weblogic.j2ee.J2EEApplicationContainer.prepareModules([Lweblogic.j2ee.J2EEApplicationContainer$Component;Ljava.lang.String;Z)V(J2EEApplicationContainer.java:1560) at weblogic.j2ee.J2EEApplicationContainer.prepare([Lweblogic.j2ee.J2EEApplicationContainer$Component;[Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(J2EEApplicationContainer.java:1208) at weblogic.j2ee.J2EEApplicationContainer.prepare(Ljava.lang.String;[Lweblogic.management.configuration.ComponentMBean;[Ljava.lang.String;)V(J2EEApplicationContainer.java:1051) at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer()V(SlaveDeployer.java:2444) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer()Z(SlaveDeployer.java:2394) at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2310) at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:866) at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.management.deploy.OamVersion;ZLjava.lang.StringBuffer;)Z(SlaveDeployer.java:594) at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:508) at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread;)V(SlaveCallbackHandler.java:25) at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178) at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source) .
    Please suggest a solution to this error.
    Note that the class specified in the error is in its package. So this doesn't seems to be exact error. Please suggest.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
    I have faced same problem most of time and resolved ot by recompileing my all the classes and new deployment descriptors. First you should make new java files for all clases(copy contents fron old java files ) and make anew package same as old and then do all the required process and re deploy it. I think because of some problem in class generation.

  • Unable to load database connector - using JRC w/report connecting to Oracle

    A simple Java program was created to test a Crystal Report using JRC. The Java program is a thick-client Swing desktop application (modified from an example of crxi_r2_migrating_rdc_to_jrc.pdf). The program failed to execute the report with the following error:
    Unable to load database connector u2018com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'
    It might be something simple to correct the problem, but I am not able to find related answers in the documentation and from the forum.
    CR version is XI R2. The Java program was compiled and run using jdk1.4.2_13. Oracle is 10.2.
    Do I have to use JDBC? or the CR Oracle driver will do? What needs to be setup? If I use JDBC, what do I need to setup (I tried to following the links in the forums or other documentation, but most of the links to http://support.businessobjects.com/.... are broken - i.e. re-route to the SAP support page but not directly linked to the articles)
    When the report JRCTestReport.rpt was saved with the option "Save Data With Report", it works fine. So the problem is only with Oracle database driver, the other jars are fine.
    In the report JRCTestReport.rpt the database properties are:
           DatabaseDLL             crdb_oralce.dll
           Password
           Server                        myTestDB
           Trusted_Connection    False
           User ID                      MyUser
    The crdb_oracle.dll is located at:
    C:\Program Files\Business Objects\Common\3.5\bin
    Files are stored in the following tree structure:
    <Testing Folder>
         JRCTest.java
         JRCTest.class
         WEB-INF
                   lib
                        All required JRC jars and CRConfig.xml
         Reports
                   JRCTestReport.rpt
    Java source code JRCTest.java
    import java.awt.*;
    import javax.swing.*;
    import java.io.*;
    import com.crystaldecisions.ReportViewer.*;
    // Use this for talking to JRC in-process
    import com.crystaldecisions.reports.sdk.*;
    import com.crystaldecisions.sdk.occa.report.reportsource.*;
    public class JRCTest
         private static void createAndShowGUI()
              try
                   //Make sure we have nice window decorations.
                   JFrame.setDefaultLookAndFeelDecorated(false);
                   //Create and set up the window.
                   JFrame frame = new JFrame("JRCTest");
                   frame.setTitle("JRCTest");
                   frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                   ReportViewerBean viewer = new ReportViewerBean();
                                      System.out.println("ReportViewerBean.init");
                   viewer.init(new String[0], null, null, null);
                                      System.out.println("new ReportClientDocument");
                   ReportClientDocument rpt = new ReportClientDocument();
                                      try
                                              System.out.println("Openning Report...");
                                              rpt.open("JRCTestReport.rpt", 0);
                                      catch (Exception ex)
                                              System.out.println("Failed to open report");
                                              System.out.println(ex.toString());
                                              return;
                                      try
                                              System.out.println("logon...");
                                              rpt.getDatabaseController().logon("myUser", "myPass");
                                      catch (Exception ex)
                                              System.out.println("Failed to logon");
                                              System.out.println(ex.toString());
                                              return;
                                      System.out.println("ReportClientDocument.getReportSource");
                   IReportSource rptSource = rpt.getReportSource();
                   viewer.setReportSource(rptSource);
                                                    System.out.println("viewer.setReportSource");
                   frame.getContentPane().add
                        (viewer, BorderLayout.CENTER);
                   frame.setSize(700, 500);
                   frame.setVisible(true);
                   viewer.start();
              catch (Exception exception)
                   System.out.println(exception.toString());
         public static void main(String[] args)
              javax.swing.SwingUtilities.invokeLater(new Runnable()
                   public void run()
                        createAndShowGUI();
    Execution result:
    C:\tmp\CrystalJavaTest>java -classpath .;./WEB-INF/lib;./WEB-INF/lib/ReportViewe
    r.jar;./WEB-INF/lib/jrcerom.jar;./WEB-INF/lib/jrcadapter.jar;./WEB-INF/lib/Concu
    rrent.jar;./WEB-INF/lib/CrystalCharting.jar;./WEB-INF/lib/CrystalCommon.jar;./WE
    B-INF/lib/CrystalContentModels.jar;./WEB-INF/lib/CrystalExporters.jar;./WEB-INF/
    lib/CrystalExportingBase.jar;./WEB-INF/lib/CrystalFormulas.jar;./WEB-INF/lib/Cry
    stalQueryEngine.jar;./WEB-INF/lib/CrystalReportEngine.jar;./WEB-INF/lib/CrystalR
    eportingCommon.jar;./WEB-INF/lib/icu4j.jar;./WEB-INF/lib/keycodeDecoder.jar;./WE
    B-INF/lib/log4j.jar;./WEB-INF/lib/MetafileRenderer.jar;./WEB-INF/lib/rasapp.jar;
    ./WEB-INF/lib/rascore.jar;./WEB-INF/lib/rpoifs.jar;./WEB-INF/lib/Serialization.j
    ar;./WEB-INF/lib/URIUtil.jar;./WEB-INF/lib/xercesImpl.jar;./WEB-INF/lib/xml-apis
    .jar JRCTest
    Starting
    Crystal Report Viewer 2.1.21.2
    java.vendor = Sun Microsystems Inc.
    java.version = 1.4.2_13
    os.name = Windows XP
    os.version = 5.1
    os.arch = x86
    ReportViewerBean.init
    new ReportClientDocument
    Openning Report...
    logon...
    ReportClientDocument.getReportSource
    viewer.setReportSource
    ERROR - JRCAgent1 detected an exception: Unable to load database connector 'com.
    crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
            at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwRepo
    rtSDKException(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unkno
    wn Source)
            at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unkno
    wn Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage
    (Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource
    .getPage(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReport
    Source.getPage(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.rs.b.if(Unknown Source
            at com.businessobjects.crystalreports.viewer.core.av.a(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.av.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:534)
    Unable to load database connector 'com.crystaldecisions.reports.queryengine.driv
    erImpl.DriverLoader'.

    After I switched the report to use JDBC, I am still getting the same error.
    Machine has multiple jdk, oracle 10g, Oracle11g client installed though. So I need to set my path to use the jdk from Crystal Report and Oracle 10g.
    The program was compiled and ran with the following path and CLASSPATH:
    set path="C:\Program Files\Business Objects\j2sdk1.4.2_08\bin";"C:\Program Files\Business Objects\j2sdk1.4.2_08\jre\bin";"C:\Program Files\Business Objects\j2sdk1.4.2_08\jre\bin\client";c:\oracle\ora102\bin
    set CLASSPATH=.;./WEB-INF/lib;./WEB-INF/lib/ReportViewer.jar;./WEB-INF/lib/jrcerom.jar;./WEB-INF/lib/jrcadapter.jar;./WEB-INF/lib/Concurrent.jar;./WEB-INF/lib/CrystalCharting.jar;./WEB-INF/lib/CrystalCommon.jar;./WEB-INF/lib/CrystalContentModels.jar;./WEB-INF/lib/CrystalExporters.jar;./WEB-INF/lib/CrystalExportingBase.jar;./WEB-INF/lib/CrystalFormulas.jar;./WEB-INF/lib/CrystalQueryEngine.jar;./WEB-INF/lib/CrystalReportEngine.jar;./WEB-INF/lib/CrystalReportingCommon.jar;./WEB-INF/lib/icu4j.jar;./WEB-INF/lib/keycodeDecoder.jar;./WEB-INF/lib/log4j.jar;./WEB-INF/lib/MetafileRenderer.jar;./WEB-INF/lib/rasapp.jar;./WEB-INF/lib/rascore.jar;./WEB-INF/lib/rpoifs.jar;./WEB-INF/lib/Serialization.jar;./WEB-INF/lib/URIUtil.jar;./WEB-INF/lib/xercesImpl.jar;./WEB-INF/lib/xml-apis.jar;C:/oracle/ora102/jdbc/lib/ojdbc14.jar
    I modified my java testing program to display more info:
    Modified program:
    import java.awt.*;
    import javax.swing.*;
    import java.io.*;
    import com.crystaldecisions.ReportViewer.*;
    // Use this for talking to JRC in-process
    import com.crystaldecisions.reports.sdk.*;
    import com.crystaldecisions.sdk.occa.report.reportsource.*;
    import com.crystaldecisions.sdk.occa.report.exportoptions.*;
    import com.crystaldecisions.sdk.occa.report.data.*;
    import com.crystaldecisions.sdk.occa.report.lib.PropertyBag;
    import com.crystaldecisions.sdk.occa.report.lib.IStrings;
    public class JRCTest2
       private static void createAndShowGUI()
          try
             System.out.println("Starting");
             //Make sure we have nice window decorations.
             JFrame.setDefaultLookAndFeelDecorated(false);
             //Create and set up the window.
             JFrame frame = new JFrame("JRCTest2");
             frame.setTitle("Testing 1, 2, 3");
             frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             System.out.println("new ReportViewerBean");
             ReportViewerBean viewer = new ReportViewerBean();
             System.out.println("ReportViewerBean.init");
             viewer.init(new String[0], null, null, null);
             System.out.println("new ReportClientDocument");
             ReportClientDocument rpt = new ReportClientDocument();
             try
                 System.out.println("Openning Report...");
                 rpt.open("JRCTestReport.rpt", 0);
             catch (Exception ex)
                System.out.println("Failed to open report");
                System.out.println(ex.toString());
                return;
             try
                // try logon here to see if any exceptions
                rpt.getDatabaseController().logon("myUser", "myPass");
             catch (Exception ex)
                System.out.println("Failed to logon");
                System.out.println(ex.toString());
                return;
             IDatabase idb = rpt.getDatabaseController().getDatabase();
             Tables dtb = idb.getTables();
             IConnectionInfo conInfo = dtb.getTable(0).getConnectionInfo();
             PropertyBag attrs = conInfo.getAttributes();
             conInfo.setPassword("myPass");
             conInfo.setUserName("myUser");
             IStrings s = attrs.getPropertyIDs();
             for (int i=0; i < s.size(); i++)
                System.out.println(s.getString(i));
                System.out.println(attrs.getStringValue(s.getString(i)));
             System.out.println(" ");
             conInfo.setAttributes(attrs);
             attrs = conInfo.getAttributes();
             s = attrs.getPropertyIDs();
             // Print property again after setting attributes
             for (int i=0; i < s.size(); i++)
               System.out.println(s.getString(i));
               System.out.println(attrs.getStringValue(s.getString(i)));
             System.out.println(" ");
             System.out.println("ReportClientDocument.getReportSource");
             IReportSource rptSource = rpt.getReportSource();
             viewer.setReportSource(rptSource);
             frame.getContentPane().add
         (viewer, BorderLayout.CENTER);
             frame.setSize(700, 500);
             frame.setVisible(true);
             viewer.start();
          catch (Exception exception)
             System.out.println(exception.toString());
       public static void main(String[] args)
          System.out.println("main");
          javax.swing.SwingUtilities.invokeLater(new Runnable()
             public void run()
                createAndShowGUI();
    Running result:
    C:\tmp\CrystalJavaTest>java JRCTest2
    main
    Starting
    new ReportViewerBean
    Crystal Report Viewer 2.1.21.2
    java.vendor = Sun Microsystems Inc.
    java.version = 1.4.2_13
    os.name = Windows XP
    os.version = 5.1
    os.arch = x86
    ReportViewerBean.init
    new ReportClientDocument
    Openning Report...
    Trusted_Connection
    false
    Server Name
    dbHost
    Connection String
    Use JDBC=b(true);Connection URL=s(jdbc:oracle:thin:@dbHost:1521:myDB);Database Class Name=s(oracle.jdbc.OracleDriver);Server=s(dbHost);User ID=s(myUser);Password=;Trusted_Connection=b(false);JDBC Connection String=s(!oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB)
    Server Type
    JDBC (JNDI)
    Database Class Name
    oracle.jdbc.OracleDriver
    Use JDBC
    true
    URI
    !oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB
    Database DLL
    crdb_jdbc.dll
    Trusted_Connection
    false
    Server Name
    dbHost
    Connection String
    Use JDBC=b(true);Connection URL=s(jdbc:oracle:thin:@dbHost:1521:myDB);Database Class Name=s(oracle.jdbc.OracleDriver);Server=s(dbHost);User ID=s(myUser);Password=;Trusted_Connection=b(false);JDBC Connection String=s(!oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB)
    Server Type
    JDBC (JNDI)
    Database Class Name
    oracle.jdbc.OracleDriver
    Use JDBC
    true
    URI
    !oracle.jdbc.OracleDriver!jdbc:oracle:thin:/@dbHost:1521:myDB
    Database DLL
    crdb_jdbc.dll
    ReportClientDocument.getReportSource
    ERROR - JRCAgent1 detected an exception: Unable to load database connector 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
            at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
            at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
            at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
            at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(Unknown Source)
            at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getPage(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.rs.b.if(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.av.a(Unknown Source)
            at com.businessobjects.crystalreports.viewer.core.av.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:534)
    Unable to load database connector 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'.
    Also got similar error when the path and classpath was switched to Oracle 11g.
    Is there a way to tell which file that it failed to load?
    Thanks
    Kin

  • Unable to load database connector

    Hi. I am trying to get a report running through the JRC in Crystal Reports XI. Whenever I try to run the report, it pulls up the viewer, but then gets the following message:
    "Unable to load database Connector"
    'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader'
    I was under the impression that I didn't need to set any JDBC parameters because it would pull them from the report. Is there some sort of configuration I missed?
    Thanks for any help.

    hello,
    I have got the same problem.
    Java don't find the class DriverLoader in any jar.
    I have found it on the CrystalDatabaseConnector.jar (an old jar) but that's makes some problems of compatibility when I use it.
    I have to add CrystalQueryEngine.jar (another old version jar) to work with it and i've got an java.lang.IncompatibleClassChangeError: Implementing class
    Best Regard

  • Problem while loading a jar file into database

    Hi All,
    We are using Oracle 8.1.5 in Solaris. When I try to load a jar file into the database by using loadjava it gives the following error
    Error while processing jar cryptix32.jar
    Exception java.io.IOException: Load Java is unable to handle compressed entries: cryptix/provider/Cryptix.class
    loadjava: 1 errors
    Can anybody suggest anything to overcome this. Thanks in advance.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by John Emmer ([email protected]):
    I presume you've tried creating the jar w/o compressing it? If not, and even if you didn't create the jar, then first unpack the jar into a directory and re-jar it without using compression.<HR></BLOCKQUOTE>
    Hi John,
    Thanks for your help. I unpacked the jar and rhen re-jared it with -0 (uncompress ) option. The above error is gone. But I am getting another problem. I am getting the following error for all the classes except the property files.
    Error while resolving class cryptix/cryptix/provider/cipher/Rijndael
    ORA-04043: object cryptix/cryptix/provider/cipher/Rijndael does not exist
    But the class is there in the jar. I am able to load single individual classes. Can anybody help me in this matter. Thanks in advance.

  • Unable to deploy EJB: TrackedAnonymous from p13n_ejb.jar:

    Hi,
    I installed the weblogic portal 10.3.2 and configured the domain to use oracle express edition 11g. After configuring the domain, i got the error saying the weblogic server could not start because of tables does not exist. so i changed the database.properties and executed the create_db.cmd to create the tables and the server is started now.
    when i tried to deploy the weblogic portal application, i got the following error,
    <Aug 10, 2010 12:35:57 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    <Aug 10, 2010 12:37:44 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1281424006937' for task '0'. Error is: 'weblogic.application.ModuleException: Exception activating module: EJBModule(p13n_ejb.jar)
    Unable to deploy EJB: TrackedAnonymous from p13n_ejb.jar:
    [EJB:011028]The DataSource with the JNDI name: weblogic.jdbc.jts.commercePool could not be located. Please ensure that the DataSource has been deployed successfully and that the JNDI name in your EJB Deployment descriptor is correct.
    weblogic.application.ModuleException: Exception activating module: EJBModule(p13n_ejb.jar)
    Unable to deploy EJB: TrackedAnonymous from p13n_ejb.jar:
    [EJB:011028]The DataSource with the JNDI name: weblogic.jdbc.jts.commercePool could not be located. Please ensure that the DataSource has been deployed successfully and that the JNDI name in your EJB Deployment descriptor is correct.
         at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:501)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:415)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:75)
         Truncated. see log file for complete stacktrace
    Caused By: [EJB:011028]The DataSource with the JNDI name: weblogic.jdbc.jts.commercePool could not be located. Please ensure that the DataSource has been deployed successfully and that the JNDI name in your EJB Deployment descriptor is correct.
         at weblogic.ejb.container.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:251)
         at weblogic.ejb.container.manager.BaseEntityManager.setupPM(BaseEntityManager.java:300)
         at weblogic.ejb.container.manager.BaseEntityManager.setup(BaseEntityManager.java:249)
         at weblogic.ejb.container.manager.DBManager.setup(DBManager.java:172)
         at weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1166)
         Truncated. see log file for complete stacktrace
    >
    <Aug 10, 2010 12:37:44 PM IST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'MyPortalEAR'.>
    <Aug 10, 2010 12:37:44 PM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'MyPortalEAR'.>
    <Aug 10, 2010 12:37:44 PM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Exception activating module: EJBModule(p13n_ejb.jar)
    Unable to deploy EJB: TrackedAnonymous from p13n_ejb.jar:
    [EJB:011028]The DataSource with the JNDI name: weblogic.jdbc.jts.commercePool could not be located. Please ensure that the DataSource has been deployed successfully and that the JNDI name in your EJB Deployment descriptor is correct.
         at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:501)
         at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:415)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:75)
         Truncated. see log file for complete stacktrace
    Caused By: [EJB:011028]The DataSource with the JNDI name: weblogic.jdbc.jts.commercePool could not be located. Please ensure that the DataSource has been deployed successfully and that the JNDI name in your EJB Deployment descriptor is correct.
         at weblogic.ejb.container.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:251)
         at weblogic.ejb.container.manager.BaseEntityManager.setupPM(BaseEntityManager.java:300)
         at weblogic.ejb.container.manager.BaseEntityManager.setup(BaseEntityManager.java:249)
         at weblogic.ejb.container.manager.DBManager.setup(DBManager.java:172)
         at weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1166)
         Truncated. see log file for complete stacktrace
    >
    <Aug 10, 2010 12:37:56 PM IST> <Warning> <Deployer> <BEA-149252> <No deployment 'MyPortalEAR' found for Operation stop.>
    Please guide me to resolve this issue.
    Thanks a lot,
    Suresh
    Edited by: user5701346 on Aug 10, 2010 10:34 PM

    I changed target for DataSource from AdminServer to my managed Server. That solved the problem.

  • SWPM - System Copy - Assertion Failed Unable to load database

    Hello again,
    (already the next question form me, sorry for this
    I am executing a sysetm copy (DB-refresh) on ASE using SWPM.
    However, in "Configure Components" step I get the error: Assertion failed. Unable to load database <SID of Target Sysetm>.
    Where else can I check for errors?
    I think it is still something on which I already worked (with other thread).
    In sapinst_dev.log I found this
    TRACE      2015-03-25 11:05:00.320
    SAPInst calls the LogInquirer. The output of the LogInquirer can be found in file sapinst_loginquirer.log.
    TRACE      2015-03-25 11:05:06.122 [iaxxgenimp.cpp:638]
                CGuiEngineImp::showMessageBox()
    <html> <head> </head> <body> <p> An error occurred while processing option <i>SAP Enhancement Package 1 for SAP N
    etWeaver 7.3 > SAP ASE > System Copy > Target System > Standard System > Based on AS ABAP > Database Refresh or M
    ove( Last error reported by the step: Assertion failed: Unable to load database <SID>.)</i>. You can now: </p> <ul>
    <li> Choose <i>Retry</i><br>to repeat the current step. </li> <li> Choose <i>Log Files</i><br>to get more inform
    ation about the error. </li> <li> Stop the option and continue later. </li> </ul> <p> Log files are written to /t
    mp/sapinst_instdir/NW731/SYB/COPY/SYSTEM/STD/AS-ABAP/REF. </p> </body></html>
    TRACE      2015-03-25 11:05:06.124 [iaxxgenimp.cpp:1031]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI
    In sapinst.log I found this:
    ERROR 2015-03-25 11:04:59.573
    FCO-00011  The step syb_step_setup_preload with step key |NW_ABAP_DB_DBRefresh|ind|ind|ind|ind|0|0|NW_ABAP_DB|ind
    |ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_S
    YB_DB|ind|ind|ind|ind|SYB_DB_CONTEXT|0|syb_step_setup_preload was executed with status ERROR ( Last error reporte
    d by the step: Assertion failed: Unable to load database <SID>.).
    INFO 2015-03-25 11:04:59.772
    Creating file /tmp/sapinst_instdir/NW731/SYB/COPY/SYSTEM/STD/AS-ABAP/REF/__instana_tmp.xml.
    INFO 2015-03-25 11:05:00.307
    Removed file /tmp/sapinst_instdir/NW731/SYB/COPY/SYSTEM/STD/AS-ABAP/REF/instslana.xml.
    INFO 2015-03-25 11:05:00.308
    Creating file /tmp/sapinst_instdir/NW731/SYB/COPY/SYSTEM/STD/AS-ABAP/REF/instslana.xml.

    Hello Kiran,
    I did a few tests again yesterday, and it was really a stupid mistake from myside.
    The error message did mean, that there wasn't enough space.
    It isn't the authority issue, it was a leak of space.
    FYI, the complete DB-Size of Source System is required - NOT JUST RESERVED SPACE!!!
    Thx for help and sorry for stealing your time :O

Maybe you are looking for

  • Foxfire is preventing a page from reloading even after I allow it. How do I stop that?

    I'm enrolled in an online business training program called Power Sellers College. In that site, there is a private messaging system that I may use to correspond with my instructor, other instructors, other students etc. This Private Messaging System

  • FaceTime will not launch in Yosemite; "Application Not Responding"

    I'm using a late 2012 iMac.  Following advice I saw in another, similar thread, I deleted all FaceTime items in Keychain Access (including certificates), as well as all of the following from my User/Library/Preferences folder: com.apple.facetime.bag.

  • How to assign users to group during upload ?

    Hi all, we have to upload a lot of users into our EP6. according to the documentation it is possible to assign those users to roles during the upload, but we want to use Group-Assignments instead of directly assigning roles to users. Is there any pos

  • Date sort is broken in the Organizer

    The date sort in the Organizer only seems to support the calendar date, not date and time. If there is only photographs from 1 day in the organizer there is no way to sort the pictures earliest to oldest, because the date sort doesn't include time. D

  • Adobe winsoft linguistic plugin x64

    Bonsoir J'ai un méchant problème de curseur de souris qui devient fou et qui se balade partout donc j'ai voulu désinstaller le trackpad qui me semblait etre la cause et résultat le curseur a selectionne au dernier moment le plugin cité dans le titre