AnnotatedLinkageError after deploying an EAR

I know it has something to do with the class path. I have tried <web-app-class-loader search-local-classes-first="true" /> too. Any help would be much appreciated.
Exception trace is
oracle.classloader.util.AnnotatedLinkageError: duplicate class definition: org/apache/commons/logging/Log
     Invalid class: org.apache.commons.logging.Log
     Loader: CIS Server.root:0.0.0
     Code-Source: /D:/jdevstudio10132/jdev/extensions/oracle.adfp.seededoc4j.10.1.3.2.0/j2ee/home/applications/CIS Server/library/jcl104-over-slf4j-1.3.0.jar
     Configuration: manifest of /D:/jdevstudio10132/jdev/extensions/oracle.adfp.seededoc4j.10.1.3.2.0/j2ee/home/applications/CIS Server/cis-framework-ejb-8.0.0.jar
     Dependent class: com.stellent.cis.web.servlets.SCSInitializeServlet
     Loader: CIS Server.web.cis-web-8.0.0:0.0.0
     Code-Source: /D:/jdevstudio10132/jdev/extensions/oracle.adfp.seededoc4j.10.1.3.2.0/j2ee/home/applications/CIS Server/cis-web-8.0.0/WEB-INF/lib/cis-servlets-8.0.0.jar
     Configuration: WEB-INF/lib/ directory in D:\jdevstudio10132\jdev\extensions\oracle.adfp.seededoc4j.10.1.3.2.0\j2ee\home\applications\CIS Server\cis-web-8.0.0\WEB-INF\lib
     The original class instance was defined in the shared-library apache.commons.logging:1.0.4, and CIS Server.web.cis-web-8.0.0:0.0.0 does import that loader. This may be a search-order problem.
     at oracle.classloader.PolicyClassLoader.findLocalClass (PolicyClassLoader.java:1462) [D:/jdevstudio10132/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@10719543]

Hello,
You are correct this is related to the classpath/classloader configuration.
I am surprised that the search-local-classes-first="true" was not enough to solve the issue.
I would invite you to configure the classloader of your application not only with this option but also by removing the Oracle logging one from your application this could be done in the "ClassLoader Configuration" step in Enterprise Manager when you deploy the application.
It is documented here in OracleAS documentation:
- Utilizing the OC4J Class Loading Framework
Regards
Tugdual Grall

Similar Messages

  • Error after Deploying a .ear File

    Hi,
    I have deployed an .ear file on the SAP J2EE engine 6.20 on EP6.0 sp2. When I access one of the JSP's, I am getting a NoClassDefFound exception even though the particular jar (xml-apis.jar) file containing the class is in the additional-lib directory. Also, the jar file has been added to the classpath in go.bat? What other changes are to be done for a successful deployment?
    Environment :EP6.0, sp2 hotfix4 on Windows 2003, MS SQL server DB.
    Please reply ASAP
    Thanks
    Bhanu

    hello,
    have you tried including the 3rd party jar in your EAR file itself?
    i use a number of external jars in my web app and ejb, including some xml parsing classes. what i did was to put them all in the EAR, at the root level, in other words, not in a sub-directory. then in my WAR's meta-inf/MANIFEST.MF file reference them in the Class-path. do simililar thing for the ejbs if necessary.
    when you tried to use the inqxml instead, did you make a reference in manager/referecen.txt from your app to the inqmy library? if so, did you look into the inqmyxml.jar to see if the Node class is actually there?
    regards,
    wentao

  • Not Loaded status after deploying a EAR file in Oracle 10g application serv

    Hi,
    I am deployed a simple ear file in Oracle App Server 10g. The deployment went on well. But when i use the enterprise manager to see the status , it shows 'Not Loaded'.
    Can any body kindly give me a suggestion on why this is happening.
    Any help is highly appreciated.
    Thanks
    SK

    Hi,
    You have to register your Portlet provider.
    How to register new portlet in Oracle Portal 10g ?
    Here are the steps -
    1- Go to your oracle portal home page e.g. http://oracleportal.com/pls/portal
    2- Login into the oracle portal by clicking on 'login' link
    3- Go to the Builder and then Administer
    4- Click on Portlets tab
    5- Click on 'Register a Provider' in 'Remote Providers' portlet.
    6- Enter the provider URL and other information and click finish. Normally the provider URL for portlets developed using JPDK is in the form of http://[your portal]/[context root]/providers/
    Please note that you must have deployed the portlet before trying to register the provider for the portlet.
    Best Regards,
    Kevin

  • Got this error after deploying ear file into OC4J server.

    Hello Frnsz,
    Can any one help to resolve the following error :)
    Got this error after deploying ear file into OC4J server.
    2008-06-04 14:57:58.551 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/pager-taglib.tld
    2008-06-04 14:57:58.566 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.566 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-bean.tld
    2008-06-04 14:57:58.598 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.598 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-html.tld
    2008-06-04 14:57:58.629 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.629 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-logic.tld
    2008-06-04 14:57:58.660 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.660 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-nested.tld
    2008-06-04 14:57:58.691 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.691 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-tiles.tld
    2008-06-04 14:57:58.723 NOTIFICATION Binding web application(s) to site default-web-site ends...
    2008-06-04 14:57:58.723 NOTIFICATION Application Deployer for MyEarProject COMPLETES. Operation time: 3422 msecs
    2008-06-04 14:58:04.895 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.910 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.926 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.942 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.957 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.989 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.989 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.989 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:05.020 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : Exception:oracle.jsp.parse.JspParseException: /WEB-INF/jsp/login.jsp: Line # 2, <%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html"%>
    Error: java.lang.ClassNotFoundException: org.apache.struts.taglib.html.MessagesTei
    Cheers,
    Cap

    Cross posted in correct forum
    [http://forum.java.sun.com/thread.jspa?threadID=5302192]

  • EAR permissions after deploy

    On my development environment I need to allow other developers to ftp files into the applications directory. The problem is after deploying
    with a ear file the permissions are only write for the Oracle user. The other developers are using FTP and there own
    unix account user logins.
    I need a way to change the default permissions for the files in the ear file.
    Setting the UMASK will not work because that would cause a security risk for the ORACLE user.
    Please respond if you have any ideas.

    Sorry, I am not being clear enough. I want to deploy via a EAR file but I want other developers to be able to ftp individual files to the applications directory.
    I need to be able to use UltraDev to do design layout since JDeveloper doesn't do that. In order to view the results and make it easier on the developers I would like the ablility to ftp files directory to my development environment. I like Jdeveloper to write code so I want to use its deployment method.
    If I can find a way to change the default permissions used in unpacking the ear file this would work.
    I am using Windows as a development platform and my development application server is on Solaris.

  • Cannot access the applcation after deploying EAR

    Hi,
    I am having accessing the application afeter deploying EAR. This is what i have done:
    Tasks Status
    ========================== ===========
    Create a new OC4J instance Created
    Then under this new instance
    i deployed the EAR file.
    Step1: selected the EAR file
    and gave a name for the application
    Step2:In the URL binding it already had a name
    so i just added / infront of it
    Step3:Clicked next
    Step4:Took the default, i.e
    Use JAZN XML User Manager
    Then i clicked on Finish and on summary page i
    clicked on Deploy.
    It sucessfully deployed without any error message.
    Then i changed the data source to point to the right server with the correct username, password, schema and port no.
    After all this i started this new OC4J instance, which did start without any errors.
    When i try to access the application @:
    http://<hostname>:port/<URL Binding>/Logon/LogonForm.jsp
    I get an HTTP505 error message saying:
    "The page cannot be displayed"
    Can someone please help, what am i missing here ?
    Thanks in advance.
    Dipak

    Who is they?
    What specific techniques?
    What happens when yu try to connect?  Error messages?

  • Page naviagation doesn't work after deploy ADF application to Weblogic

    After deploy my ADF application (ear) to Weblogic Server, the page navigation doesn't work. When running the ear on weblogic, I got following warnings:
    <2010-11-5 下午05时06分01秒 CST> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application HwtOrder is not versioned.>
    <2010-11-5 下午05时06分38秒 CST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=AppApplicationOverviewPage&AppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3DHwtOrder%2CType%3DAppDeployment%22%29.>
    <2010-11-5 下午05时07分33秒 CST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=DiagnosticsViewDomainLogTablePage&DiagnosticsViewDomainLogTablePortlethandle=com.bea.console.handles.LogDispatchHandle%28%22DefaultServer%3BDomainLog%22%29.>
    I can run the application correctly in jdeveloper 11g environment. I think there is something wrong with deployment. Can anyone help me?

    When you target url with .jspx, you are running the page itself, not in the task flow context, so navigation doesn't work.
    In the task flow, your page has 'Activity ID' (which is, for example, 'mainPage' for mainPage.jspx) and the navigation is defined for activity IDs, not pages.
    Pedja

  • Problem in deploying an ear file in weblogic 8.1 SP5

    Hi,
    When I tried deploying my ear file in Weblogic 8.1 SP5, I am getting the following error:
    weblogic.management.ApplicationException:
    Exception:weblogic.management.ApplicationException: prepare failed for counter-ejb.jar
    Module: counter-ejb.jar Error: Exception preparing module: EJBModule(counter-ejb.jar,status=NEW)
    Unable to deploy EJB: com_liferay_counter_service_ejb_CounterServiceEJB from counter-ejb.jar:
    [EJB:011026]The EJB container failed while creating the java:/comp/env namespace for this EJB deployment.
    weblogic.deployment.EnvironmentException: [EJB:010174]The resource-ref 'mail/MailSession' declared in the ejb-jar.xml descriptor has no JNDI name mapped to it. The resource-ref must be mapped to a JNDI name using the resource-description element of the weblogic-ejb-jar.xml descriptor.
    at weblogic.ejb20.deployer.EnvironmentBuilder.addConnectorRef(EnvironmentBuilder.java:294)
    at weblogic.ejb20.deployer.EnvironmentBuilder.addResourceReferences(EnvironmentBuilder.java:232)
    at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentContext(EJBDeployer.java:384)
    at weblogic.ejb20.deployer.EJBDeployer.setupEnvironmentFor(EJBDeployer.java:1181)
    at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:952)
    at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1437)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:3149)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1590)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1234)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1077)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2530)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2480)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2396)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:883)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:591)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2484)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2396)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:883)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:591)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    The config.xml is
    <?xml version="1.0" encoding="UTF-8"?>
    <Domain ConfigurationVersion="8.1.5.0" Name="mydomain">
    <Server ListenAddress="" ListenPort="7001" Name="myserver"
    NativeIOEnabled="true" ReliableDeliveryPolicy="RMDefaultPolicy" ServerVersion="8.1.5.0">
    <SSL Enabled="false" HostnameVerificationIgnored="false"
    IdentityAndTrustLocations="KeyStores" Name="myserver"/>
    </Server>
    <JMSFileStore Directory="rmfilestore" Name="FileStore"/>
    <WSReliableDeliveryPolicy DefaultRetryCount="10"
    DefaultTimeToLive="60000" Name="RMDefaultPolicy" Store="FileStore"/>
    <JDBCConnectionPool
    DriverName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
    Name="LiferayPool" PasswordEncrypted="{3DES}MO3m0i6yVqM="
    Properties="user=lportal;url=jdbc:microsoft:sqlserver://localhost:1433;selectMethod=cursor;userName=lportal;dataSourceName=SQL2000JDBC;databaseName=lportal;serverName=localhost"
    Targets="myserver" TestConnectionsOnReserve="true"
    TestTableName="SQL SELECT * from sysobjects" URL="jdbc:microsoft:sqlserver://localhost:1433"/>
    <JDBCTxDataSource JNDIName="jdbc/LiferayPool" Name="LiferayPool"
    PoolName="LiferayPool" Targets="myserver"/>
    <Security Name="mydomain"
    PasswordPolicy="wl_default_password_policy"
    Realm="wl_default_realm" RealmSetup="true"/>
    <EmbeddedLDAP
    CredentialEncrypted="{3DES}VKU1Z+Rt+9H2BdJ/IWLykO3UHDGbDN2w3so0iy8xk1o=" Name="mydomain"/>
    <SecurityConfiguration
    CredentialEncrypted="{3DES}HVQXen+OHn1WVUhPVXQ5Etq0wZGW3TnCcMyK65ekuw56D9CS2M/ODdh/PomFZBYLRYlkhysTEvGDijpcBUYz6FzUcyq5JYry"
    Name="mydomain" RealmBootStrapVersion="1"/>
    <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
    <FileRealm Name="wl_default_file_realm"/>
    <PasswordPolicy Name="wl_default_password_policy"/>
    <JMSServer Name="WSStoreForwardInternalJMSServermyserver"
    Store="FileStore" Targets="myserver">
    <JMSQueue CreationTime="1155021233552"
    JNDIName="jms.internal.queue.WSStoreForwardQueue"
    JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSStoreForwardQueuemyserver"/>
    <JMSQueue CreationTime="1155021233723"
    JNDIName="jms.internal.queue.WSDupsEliminationHistoryQueue"
    JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSDupsEliminationHistoryQueuemyserver"/>
    </JMSServer>
    <MailSession JNDIName="mail/MailSession" Name="mail/MailSession"
    Properties="mail.pop3.host=localhost;mail.imap.host=localhost;mail.transport.protocol=smtp;mail.smtp.host=localhost;mail.store.protocol=imap" Targets="myserver"/>
    </Domain>
    The ejb-jar.xml is :
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
         <enterprise-beans>
              <session>
                   <display-name>CounterServiceEJB</display-name>
                   <ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>
                   <home>com.liferay.counter.service.ejb.CounterServiceHome</home>
                   <remote>com.liferay.counter.service.ejb.CounterServiceEJB</remote>
                   <ejb-class>com.liferay.counter.service.ejb.CounterServiceEJBImpl</ejb-class>
                   <session-type>Stateless</session-type>
                   <transaction-type>Bean</transaction-type>
                   <resource-ref>
                        <res-ref-name>jdbc/LiferayPool</res-ref-name>
                        <res-type>javax.sql.DataSource</res-type>
                        <res-auth>Container</res-auth>
                        <res-sharing-scope>Shareable</res-sharing-scope>
                   </resource-ref>
                   <resource-ref>
                        <res-ref-name>mail/MailSession</res-ref-name>
                        <res-type>javax.mail.Session</res-type>
                        <res-auth>Container</res-auth>
                   </resource-ref>
              </session>
         </enterprise-beans>
         <assembly-descriptor>
              <method-permission>
                   <unchecked />
                   <method>
                        <ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>
                        <method-name>*</method-name>
                   </method>
              </method-permission>
         </assembly-descriptor>
    </ejb-jar>
    The weblogic-ejb-jar.xml is:
    <?xml version="1.0"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN" "http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd">
    <weblogic-ejb-jar>
         <weblogic-enterprise-bean>
              <ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>          
              <reference-descriptor>
              <resource-description>
              <res-ref-name>mail/MailSession</res-ref-name>
              <jndi-name>MailSession</jndi-name>
              </resource-description>
              </reference-descriptor>
              <jndi-name>com_liferay_counter_service_ejb_CounterServiceEJB</jndi-name>
         </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    Please Help!
    Thanks in Advance.
    - Karthikeyan

    Hi,
    I am still getting the error even after changing the JNDI name.
    The modified weblogic-ejb-jar.xml is:
    <?xml version="1.0"?>
    <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN" "http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd">
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>com_liferay_counter_service_ejb_CounterServiceEJB</ejb-name>
    <reference-descriptor>
    <resource-description>
    <res-ref-name>mail/MailSession</res-ref-name>
    <jndi-name>mail/MailSession</jndi-name>
    </resource-description>
    </reference-descriptor>
    <jndi-name>com_liferay_counter_service_ejb_CounterServiceEJB</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    Thanks..
    - Karthikeyan

  • Ejb-ref-mapping in orion-ejb.jar missing location attribute after deployment

    I have noticed that on several of my entity beans that after deployment the <ebj-ref-mapping location="JNDIName" name="LocalName"/> is missing the location attribute. This causes any attempts to lookup the EJBHome for that EJB to fail because the path to the EJBHome in JNDI cannot be found (obviously!). The problem is that this causes me to manually edit the application-deployment/<app>/<ejb.jar>/orion-ejb.zml after each deployment via the admin.jar. This seems like a bug with OC4J and I am wondering if Oracle is aware/doing something to fix this?
    I have noticed that the same problem exists for session beans, however, for some strange reason the EJBHomes can still be resolved in JNDI. In all cases the location in JNDI is different then the <ejb-ref-name> I used in the client EJB.
    Example being I have an entity bean at com.foo.Foo and the session bean uses lookup("java:comp/env/ejb/Foo") it is still able to find the EJB even though the orion-ejb.xml looses the location attribute. If the case is an entity bean referencing another entity bean in the same fashion I get an error because the location attribute is missing.

    If the 'location' value is same as the 'name' value, then even though the location attribute is missing, it is ok and should work. If they are not the same, then you should have defined the ejb-link element in your ejb-jar.xml when defining this ejb-ref and that would make the location attribute appear in the generated orion-ejb-jar.xml.
    If the referenced bean is from a different application (EAR), then you should have used the -parent option when deploying the application.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Kris Trujillo ([email protected]):
    I have noticed that on several of my entity beans that after deployment the <ebj-ref-mapping location="JNDIName" name="LocalName"/> is missing the location attribute. This causes any attempts to lookup the EJBHome for that EJB to fail because the path to the EJBHome in JNDI cannot be found (obviously!). The problem is that this causes me to manually edit the application-deployment/<app>/<ejb.jar>/orion-ejb.zml after each deployment via the admin.jar. This seems like a bug with OC4J and I am wondering if Oracle is aware/doing something to fix this?
    I have noticed that the same problem exists for session beans, however, for some strange reason the EJBHomes can still be resolved in JNDI. In all cases the location in JNDI is different then the <ejb-ref-name> I used in the client EJB.
    Example being I have an entity bean at com.foo.Foo and the session bean uses lookup("java:comp/env/ejb/Foo") it is still able to find the EJB even though the orion-ejb.xml looses the location attribute. If the case is an entity bean referencing another entity bean in the same fashion I get an error because the location attribute is missing.<HR></BLOCKQUOTE>
    null

  • IO Error exporting to PDF after deployment to WAS 6 (using RAD7)

    <p>Hello,</p><p>I have been using the new CR4E that I downloaded and installed to IBM&#39;s RAD 7  - My reports export to PDF and display beautifully from my local WAS 6 test server - but no luck after deploying to my production WAS 6 server.  I&#39;ve published both from inside RAD7 and exported the entire EAR.  Both methods result in this error when I run my test report (only one text field).:  <table border="0" cellspacing="0" cellpadding="5"><tbody><tr><td><span class="crExceptionText">"An error occured while exporting the report" </span></td></tr></tbody></table></p><p>  I&#39;m stuck!  </p><p>jpe.log bits for the Test.rpt show:</p><p>10 Apr 2007 14:41:59 [WebContainer : 1] DEBUG com.crystaldecisions.reports.exporters.format.page.pdf.b - PdfExporter: PdfDocumentModeller.finishJob<br />10 Apr 2007 14:41:59 [WebContainer : 1] INFO  com.crystaldecisions.reports.exporters.destination.disk.c - Disk Exporter: verifying export to destination<br />10 Apr 2007 14:41:59 [WebContainer : 1] INFO  com.crystaldecisions.reports.exporters.destination.disk.c - Disk Exporter: verifying export to destination<br />10 Apr 2007 14:41:59 [WebContainer : 1] ERROR com.crystaldecisions.reports.exporters.destination.disk.c - Disk Exporter: no output file was created by an exporter<br />10 Apr 2007 14:41:59 [WebContainer : 1] ERROR com.crystaldecisions.reports.exporters.destination.disk.c - Disk Exporter: no output file was created by an exporter<br />10 Apr 2007 14:41:59 [WebContainer : 1] ERROR com.crystaldecisions.reports.exporters.format.page.pdf.b - PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob (from destination?); aborting export<br />java.lang.IllegalArgumentException<br /> at java.lang.Throwable.<init>(Throwable.java:180)<br /> at java.lang.Exception.<init>(Exception.java:29)<br /> at java.lang.RuntimeException.<init>(RuntimeException.java:32)<br /> at java.lang.IllegalArgumentException.<init>(IllegalArgumentException.java:26)<br /> at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)<br /> at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)<br /> at com.crystaldecisions.reports.a.e.if(Unknown Source)<br /> at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)<br /> at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)<br /> at com.businessobjects.reports.sdk.b.b.int(Unknown Source)<br /> at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)<br /> at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)<br /> at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)<br /> at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)<br /> at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br /> at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br /> at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)<br /> at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)<br /> at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)<br /> at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source)<br /> at com.crystaldecisions.report.web.event.br.a(Unknown Source)<br /> at com.crystaldecisions.report.web.event.w.a(Unknown Source)<br /> at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)<br /> at com.crystaldecisions.report.web.event.av.a(Unknown Source)<br /> at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)<br /> at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)<br /> at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)<br /> at com.crystaldecisions.report.web.viewer.ReportExportControl.a(Unknown Source)<br /> at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)<br /> at com.businessobjects.samples.JRCHelperSample.exportPDF(JRCHelperSample.java:471)<br /> at com.ibm._jsp._TestViewer._jspService(_TestViewer.java:101)<br /> at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:91)<br /> at javax.servlet.http.HttpServlet.service(HttpServlet.java:851)<br /> at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1248)<br /> at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:381)<br /> at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:117)<br /> at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:125)<br /> at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:264)<br /> at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3003)<br /> at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:221)<br /> at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)<br /> at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1761)<br /> at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:83)<br /> at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:422)<br /> at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:319)<br /> at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)<br /> at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)<br /> at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)<br /> at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:537)<br /> at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:593)<br /> at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:946)<br /> at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1038)<br /> at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1470)<br />10 Apr 2007 14:41:59 [WebContainer : 1] ERROR com.crystaldecisions.reports.exporters.format.page.pdf.b - PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob (from destination?); aborting export</p><p>Thanks!  Terese</p>

    <p>Yes, I checked the permissions and the process does have write permission.u00C2  Just to be sure, I then changed the Temp directory to the process&#39; home directoryu00C2 and had the same result.u00C2  When the report is run on the TEST platform the log shows this:</p><p>DEBUG com.crystaldecisions.reports.formatter.formatter.objectformatter.containerformatter - ADDING FORMATTED OBJECT TO CONTAINER : Formatted section object (ReportHeaderSection1 : Report Headeru00C2  : section = SectionCode:<kind=reportAreaPair><groupN=0><isHeader=true><sectionN=0>, printRecordNumber = 0, pageN = 1</p><p>"ADDING FORMATTED OBJECT TO CONTAINER" never occurs on my development server - but there is no error inu00C2 the log, and an .ssd file appears in the temp directory, and then I get the error described above.u00C2  u00C2 What else should I try?</p><p>u00C2 Terese</p>

  • WS not created in application server control after deployment

    Hi,
    I just tried to deploy fulfillmentESB project(SOADemo Projects) from Jdev to Oracle App server control. But there was no webservice created in Oracle application server control under webservices link....plz help me...
    Actually the steps which i had followed to deploy that fulfillment project are:
    * right-click fulfillmentESB
    * select Register with ESB, Integration connection
    after which the fulfillment webservice can be seen in ESB control as well as application server control. But i could not able to see webservice created in application server control.
    Also i tried deploying the fulfillmentESB using EAR file - no use
    So kindly give me some steps to solve this issue...
    -Indhu

    Here is an example of the two steps required to deploy a Web Service application, using the ant task for the 10.1.3.x release.
    <project name="CalculatePrice" default="all" basedir="." xmlns:o="antlib:oracle">
      <property file="build.properties"/>
      <property name="deployeruri"        value="deployer:oc4j:${oc4j.host}:${oc4j.admin.port}"/>
    <!--
      <property name="deployeruri" value="deployer:oc4j:opmn://${oc4j.host}:${oc4j.opmn.port}/home" />
    -->
      <property name="bindweb.website" value="default-web-site"/>
      <property name="app.name" value="sdots"/>
      <target name="deploy">
        < o :deploy file="${basedir}/dist/${app.name}.ear"
                  deploymentname="${app.name}" deployeruri="${deployeruri}"
                  userid="${oc4j.admin.user}" password="${oc4j.admin.password}"/>
        < o :bindWebApp deploymentname="${app.name}" deployeruri="${deployeruri}"
                      userid="${oc4j.admin.user}" password="${oc4j.admin.password}"
                      webmodule="webservice-web" websitename="${bindweb.website}"
                      contextroot="/sdots"/>
      </target>Not sure if this applies to your specific scenario.
    ps. cross posting on the different OTN forums is generally not a good idea as you get threads out of sync. In this specific case, you are running into an issue with a specific ESB demo, and the ESB-SOA forum is definitly a better palce to get specific help.
    WS not created in application server control after deployment
    ps2. I guess you should got it by now, as I am not the first one to make this comment.
    Webservice not created in oracle application server after deployment
    ps3. We still don't have details about the versions you are using and the specific about THE SOADemo Projects - provide the information someone else would need in the forum that best correspond to your issue; the SOA one in this case ;-)

  • WS not found in application server control after deployment

    Hi,
    I just tried to deploy fulfillmentESB project(SOADemo Projects) from Jdev to Oracle App server control. But there was no webservice created in Oracle application server control under webservices link....plz help me...
    Actually the steps which i had followed to deploy that fulfillment project are:
    * right-click fulfillmentESB
    * select Register with ESB, Integration connection
    after which the fulfillment webservice can be seen in ESB control as well as application server control. But i could not able to see webservice created in application server control.
    Also i tried deploying the fulfillmentESB using EAR file - no use
    So kindly give me some steps to solve this issue...
    -Indhu

    Here is an example of the two steps required to deploy a Web Service application, using the ant task for the 10.1.3.x release.
    <project name="CalculatePrice" default="all" basedir="." xmlns:o="antlib:oracle">
      <property file="build.properties"/>
      <property name="deployeruri"        value="deployer:oc4j:${oc4j.host}:${oc4j.admin.port}"/>
    <!--
      <property name="deployeruri" value="deployer:oc4j:opmn://${oc4j.host}:${oc4j.opmn.port}/home" />
    -->
      <property name="bindweb.website" value="default-web-site"/>
      <property name="app.name" value="sdots"/>
      <target name="deploy">
        < o :deploy file="${basedir}/dist/${app.name}.ear"
                  deploymentname="${app.name}" deployeruri="${deployeruri}"
                  userid="${oc4j.admin.user}" password="${oc4j.admin.password}"/>
        < o :bindWebApp deploymentname="${app.name}" deployeruri="${deployeruri}"
                      userid="${oc4j.admin.user}" password="${oc4j.admin.password}"
                      webmodule="webservice-web" websitename="${bindweb.website}"
                      contextroot="/sdots"/>
      </target>Not sure if this applies to your specific scenario.
    ps. cross posting on the different OTN forums is generally not a good idea as you get threads out of sync. In this specific case, you are running into an issue with a specific ESB demo, and the ESB-SOA forum is definitly a better palce to get specific help.
    WS not created in application server control after deployment
    ps2. I guess you should got it by now, as I am not the first one to make this comment.
    Webservice not created in oracle application server after deployment
    ps3. We still don't have details about the versions you are using and the specific about THE SOADemo Projects - provide the information someone else would need in the forum that best correspond to your issue; the SOA one in this case ;-)

  • Pre-compiled JSPs when deploying an EAR under WebLogic 6.1 SP4

    Hello,
    We have sucessfully pre-compiled JSP pages when working with and
    deploying WAR files (WebLogic 6.1 SP4, Windows).
    However, we can't seem to make it work when deploying EAR files.
    Examing the "secret" unpacked directories after deployment doesn't
    seem to help.
    If we extract the WAR from the EAR and deploy it, everything is perfect.
    Any ideas? Anyone able to make this work? If so, could you share the
    output of
    jar -tf yourCoolEarFileThatWorks.ear
    as well as the same for the embedded WAR file?
    Thank you,
    Mike Leo

    Some followup information.
    We've changed the place where it looks for JSP classes using the
    "workingDir" parameter in weblogic.xml.
    And we also set "pageCheckSeconds" (also in weblogic.xml) to "-1".
    Now, everything in the base directory comes up without being recompiled.
    However, nothing in subfolders of the base directory is "picked up". Those
    pages are still being compiled when they are accessed.
    Any ideas welcome.
    Mike Leo
    On Tue, 05 Aug 2003 18:43:41 -0500, Michael Leo <[email protected]>
    wrote:
    Hello,
    We have sucessfully pre-compiled JSP pages when working with and
    deploying WAR files (WebLogic 6.1 SP4, Windows).
    However, we can't seem to make it work when deploying EAR files.
    Examing the "secret" unpacked directories after deployment doesn't
    seem to help.
    If we extract the WAR from the EAR and deploy it, everything is perfect.
    Any ideas? Anyone able to make this work? If so, could you share the
    output of
    jar -tf yourCoolEarFileThatWorks.ear
    as well as the same for the embedded WAR file?
    Thank you,
    Mike Leo

  • After deployment on 902(j2ee) not able to see images

    We have developed sample uix jsp application using jdeveloper rel2. we create .ear and .war files and deployed on 9ias(902).After deployment we are not able to see the default icons(using jdeveloper wizard icons)When running in 9ias(os windows nt).

    See:
    * [[Images or animations do not show]]
    * http://kb.mozillazine.org/Images_or_animations_do_not_load
    Check the image exceptions: Tools > Options > Content: Load Images: Exceptions
    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Java Plug-in 1.4.1_02 for Netscape Navigator (DLL Helper)
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)

  • Why I cannot connect to database after deploying application to OAS?

    Hello experts...i have a new problem and here are the facts:
    I`m using on Windows Xp:
    Oracle Database 10.2.0
    Oracle Application Server 10.1.3
    Oracle Jdeveloper 10.1.3.3
    I`m creating a new application using jdeveloper and i`m using 2 connection classes:
    a) First connection class using:
    InitialContext ctx=new InitialContext();
    DataSource ds=ctx.lookup("jdbc/connDS");
    Connection conn=ds.getConnection();
    b) Second connection class using:
    Connection conn = DriverManager.getConnection("jdbc:and the entire link goes here");
    So far so good, but when I create a ear file using the First connection class and after i deploy it to OAS my application will not connect anymore to database!
    If I will use the Second connection class, and create an ear file then deploy it to OAS, my application works fine, it connects to database but i have a problem. In my application users can upload and download the files they uploaded. The files are saved in DB as blob. The problem appears when users are downloading the files because for example file "example.doc" is uploaded on the server database and when a user try to download it the name of the file is like "example_doc" and my pc open it like an html in which is a server 500 error. Someone told me that happens because of my connection class... and I want to find out you`re opinion.
    Why i cann`t connect to DB after deploy the application on OAS using the FIRST connection class?
    - on Jdeveloper i can connect to DB using both of the connect classes (one at a time)
    - I`m creating a war file from jdeveloper and deploy the ear file on the OAS
    - on OAS i`ve created the connection pool and the data source and "The connection was establish succesfully"
    Why the uploaded files are downloaded in this way? it`s the connection the problem?
    - I want to tell you that when i`m extracting data from the DB table i`m not using a temp file, the conversion is made in the java class and the program throws me the file to download.
    - as i told you in Jdeveloper both of the connection classes work!!! and when i`m using the FIRST connection class and try to download, the files ARE DOWNLOADED PERFECTLY CORRECT!
    - if i`m using the SECOND connection class in jdeveloper, running the application on the built in oc4j instance and trying to download the same files, the files are DOWNLOADED BAD like I told you: the name of the file is like "example_doc" and my pc open it like an html in which is a server 500 error. with the pdf format is the same problem but my pc cannot open it telling something with "bad conversion...." error.
    There are someone who had the same problem?
    Theoretically i had to make the application to connect to the database after deploy it to OAS with the FIRST connection class and this way my files will be downloaded corectly... what to do?

    no one knows nothing about this issue? :(... i`m dissapointed...

Maybe you are looking for

  • How do you blur an image in InDesign CS5.5 (wtihout Photoshop)?

    I'd like to apply a guassian blur to an image in InDesign CS5.5, but I don't have acces to Photoshop or any other real graphics program on my employers Windows laptop.  Is there any feature in InDesign that would result in a guassian blur look?

  • PO Release Strategy not changed after deletion of few line items with less

    Subject : PO Release Strategy not changed after deletion of few line items with less Total PO Dear Friends We have issue with PO Release strategy. We have created the PO. with release strategy  with multiple approvers.  After approval of first approv

  • On every page I have to zoom in again because the pitch is to small to read. How can I is change this? Thanks

    I want to install the pitch of letters as a standard so that it is not necessary to zoom in every time when I start Firefox and every time again when I get a new page.

  • File-XI-File BPM Split Question

    Iam using BPM to split the 1 file into 2 files. I have to use BPM due to requirement. Iam sending file to BPM In BPM: receive step transform Step - Here message split is performed Fork Start Send Message 1 Send Message 2 Fork End ( end condition is 1

  • Clean-up etc...

    Forgive for I am new to the Mac world... and i must say i cant believe it took me this long! man i should have switched years ago! ... anyway, i have a new iMac and do alot of browsing, online gaming, and downloading of mp3 files, so pretty much norm