Access to uup ejb deployed in a shared library

Hello,
I use WLP 10.3.2 and i have deployed an EAR shared library with an ejb uup.
In the ear shared library, we have deploy the uup ejb, the ProfilUser.usr files and the p13n-profile-config.xml.
Could you tell me why in the jndi-name there are the suffix /app/ejb ???!!
p13n-profile-config.xml
<property-adapter>
<name>profilCdnAdapter</name>
<description>profile adapter to use attributes stored in LDAP</description>
<property-mapping>ProfilUser</property-mapping>
<ejb-jndi>portail-uup-user.jar#ProfilUser</ejb-jndi>
<adapter-property>
<name>profilUserCacheName</name>
<value>profilUserCache</value>
</adapter-property>
</property-adapter>
Error stacktrace :
Caused by: javax.naming.NameNotFoundException: While trying to look up /app/ejb//app/ejb/portail-uup-user.jar#ProfilUser/home in /app/ejb/p13n_ejb.jar#UserProfileManager.; remaining name '/app/ejb//app/ejb/portail-uup-user/jar#ProfilUser/home'
     at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
     at weblogic.jndi.internal.ApplicationNamingNode.lookup(ApplicationNamingNode.java:144)
     at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
     at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393)
     at weblogic.jndi.factories.java.ReadOnlyContextWrapper.lookup(ReadOnlyContextWrapper.java:45)
     at weblogic.jndi.internal.AbstractURLContext.lookup(AbstractURLContext.java:130)
     at javax.naming.InitialContext.lookup(InitialContext.java:392)

Check this is correct <ejb-jndi>portail-uup-user.jar#ProfilUser</ejb-jndi>
In portail-uup-user.jar see if you have ejb-name as ProfilUser in ejb-jar.xml it should match.

Similar Messages

  • Accessing jsp deployed as a shared Library

    Hi All,
    I have an ear file which is deployed as a shared Library in my Portal Web Project. Now I am trying to access a login.jsp which is in the Ear file. I created a pageflow portlet, with the pageflow pointing the login.jsp, it doesnt work ( irony is that there is no exception/message being displayed on the server).
    Now when I use a browser portlet with the contentURI pointing to that Login.jsp, then everything works fine. Also if I create a normal jsp, and redirect it to the Login.jsp it still works fine; but if I directly forward the request to Login.jsp, I get an IllegalStateException.
    Can any one explain the reasons for these??
    Any input on this would be appreciated.
    Thanks,
    G

    OK, it probably really is a packaging problem then. Maybe your JSP pages being used by the pageflow are not in a directory structure that matches the package structure of the pageflow controller? I tried to find a reference for this requirement in the apache netui beehive docs, but couldn't find it at first glance:
    http://beehive.apache.org/
    I did find a mention in the Oracle WebLogic Portal docs, "The package and WebContent folders for a given page flow must always match." at:
    http://edocs.bea.com/wlw/docs103/guide/webapplications/netui/tutorial/tutWebAppStep2.html#1
    So... if you have a com.my.company.foo.MyController.java in your src tree then in your web root dir you would have com/my/company/foo/login.jsp, etc.

  • Access Denied with EJB Deployment to 8i with JDeveloper

    Hi,
    I'm having a problem deploying an EJB to Oracle 8i with
    JDeveloper 2.0.
    I am receiving an insufficient privileges error in the
    deployment process when it reaches the stage Generating EJBHome
    and EJBObject on the server. I am logging in using the system,
    sys, scott or internal account and all still receive the same
    error. What role/privelege do I need to deploy an ejb to 8i?
    Thanks in advance.
    Here is a dump of the output JDeveloper produces.
    *** Invoking the Oracle JDeveloper deployment utility ***
    Scanning project files...done
    Generating classpath dependencies...done
    Generating archive entries table...done
    Writing archive...done
    *** Invoking the Oracle8i deployment utility ***
    Reading Deployment Descriptor...done
    Verifying Deployment Descriptor...done
    Gathering users...done
    Generating Comm Stubs...done
    Compiling Stubs...done
    Generating Jar File...done
    Loading EJB Jar file and Comm Stubs Jar file...done
    Generating EJBHome and EJBObject on the
    server...oracle.aurora.server.tools.sess_iiop.ToolsException: A
    SQL exception occured while compiling:
    oracle.aurora.ejb.gen.test_MyEJB.EjbObject_MyEJB : ORA-01031:
    insufficient privileges
    at oracle.aurora.server.tools.sess_iiop.ToolImpl.error
    (Compiled Code)
    at oracle.aurora.ejb.deployment.GenerateEjb.generateBean
    (Compiled Code)
    at oracle.aurora.ejb.deployment.GenerateEjb.invoke
    (Compiled Code)
    at oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke
    (Compiled Code)
    at
    oracle.jdeveloper.wizard.deployment.EJBDeployMonitor.run
    (Compiled Code)
    at oracle.jdeveloper.wizard.common.ProgressDialog.run
    (Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    null

    Chris,
    Perhaps you should be checking if the user you wish to deploy
    EJBs to has at least JAVAUSERPRIV.
    As SYSTEM
    grant JAVAUSERPRIV to <user>;
    Good luck
    /Mark
    Chris Jones (guest) wrote:
    : Hi,
    : I'm having a problem deploying an EJB to Oracle 8i with
    : JDeveloper 2.0.
    : I am receiving an insufficient privileges error in the
    : deployment process when it reaches the stage Generating EJBHome
    : and EJBObject on the server. I am logging in using the system,
    : sys, scott or internal account and all still receive the same
    : error. What role/privelege do I need to deploy an ejb to 8i?
    : Thanks in advance.
    : Here is a dump of the output JDeveloper produces.
    : *** Invoking the Oracle JDeveloper deployment utility ***
    : Scanning project files...done
    : Generating classpath dependencies...done
    : Generating archive entries table...done
    : Writing archive...done
    : *** Invoking the Oracle8i deployment utility ***
    : Reading Deployment Descriptor...done
    : Verifying Deployment Descriptor...done
    : Gathering users...done
    : Generating Comm Stubs...done
    : Compiling Stubs...done
    : Generating Jar File...done
    : Loading EJB Jar file and Comm Stubs Jar file...done
    : Generating EJBHome and EJBObject on the
    : server...oracle.aurora.server.tools.sess_iiop.ToolsException: A
    : SQL exception occured while compiling:
    : oracle.aurora.ejb.gen.test_MyEJB.EjbObject_MyEJB : ORA-01031:
    : insufficient privileges
    : at oracle.aurora.server.tools.sess_iiop.ToolImpl.error
    : (Compiled Code)
    : at oracle.aurora.ejb.deployment.GenerateEjb.generateBean
    : (Compiled Code)
    : at oracle.aurora.ejb.deployment.GenerateEjb.invoke
    : (Compiled Code)
    : at oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke
    : (Compiled Code)
    : at
    : oracle.jdeveloper.wizard.deployment.EJBDeployMonitor.run
    : (Compiled Code)
    : at oracle.jdeveloper.wizard.common.ProgressDialog.run
    : (Compiled Code)
    : at java.lang.Thread.run(Compiled Code)
    null

  • Can see but not access shared library

    I have a PC running Windows XPsp3 and the latest version of iTunes, and my husband is on a macbook using the latest OS and iTunes.  We both have Home Sharing enabled and he can access my library, but I can not access his.  I can see his shared library but when I click on it, it thinks for a while and kicks me back to my library.  I checked to make sure we were both using the same account info and that we both had sharing enabled.  I checked to make sure our respective firewalls where allowing iTunes through. We are using an AirPort for our router; I'm wired in and he is wireless. I've been looking in the community and can't see where anyone has successfully resolved this problem. 
    BTW, before I recently reformatted and rebuilt my PC, when I encountered this problem I would get an error stating I needed to check my firewall.  Reformatting my PC did not correct the problem, only removed the error message.
    Anyone have any other ideas?

    check out these links:
    Troubleshooting security software issues
    Troubleshooting Home Sharing
    and, last but not least, see this discussion concerning bonjour being the culprit.

  • Business Rule in shared library

    Hi,
    We have 2 portal projects. Say Project 1 and Project2. Project 1 is deployed as a shared library for project2. Project2 is deployed as an application.
    I have a business rule in a Project1's datasync project. And executing that rule from the controller of a spring portlet present in the project1's web project. This is deployed as shared library for project2. If i try to access the desktop (present in Project2), it throws follwoing error.
    com.bea.p13n.rules.manager.RuleSetNotFoundException: The rule set with URI /Rules/a.rls could not be located by the class named com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.
         at com.bea.p13n.rules.manager.internal.RuleSetPersistenceManager.getRuleSet(RuleSetPersistenceManager.java:408)
         at com.bea.p13n.rules.manager.internal.ContextPool.<init>(ContextPool.java:149)
         at com.bea.p13n.rules.manager.internal.ContextPoolFactory.getContextPool(ContextPoolFactory.java:214)
         at com.bea.p13n.rules.manager.internal.RulesManagerImpl.getContext(RulesManagerImpl.java:476)
         at com.bea.p13n.rules.manager.internal.RulesManagerImpl.evaluate(RulesManagerImpl.java:349)
         at com.bea.p13n.rules.manager.internal.RulesManagerImpl.evaluateRuleSet(RulesManagerImpl.java:122)
         at com.bea.p13n.rules.manager.internal.RulesManager_jswjkk_EOImpl.evaluateRuleSet(RulesManager_jswjkk_EOImpl.java:597)
         at com.capitalone.ecom.framework.RuleEngine.Impl.RuleExecutorImpl.evaluateRuleSet(RuleExecutorImpl.java:187)
         at com.capitalone.www.capabilities.portlet.controller.NavigationController.readBusinessRule(NavigationController.java:81)
         at com.capitalone.www.capabilities.portlet.controller.NavigationController.renderRequest(NavigationController.java:62)
         at com.capitalone.www.capabilities.portlet.controller.common.BaseController.handleRenderRequestInternal(BaseController.java:58)
         at org.springframework.web.portlet.mvc.AbstractController.handleRenderRequest(AbstractController.java:223)
         at org.springframework.web.portlet.mvc.SimpleControllerHandlerAdapter.handleRender(SimpleControllerHandlerAdapter.java:52)
    Project 2 also has a business rule in its own datasync. That rule is accessed from backing file. It executes fine.
    Any help.......

    Hi
    We are thinking of using a separate portal project with all the business rules and use a remote portlet for getting the result.
    The question is like the wsrp-producer-registry.xml has to be manually copied to the running EAR and the <wsrp-producer handle> entry has to be manually made. Is it not possible to have the <wsrp-producer handle> entry automatically.
    Also, <wsdl-url> entry currently is http://localhost:7001/xyz/producer?wsdl. But if the entries have to be made manually. do we need to repeat the process for other envirnments. i.e, the <wsdl-url> has to be changed manually in every environment and then deployed? Or is it not required to make any entries?
    Are there any other limitations, using this approach..

  • Executable and shared library portability

    Hi,
    What are things that one should keep in mind when trying to deploy executables and shared library built on one machine to another.
    Thanks

    1. Use compiler options to generate code for the most generic of the machines you intend to support. For example, if you intend to run on UltraSparc II systems, don't generate code for US III. The option -xarch=v8plus is suitable for all 32-bit Sparc systems less than 10 years old. Avoid -xchip, -xcache, and other processor-specific options.
    2. Build on the earliest version of Solaris that you intend to support. If you allow your clients to use Solaris 8 or later, you must build your libraries and applications on Solaris 8. Binaries created on later versions of Solaris cannot be expected to work on earlier versions of Solaris, but can be expected to work on later versions.
    3. Do not link system libraries statically. Always link the shared library. Static versions of system libraries can't be expected to work a a different version of Solaris, or on a different patch level of the same Solaris version.
    4. Make a note of the patch level of system libraries on your build system. For C++, check especially the patch level of SUNWlibC. Clients might need the same or later patch levels on their systems. For our products, we set up our build machines with the earliest patch levels that allow our products to work. We document those patch levels, and provide the minimum patches with the product installation. If a client system has a later patch level, the patch we supply won't be installed, and the later patch level should allow the product to work correctly.

  • Shared library doesnt load on ipad

    I have a very large amount of media (mainly audio books and music, including over 2000 music videos) I find that on the whole home sharing works fine with my Apple TV which is hard wired to the network but when I try to access the shared library on my Ipad 2 the little timer goes round to half way and always stops.
    I had this issue some time ago but it seemed to be resolved by an update but it is happening again, which means I cannot access any of the media on my shared library from my Ipad. Both the Ipad and Itunes are running the latest versions and Itunes is running on Windows 7 64bit.
    I have tried restarting the ipad and restarting the home server but neither resolves the problem. The wireless signal is strong so dont understand why it works on the Apple TV but not the Ipad. Could it be the size of the library? my itunes folder currently stands at 508GB.
    Any help in getting this resolved would be appreciated.
    Thanks in advance

    This is not a java problem.
    It is a VM problem.
    So for the VM (vendor and version) that you are using it requires certain things.
    It might be that the VM doesn't load 32 at all. Or that you have to do something different when you compile it.
    A forum that is specific to your VM might be more productive (this site tends to be strongly solaris/linux/windows.)

  • Error while accessing EJB deployed in another app

    Hi,I have an EJB deployed in another application and was trying to access it from different application (both running on seperate weblogic server 5.1)when i do look-up like this : Hashtable hmRemote = new Hashtable(); hmRemote.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory"); hmRemote.put(Context.PROVIDER_URL, "http://localhost:7001/doc"); Hashtable hmLocal = new Hashtable(); hmLocal.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory"); hmLocal.put(Context.PROVIDER_URL, "http://localhost:7004/amit"); hmLocal.put(WLContext.DELEGATE_ENVIRONMENT, hmRemote); Context ctx = new InitialContext(hmLocal);I get following error on console :Wed May 02 12:28:30 CDT 2001:<I> <ConMan> Bootstrap unable to get a http connection to localhost/127.0.0.1Wed May 02 12:28:30 CDT 2001:<I> <ConMan> Bootstrap unable to get a http connection to localhost/127.0.0.1Exception caught in try javax.naming.CommunicationException [Root exception is java.net.ConnectException: No server found atHTTP://localhost:7001]Please help me.thanksamit

    I solved the problem or I learned the process. I forgot to add two jar files in tomcat shared library. It is working now. Thanks.

  • Can't access EJB deployed on remote OC4J - what am I doing wrong?

    I'm unable to access an EJB deployed on a remote OC4J instance (ie, part of a 9iAS installation on another machine vs local in JDeveloper).
    I've reverted to a stupid-simple EJB in hopes of getting it going prior to trying my actual code. The EJB works fine in JDev (9.0.3) - I 'run' the EJB to start the local OC4J instance, run my client code (generated via the "New Sample Java Client..." option in the Navigator context popup) and all is well.
    I then create an EAR file via the the "Create EJB Jar Deployment Profile..." context popup of the ejb-jar.xml node, followed by "Deploy to EAR file" from the context popup of the resulting ejb1.deploy node. I next "Deploy EAR File" via the "Oracle Enterprise Manager" that comes with 9iAS (the :1810 port). After successfully deploying, I modify my client code in JDeveloper, specifying the new connection information for the remote machine via the Hashtable constructor of InitialContext and attempt to run it. I've tried a number of Context.PROVIDER_URL forms, including: ormi://registered_pingable_host_name:23791/deployed_application_name
    ormi://registered_pingable_host_name:23791/session_deployment_name (from the <enterprise-beans><session-deployment name="xxx"/></enterprise-beans> section of my orion-ejb-jar.xml file, as per a tip in this forum)
    I've tried prefixing ormi:// with http:, but get no response whatesoever in this case.
    I've also tried it without the port number (this port number matches that in my remote OC4J's <oc4j_instance_home>/config/rmi.xml file).
    On the Context.SECURITY_PRINCIPAL and Context.SECURITY_CREDENTIALS settings, I've tried various values, generally using the 'admin' user, with passwords taken from:
    <oc4j_instance_home>/principals.xml
    <oc4j_instance_home>/application-deployments/application_name/principals.xml
    I've also tried matching the password in the jazn-data.xml, to no avail - this password appears encrypted anyway, but thought I'd give it a try on the off-chance that it was just a randomly-generated password - no go.
    I've also tried SCOTT/TIGER, anonymous, etc. Incidentally, the 'deactivated' attribute of the <user> tag is set to "false" in my principals.xml files.
    No matter what I do, I always get back "javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect"
    Additionally, I get this same message when I try to establish an Application Server Connection via JDev.
    Clearly, I'm missing something critical (and probably simple), but I can't for the life of me figure it out.
    Any help would be much appreciated!
    Thanks,
    Jim Stoll

    Ok, well this is a bit strange...
    3103 - 3103 also fails, and some experimentation has led me to find that any time that I specify a range smaller than 6 (3101 - 3106 works, 3101 - 3105, 3101-3101, 3103-3103, etc does not), the OC4J instance will not restart. I get "An error occurred while starting. The opmn request has failed. From opmn: HTTP/1.1 204 No Content Content-Length: 0 Content-Type: text/html Response: 0 of 1 processes started. Check opmn log files such as ipm.log and ons.log for detailed." in the OEM window (I specify the RMI port range, hit Apply, go to the OC4J instance home page, see that the Status is 'Down', hit Start, and get that message.) <ORACLE_HOME>/product/iasinfra/opmn/logs/ipm.log tells me:
    02/12/03 09:41:12 There is no rmi port left for starting an OC4J process. Please check oc4j's port property in OPMN's configuration file.
    02/12/03 09:41:12 start_proc: UID 3719788: failed to build args
    02/12/03 09:41:12 start_proc_req: failed to start a process in GID OC4JJim2, type: 2
    If I bump it up to 3101 - 3106 or higher, it starts right up. Running opmnadmin debug, as suggested by Venky (thanks Venky!), yields:
    PROCESS TABLE
    UID PID FLAGS TYPE STATUS REF HTTP AJP RMI JMS
    3654011 84 00000040 OC4J Alive 1 0 3005 3106 3206
    424987 604 00000000 Apache Alive 1 7777 0 0 0
    2932088 14849 00000000 OC4J Alive 1 0 3003 3103 3203
    3063160 14878 00000000 OC4J Alive 1 0 3001 3101 3201
    3194232 14906 00000000 OC4J Alive 1 0 3000 3105 3205
    3325304 14936 00000000 OC4J Alive 1 0 3002 3102 3202
    3456376 14964 00000000 OC4J Alive 1 0 3004 3104 3204
    Which is what I would expect, given the specified range of 3101-3106. Trying each of these ports in turn, I've found that I can hit the EJB successfully on 3106, but 3101 - 3105 all fail with:
    javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: No such domain/application: Project7_2; nested exception is:
         javax.naming.AuthenticationException: No such domain/application: Project7_2
         java.lang.Object com.evermind.server.rmi.RMIContext.lookup(java.lang.String)
              RMIContext.java:134
         java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
              InitialContext.java:350
         void Samplemypackage9.MySessionEJBClient1.main(java.lang.String[])
              MySessionEJBClient1.java:15
    I'm a little concerned about assuming the high-end of the range to be the active port on a regular basis (though thus far, among about 20 - 30 tries spaced over 20 - 30 minutes, it has been...) - I guess I can have my code loop through the range until it finds a good port or exhausts the list, but that seems a bit excessive.
    Can you think of a reason that my OC4J instance won't start with a range size of less than 6? I'm on 9iAS 9.0.2, if that makes any difference.
    Thanks,
    Jim

  • How to access EJB deployed in JBOSS 4 from Creator

    Hello.
    I am trying to access EJBs deployed on JBOSS in order to develop a web app client, when I import the EJB set from Creator (sessions and entities packages in a jar file) I got the following error message....."No EJB set found in file....." .
    I presume there is an kind of xml file description specific for Sun App Server missing. I would like to know if there is other way to expose EJB in creator?....maybe write a config file by hand.
    I already read the tutorials related to EJB but those only use pre build EJB jars for Sun App Sserver.
    Also I read all the posted about JBoos and EJB in this forum but those are pretty general.
    By the way I have Delegate classes to access the EJB. How do I register my delegates in Creator in order to expose their methods?
    I�ll really appreciate some light in this matter.
    Thanks in advance!!!

    Hi,
    The below forum thread may help you :
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=51321
    Thanks,
    Runa.

  • Issues in looking up a ejb deployed on glassfish from tomcat.

    Hi all,
    I have followed the steps mentioned in the EJB FAQ in the glassfish site and was able to lookup a remote ejb deployed in glassfish from a standalone client.
    In case of standalone client, i set the appropriate jndi properties in the initial context as mentioned in the FAQ and added the 4 jars specified to the classpath of the application.
    It all worked perfectly well.
    But I attempted to do the same from a servlet running under tomcat.
    I set the appropriate jndi properties in the intial context and added 4 jars specified in the lib directory of the war file.
    But this did not turn out well and tomcat complained me with some servlet init errors.
    Then i searched through the web and found this posting from you:
    http://www.archivesat.com/GlassFish_Enterprise_JavaBeans_Developers/thread1399339.htm
    Then i created a folder called "shared/lib" under TOMCAT_HOME directory in my machine and ran the same example. Wow.....miraculously the application ran well.
    But i found that the "index.jsp" which i configured in the welcome file list does not appear now. But i was able to access the servlet without any problem. And the servlet was able to successfully lookup the ejb deployed in glassfish.
    Then i thought, let me try to access the ejb from a jsf application.
    Then i created a jsf application in netbeans 5.5.1 and tried to access the bean deployed in glassfish.
    (Note: the jsf application runs in tomcat 5.5.17 which is bundled with netbeans)
    OOPSS....
    Tomcat now complains me that it cannot compile the jsp page..
    This is the error i got...
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    C:\Documents and Settings\james\.netbeans\5.5.1\apache-tomcat-5.5.17_base\work\Catalina\localhost\CityExplorer-WebClient1\org\apache\jsp\index_jsp.java:7: org.apache.jsp.index_jsp is not abstract and does not override abstract method getDependants() in org.apache.jasper.runtime.JspSourceDependent
    public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase
    ^
    Generated servlet error:
    C:\Documents and Settings\james\.netbeans\5.5.1\apache-tomcat-5.5.17_base\work\Catalina\localhost\CityExplorer-WebClient1\org\apache\jsp\index_jsp.java:12: getDependants() in org.apache.jsp.index_jsp cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent; attempting to use incompatible return type
    found : java.lang.Object
    required: java.util.List
    public Object getDependants() {
    ^
    2 errors
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    Any ideas...
    Can you please help me.
    I've noticed that you were eagerly answering questions related to ejb lookup in many places.
    I feel there is some potential compatability issue between tomcat and glassfish...
    I request you to investigate on this and clarify the community with your response.
    Thanks in advance,
    James Selvakumar

    Thank you guys!
    I've found the answer myself.

  • NoPermissionException when deploying a RAR inside a Shared library EAR.

    Hello,
    I have a deployment issue concerning a resource adapter in shared library.
    I have an EAR containing a RAR. and an EJB jar with a stateless session EJB in charge of invoking the Resource Adapater (by lookup).
    If I deploy this EAR as an application, it works.
    But If I deploy this EAR as shared library and I link it to another EAR deployed as an application, I have the following deployment issue:
    javax.naming.NoPermissionException: A Resource Adapter may only be accessed from within the same application from which it was deployed.
            at weblogic.connector.outbound.RAOutboundManager.getConnectionFactory(RAOutboundManager.java:765)
            at weblogic.connector.deploy.JNDIHandler.getConnectionFactory(JNDIHandler.java:1015)
            at weblogic.connector.deploy.JNDIHandler.lookupObject(JNDIHandler.java:869)
            at weblogic.connector.deploy.JNDIHandler.getObjectInstance(JNDIHandler.java:843)
            at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
            at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:255)
            at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:411)
            at javax.naming.InitialContext.lookup(InitialContext.java:392)
            at com.mycompany.myEJB.initContext(myEJB.java:100)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.bea.core.repackaged.springframework.jee.inject.Jsr250Metadata.invokeLifecycleMethod(Jsr250Metadata.java:332)
            at com.bea.core.repackaged.springframework.jee.inject.Jsr250Metadata.invokeLifecycleMethod(Jsr250Metadata.java:326)What I don't understand is: even if my application name change (in one case, the name of the EAR containing the RAR, in the other case, the classical EAR name) my packaginig is still the same: the myEJB lookup a Resource adapter which is inside the same EAR and the same application.
    What is wrong ? Do you think it is a potential weblogic bug related to sharedlib deployment ?
    Thank you for helping,
    Best Regards,

    Hi,
    I've defined my Shared lib EAR using its MANFIEST.MF file just like that :
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.8.1
    Created-By: 1.6.0_22-b04 (Sun Microsystems Inc.)
    Implementation-Version: 1.1.3
    Implementation-Vendor: XXXXXXX Software
    Specification-Version: 1.1
    Specification-Title: xxxx
    Copyright: Copyright (c) 2012 XXXXXXX
    Weblogic-Application-Version: 1.1.3And I reference it from my plain EAR using deployment plan (for dynamic configuration of my solution)
      <variable-definition>
        <variable>
          <name>xxxxSharedLibStatus</name>
          <value>false</value>
        </variable>
      </variable-definition>
      <module-override>
        <module-name>classicalEAR.ear</module-name>
        <module-type>ear</module-type>
        <module-descriptor external="false">
          <root-element>weblogic-application</root-element>
          <uri>META-INF/weblogic-application.xml</uri>
          <variable-assignment>
            <name>xxxxSharedLibStatus</name>
            <xpath>/weblogic-application/library-ref/[library-name="xxxx.ear"]/exact-match</xpath>
          </variable-assignment>
        </module-descriptor>
      <config-root xsi:nil="true"></config-root>
    </deployment-plan>I use this mechanism for more than 20 EAR shared lib linked to my classical EAR. it works well, everything seems to be well deployed but the lookup from EAJ to Adaptor raised this permission Exception...
    Thank you if you can help.
    Best Regards,

  • 5.1, VisualAge, EJB Deployment, JAR Files, NT4, Win2000, Solaris

     

    Note - the original post was only to w.d.i.environment.
    Here's a transcript of a run that failed.
    help...
    The messed up thing is that it WORKS on my machine, but not on the other
    machines. I've gone as far as reinstalling onto another machine,
    mapping the same folders to the same drive letters, and copying the
    resource files -- in effect, creating an identical setup -- and still
    have problems.
    Fri Jan 12 13:36:15 PST 2001:<I> <WebLogicServer> Read global properties
    n:\weblogic.va\weblogic.properties
    Fri Jan 12 13:36:15 PST 2001:<I> <WebLogicServer> Read per-server
    properties n:\weblogic.va\myserver\weblogic.properties
    Fri Jan 12 13:36:15 PST 2001:<I> <Logging> FileLogger initialized.
    Fri Jan 12 13:36:15 PST 2001:<I> <WebLogicServer> ************ WebLogic
    Server (5.1.0 Service Pack 6 09/20/2000 21:03:19 #84511) 'myserver' from
    directory path n:/weblogic.va
    Fri Jan 12 13:36:15 PST 2001:<I> <WebLogicServer> ************ (c) 1995,
    1996, 1997, 1998 WebLogic, Inc., (c) 1999 BEA Systems, Inc.
    Fri Jan 12 13:36:15 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.session.swapIntervalSecs', current value: '10'
    Fri Jan 12 13:36:15 PST 2001:<I> <Config> Property name:
    'weblogic.jms.ConnectionConsumer', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.security.enforceClientCert', current value: 'false'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.login.readTimeoutMillis', current value: '5000'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.bindAddr', current value: 'localhost'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.propertiesFile', current value:
    'n:/weblogic.va\weblogic.properties'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.servlet.reloadCheckSecs', current value: '-1'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.authRealmName', current value: 'WebLogic Server'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.security.SSLHandler.enable', current value: 'true'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.startupFailureIsFatal', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.http.keepAliveSecs', current value: '15'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.servlet.classpath', current value:
    'N:/bobcat/weblogic/servletclasses'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.tunneling.clientPingSecs', current value: '45'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.defaultWebApp', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.session.persistentStoreDir', current value: 'session_db'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.perServerPropertiesFile', current value:
    'n:/weblogic.va\myserver\weblogic.properties'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.jms.maxQueueExpansionSize', current value: '10'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.jms.queue', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.session.invalidationIntervalSecs', current value: '60'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.session.persistence', current value: 'false'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.security.realm.cache.user.enable', current value: 'true'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.rmi.dgc.callSystemGC', current value: 'false'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.jms.maxTransactedDurableSubscribers', current value: '0'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.weight', current value: '100'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.jms.connectionPoolArgs', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.security.disableGuest', current value: 'false'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.session.persistentStorePool', current value: ''
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.security.URLAclFile', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.percentSocketReaders', current value: '33'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.zac.enable', current value: 'true'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.jdbc.TXDataSource', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.DNSName', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.ejb.deploy', current value:
    'n:/bobcat/weblogic/serverclasses/bobcat.jar,
    n:/bobcat/weblogic/serverclasses/bobcat_admin.jar,
    n:/bobcat/weblogic/serverclasses/bobcat_adunit.jar,
    n:/bobcat/weblogic/serverclasses/bobcat_community.jar,
    n:/bobcat/weblogic/serverclasses/bobcat_customer.jar,
    n:/bobcat/weblogic/serverclasses/bobcat_preview.jar,
    n:/bobcat/weblogic/serverclasses/bobcat_memberaccountprofile.jar,
    n:/bobcat/weblogic/serverclasses/bobcat_affiliate.jar'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.workspace.showUserKeysOnly', current value: 'false'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.jms.enable', current value: 'true'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.allow', current value:
    '[weblogic.allow.read.weblogic.workspace=everyone
    weblogic.allow.write.weblogic.workspace=everyone
    weblogic.allow.reserve.weblogic.jdbc.connectionPool.AdminA=guest
    weblogic.allow.execute.weblogic.servlet=everyone ]'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.listenPort', current value: '80'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.allow', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.servlet.reloadOnModify', current value: 'false'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.io.fileSystem', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.startupArgs', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.jdbc.enableLogFile', current value: 'false'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.session.cookie.domain', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.security.realm.debug', current value: 'false'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.clustering.enable', current value: 'false'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.session.enable', current value: 'true'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.shutdownArgs', current value:
    '[weblogic.system.shutdownArgs.VisualAge= ]'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.rmi.startupClass', current value:
    '[weblogic.rmi.startupClass.RMI
    Registry=weblogic.rmi.internal.RegistryImpl ]'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.keepAlive.enable', current value: 'true'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.session.jdbc.connTimeoutSecs', current value: '120'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.name', current value: 'myserver'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.session.sessionIDLength', current value: '52'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.helpPageURL', current value:
    'd:\ibmvjava2\ide\project_resources\WebLogic Server/docs/adminhelp/'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.cluster.multicastPort', current value: '-1'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.security.key.server', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.rmi.startupArgs', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.jms.topicSessionPool', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.home', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.documentRoot', current value:
    'n:/bobcat/weblogic/public_html/'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.servlet.reloadOnModifyRecursive', current value: 'false'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.errorPage', current value:
    '[weblogic.httpd.errorPage.500=/shared/siteerror.jsp
    weblogic.httpd.errorPage.404=/shared/notfound.jsp ]'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.security.certificate.authority3', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.administrativePort', current value: '0'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.security.certificate.authority2', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.startupClass', current value:
    '[weblogic.system.startupClass.cacheResetListener=com.fl.listener.CacheResetListener
    weblogic.system.startupClass.cachePreload=com.fl.util.lookup.CodeTable
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.nonPrivGroup', current value: 'nobody'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.cluster.multicastTTL', current value: '1'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.nonBlockingExecuteThreadCount', current value: '2'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.home', current value: 'n:/weblogic.va'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.https.keepAliveSecs', current value: '60'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.jndi.transportableObjectFactories', current value: ''
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.security.certificateCacheSize', current value: '3'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.tunneling.clientTimeoutSecs', current value: '40'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.jdbc.DataSource', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.maxLogFileSizeKBytes', current value: '0'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.nonPrivUser', current value: 'nobody'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.zac.publishRoot', current value: 'exports'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.security.clientRootCA', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.cluster.defaultLoadAlgorithm', current value: 'round-robin'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.enable', current value: 'true'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.administrator.phone', current value: '(None)'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.jdbc.connectionPool', current value:
    '[weblogic.jdbc.connectionPool.AdminA=url=jdbc20:oracle:thin:@172.16.3.10:1521:ADMINDBT,driver=oracle.jdbc.driver.OracleDriver,loginDelaySecs=0,initialCapacity=4,maxCapacity=80,capacityIncrement=2,allowShrinking=true,shrinkPeriodMins=15,refreshMinutes=10,testTable=dual,props=user=devbc1;password=devbc1;
    weblogic.jdbc.connectionPool.SearchA=url=jdbc20:oracle:thin:@10.1.2.41:1521:SRCHDBP,driver=oracle.jdbc.driver.OracleDriver,loginDelaySecs=0,initialCapacity=3,maxCapacity=80,capacityIncrement=2,allowShrinking=true,shrinkPeriodMins=15,refreshMinutes=10,testTable=dual,props=user=devbc1;password=devbc1;
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.jms.debug', current value: 'false'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.jdbc.logFileName', current value:
    'n:/weblogic.va\myserver\jdbc.log'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.cluster.dnsName', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.requireAuthentication', current value: 'true'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.cluster.multicastAddress', current value: '224.0.10.10'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.defaultSecureProtocol', current value: 't3s'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.security.realm.cache.auth.enable', current value: 'true'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.executeThreadCount', current value: '10'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.session.cookie.comment', current value: 'Weblogic Server
    Session Tracking Cookie'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.jms.tableNamePrefix', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.jms.connectionPool', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.shutdownClass', current value:
    '[weblogic.system.shutdownClass.VisualAge=weblogic.integration.visualage.server.Server
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.defaultServlet', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.cluster.name', current value: 'mycluster'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.defaultProtocol', current value: 't3'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.postTimeoutSecs', current value: '30'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.security.group', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.tunnelingenabled', current value: 'false'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.security.realm.cache.caseSensitive', current value: 'true'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.security.certificate.server', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.mimeType', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.logRotationBeginTime', current value: ''
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.webApp', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.minPasswordLen', current value: '4'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.jms.connectionFactoryArgs', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.session.persistentStoreType', current value: 'file'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.session.cacheEntries', current value: '1024'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.jms.queueCompactionPeriod', current value: '10'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.security.certificate.authority', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.resource.MailSession', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.session.cookie.maxAgeSecs', current value: '-1'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.login.readTimeoutMillisSSL', current value: '25000'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.cluster.enable', current value: 'false'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.security.SSL.ciphersuites', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.indexFiles', current value:
    'index.html,index.htm,index.jsp'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.password', current value: '[weblogic.password.system=********
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.enableLogFile', current value: 'true'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.enableReverseDNSLookups', current value: 'false'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.indexDirectories', current value: 'false'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.maxLogFileSize', current value: '0'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.logFile', current value:
    'n:/weblogic.va\myserver\weblogic.log'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.session.timeoutSecs', current value: '3600'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.logRotationType', current value: 'size'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.logFileFormat', current value: 'common'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.perClusterPropertiesFile', current value:
    'n:/weblogic.va\myserver\weblogic.properties'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.security.key.export.lifespan', current value: '500'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.CORBA.connectionPool', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'java.system.property', current value: '[]'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.logFileName', current value:
    'n:/weblogic.va\myserver\access.log'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.defaultMimeType', current value: 'text/plain'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.debug.httpd.servlet', current value: 'false'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.jms.connectionFactoryName', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.system.SSLListenPort', current value: '81'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.logRotationPeriodMins', current value: '1440'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.URLResource', current value: 'null'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.session.cookie.name', current value: 'WebLogicSession'
    Fri Jan 12 13:36:16 PST 2001:<I> <Config> Property name:
    'weblogic.jms.quiescent', current value: 'false'
    Fri Jan 12 13:36:17 PST 2001:<I> <Config> Property name:
    'weblogic.httpd.register', current value:
    '[weblogic.httpd.register.ADMIN=com.fl.control.handler.AdminServlet
    weblogic.httpd.register.site/surveyreward=com.fl.control.handler.site.rwds.SurveyRewardServlet
    weblogic.httpd.register.Admin/secure=com.fl.control.handler.SecureAdminServlet
    weblogic.httpd.register.123qpwoeiruty321=com.fl.control.handler.FileServlet
    weblogic.httpd.register.affiliatelanding=com.fl.control.handler.affiliate.AffiliateExtranetLanding
    weblogic.httpd.register.site/Ecard=com.fl.control.handler.site.community.ECardServlet
    weblogic.httpd.register.client/secure/AcctRegLogin=com.fl.control.handler.client.regloginServlet
    weblogic.httpd.register.ADMIN/SECURE/DEACTMEM=com.fl.control.handler.admin.clientaccount.MemberDeactivationServlet
    weblogic.httpd.register.admin/secure/maintainpromotion=com.fl.control.handler.admin.marketing.MaintainPromotionServlet
    weblogic.httpd.register.site/ecard=com.fl.control.handler.site.community.ECardServlet
    weblogic.httpd.register.site/member/forgotemail=com.fl.control.handler.member.LegacyServlet
    weblogic.httpd.register.admin/Profile=com.fl.control.handler.admin.adminaccount.AdminProfileServlet
    weblogic.httpd.register.Site/test=com.fl.control.handler.preview.TestServlet
    weblogic.httpd.register.site/referfriend=com.fl.control.handler.site.community.ReferAFriendServlet
    weblogic.httpd.register.servletimages=weblogic.servlet.internal.InternalImageServlet
    weblogic.httpd.register.site/ShipDetail=com.fl.control.handler.site.rdctr.ShipDetailServlet
    weblogic.httpd.register.index.jsp=com.fl.control.handler.SiteServlet
    weblogic.httpd.register.AFFILIATE=com.fl.control.handler.AffiliateServlet
    weblogic.httpd.register.site/referfriendconf=com.fl.control.handler.site.community.ReferAFriendConfServlet
    weblogic.httpd.register.Site/preview=com.fl.control.handler.preview.PreviewServlet
    weblogic.httpd.register.site/search=com.fl.control.handler.site.search.SearchServlet
    weblogic.httpd.register.admin/MemberProfile=com.fl.control.handler.admin.adminaccount.AdminMemberProfileServlet
    weblogic.httpd.register.site/preview/mediaurl=com.fl.control.handler.preview.MediaURLServlet
    weblogic.httpd.register.affiliate/Reg2=com.fl.control.handler.affiliate.reg.AffiliateContactInfoServlet
    weblogic.httpd.register.affiliate/Reg1=com.fl.control.handler.affiliate.reg.AffiliateInfoServlet
    weblogic.httpd.register.site/PrizeDetail=com.fl.control.handler.site.rdctr.PrizeDetailServlet
    weblogic.httpd.register.site/RevAdd=com.fl.control.handler.site.revprev.RevAddServlet
    weblogic.httpd.register.affiliate=com.fl.control.handler.AffiliateServlet
    weblogic.httpd.register.admin/find=com.fl.control.handler.admin.adminaccount.AdminFindServlet
    weblogic.httpd.register.SITE/preview/chart=com.fl.control.handler.preview.ChartServlet
    weblogic.httpd.register.admin/secure/maintainsurveySave=com.fl.control.handler.admin.marketing.MaintainSurveySaveServlet
    weblogic.httpd.register.admin/secure/login=com.fl.control.handler.admin.adminaccount.AdminLoginServlet
    weblogic.httpd.register.Client/secure/managepreview=com.fl.control.handler.preview.ManagePreviewServlet
    weblogic.httpd.register.client/secure/acctreglogin=com.fl.control.handler.client.regloginServlet
    weblogic.httpd.register.SITE/managepreview=com.fl.control.handler.preview.ManagePreviewServlet
    weblogic.httpd.register.site/campaign=com.fl.control.handler.site.community.CampaignServlet
    weblogic.httpd.register.*.swf=weblogic.servlet.FileServlet
    weblogic.httpd.register.admin/secure/MaintainSurvey=com.fl.control.handler.admin.marketing.MaintainSurveyServlet
    weblogic.httpd.register.client=com.fl.control.handler.ClientServlet
    weblogic.httpd.register.Firstlook.cfm=com.fl.control.handler.affiliate.ColdFusionLinksServlet
    weblogic.httpd.register.affiliate/Login=com.fl.control.handler.affiliate.LoginServlet
    weblogic.httpd.register.admin/secure/reviews=com.fl.control.handler.admin.review.ReviewsServlet
    weblogic.httpd.register.Client=com.fl.control.handler.ClientServlet
    weblogic.httpd.register.linkshare=com.fl.control.handler.affiliate.LinkShareServlet
    weblogic.httpd.register.site/prizehome=com.fl.control.handler.site.rdctr.PrizeHomeServlet
    weblogic.httpd.register.affiliate/login=com.fl.control.handler.affiliate.LoginServlet
    weblogic.httpd.register.client/secure/BidMgrLogin=com.fl.control.handler.client.loginServlet
    weblogic.httpd.register.site/prizedetail=com.fl.control.handler.site.rdctr.PrizeDetailServlet
    weblogic.httpd.register.site/Survey=com.fl.control.handler.site.community.SurveyServlet
    weblogic.httpd.register.GetNewuserID.cfm=com.fl.control.handler.affiliate.ColdFusionLinksRegServlet
    weblogic.httpd.register.SITE/preview=com.fl.control.handler.preview.PreviewServlet
    weblogic.httpd.register.site/logincampaign=com.fl.control.handler.site.community.LoginCampaign
    weblogic.httpd.register.site/getpreviews=com.fl.control.handler.preview.GetPreviewsServlet
    weblogic.httpd.register.admin/secure/deactadm=com.fl.control.handler.admin.adminaccount.AdminDeactivationServlet
    weblogic.httpd.register.SITE/test=com.fl.control.handler.preview.TestServlet
    weblogic.httpd.register.affiliate/register=com.fl.control.handler.affiliate.reg.AffiliateAgreementServlet
    weblogic.httpd.register.CLIENT/secure/managepreview=com.fl.control.handler.preview.ManagePreviewServlet
    weblogic.httpd.register.site/PrizeHome=com.fl.control.handler.site.rdctr.PrizeHomeServlet
    weblogic.httpd.register.site/orderconfirm=com.fl.control.handler.site.rdctr.OrderConfirmServlet
    weblogic.httpd.register.firstlook.cfm=com.fl.control.handler.affiliate.ColdFusionLinksServlet
    weblogic.httpd.register.AFFILIATE/secure=com.fl.control.handler.SecureAffiliateServlet
    weblogic.httpd.register.site/SearchResults=com.fl.control.handler.site.search.SearchResultsServlet
    weblogic.httpd.register.site/ReferFriend=com.fl.control.handler.site.community.ReferAFriendServlet
    weblogic.httpd.register.site/eCard=com.fl.control.handler.site.community.ECardServlet
    weblogic.httpd.register.AffiliateLanding=com.fl.control.handler.affiliate.AffiliateExtranetLanding
    weblogic.httpd.register.site/OrderConfirm=com.fl.control.handler.site.rdctr.OrderConfirmServlet
    weblogic.httpd.register.affiliate/secure/search=com.fl.control.handler.affiliate.maint.AffiliateSearchServlet
    weblogic.httpd.register.admin/secure/maintainpromotionsave=com.fl.control.handler.admin.marketing.MaintainPromotionSaveServlet
    weblogic.httpd.register.site/registercampaign=com.fl.control.handler.site.community.registercampaign
    weblogic.httpd.register.admin/secure=com.fl.control.handler.SecureAdminServlet
    weblogic.httpd.register.site/PARTNERS=com.fl.control.handler.site.redirector.partners
    weblogic.httpd.register.admin/memberparams=com.fl.control.handler.admin.sysparam.MaintainMemberParamServlet
    weblogic.httpd.register.site/partners=com.fl.control.handler.site.redirector.partners
    weblogic.httpd.register.site=com.fl.control.handler.SiteServlet
    weblogic.httpd.register.admin/memberprofile=com.fl.control.handler.admin.adminaccount.AdminMemberProfileServlet
    weblogic.httpd.register.site/member/wishlist=com.fl.control.handler.member.WishListServlet
    weblogic.httpd.register.admin/promopackage=com.fl.control.handler.admin.marketing.MaintainPromotionPackageServlet
    weblogic.httpd.register.admin/secure/MaintainSponsor=com.fl.control.handler.admin.sysparam.MaintainSponsorServlet
    weblogic.httpd.register.admin/secure/maintainfeaturedpreview=com.fl.control.handler.admin.preview.MaintainFeaturedPreview
    weblogic.httpd.register.Site/preview/chart=com.fl.control.handler.preview.ChartServlet
    weblogic.httpd.register.FirstLook.cfm=com.fl.control.handler.affiliate.ColdFusionLinksServlet
    weblogic.httpd.register.admin/Find=com.fl.control.handler.admin.adminaccount.AdminFindServlet
    weblogic.httpd.register.ADMIN/SECURE/DEACTADM=com.fl.control.handler.admin.adminaccount.AdminDeactivationServlet
    weblogic.httpd.register.admin/secure/MaintainPromotion=com.fl.control.handler.admin.marketing.MaintainPromotionServlet
    weblogic.httpd.register.Site/managepreview=com.fl.control.handler.preview.ManagePreviewServlet
    weblogic.httpd.register.site/preview=com.fl.control.handler.preview.PreviewServlet
    weblogic.httpd.register.admin/secure/maintainsurvey=com.fl.control.handler.admin.marketing.MaintainSurveyServlet
    weblogic.httpd.register.affiliate/secure/maintdealterms=com.fl.control.handler.affiliate.maint.DealTermsMaintainServlet
    weblogic.httpd.register.Affiliate/secure=com.fl.control.handler.SecureAffiliateServlet
    weblogic.httpd.register.client/secure=com.fl.control.handler.SecureClientServlet
    weblogic.httpd.register.preview/mediaUrl=com.fl.control.handler.preview.MediaURLServlet
    weblogic.httpd.register.Shared=com.fl.control.handler.SharedServlet
    weblogic.httpd.register.client/secure/managepreview=com.fl.control.handler.preview.ManagePreviewServlet
    weblogic.httpd.register.site/secure=com.fl.control.handler.SecureSiteServlet
    weblogic.httpd.register.default.cfm=com.fl.control.handler.affiliate.LinkShareServlet
    weblogic.httpd.register.Affiliate=com.fl.control.handler.AffiliateServlet
    weblogic.httpd.register.site/recommendation=com.fl.control.handler.member.RecommendationServlet
    weblogic.httpd.register.site/preview/chart=com.fl.control.handler.preview.ChartServlet
    weblogic.httpd.register.site/RegisterCampaign=com.fl.control.handler.site.community.RegisterCampaign
    weblogic.httpd.register.client/secure/acctregfm=com.fl.control.handler.client.regfmServlet
    weblogic.httpd.register.affiliate/Register=com.fl.control.handler.affiliate.reg.AffiliateAgreementServlet
    weblogic.httpd.register.site/addrating=com.fl.control.handler.site.rwds.AddRatingServlet
    weblogic.httpd.register.client/secure/Account=com.fl.control.handler.client.acctServlet
    weblogic.httpd.register.site/EnterCampaign=com.fl.control.handler.site.community.EnterCampagin
    weblogic.httpd.register.admin/secure/approvepreview=com.fl.control.handler.admin.preview.ApprovePreviewServlet
    weblogic.httpd.register.site/managepreview=com.fl.control.handler.preview.ManagePreviewServlet
    weblogic.httpd.register.site/member/login=com.fl.control.handler.member.LoginServlet
    weblogic.httpd.register.client/secure/Logout=com.fl.control.handler.client.logoutServlet
    weblogic.httpd.register.AFFILIATELANDING=com.fl.control.handler.affiliate.AffiliateExtranetLanding
    weblogic.httpd.register.affiliate/forgot=com.fl.control.handler.affiliate.ForgotPassServlet
    weblogic.httpd.register.affiliate/secure=com.fl.control.handler.SecureAffiliateServlet
    weblogic.httpd.register.affiliate/secure/MaintDealTerms=com.fl.control.handler.affiliate.maint.DealTermsMaintainServlet
    weblogic.httpd.register.admin/secure/MaintainPromotionSave=com.fl.control.handler.admin.marketing.MaintainPromotionSaveServlet
    weblogic.httpd.register.affiliate/Forgot=com.fl.control.handler.affiliate.ForgotPassServlet
    weblogic.httpd.register.affiliate/LogOut=com.fl.control.handler.affiliate.AffLogoutServlet
    weblogic.httpd.register.site/revprev=com.fl.control.handler.site.revprev.RevPrevServlet
    weblogic.httpd.register.CLIENT=com.fl.control.handler.ClientServlet
    weblogic.htt

  • Cannot deploy a shared library from jdeveloper to oracle webcenter spaces

    Hi guys,
    i used oracle jdeveloper 11.1.1.6  with extendwebcenterspaces workspace. I use WebcenterSpacesSharedLibExtension project.
    I have deployed with jdeveloper directly to webcenter by using a connection and deployed as shared library.
    Afther that i used DesignWebcenterSpaces and deployed with ant scripts: clean stage  and deploy as shared lib
    I get an error on deployment:
    Redeploying application webcenter ...
         [exec] <Sep 25, 2013 1:07:10 PM CEST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating redeploy operation for application, webcenter#11.1.1.4.0 [archive: null], to WC_Spaces .>
         [exec] ..Failed to redeploy the application with status failed
         [exec] Current Status of your Deployment:
         [exec] Deployment command type: redeploy
         [exec] Deployment State       : failed
         [exec] Deployment Message     : weblogic.application.ModuleException: Failed to load webapp: '/wcsdocs'
         [exec] No stack trace available.
         [exec] None
         [exec] #########################################################
         [exec] #####     ReDeploy Spaces Failed #########
         [exec] #####     Contact support with Exception Stack #########
         [exec] #########################################################
         [exec]
    Can someone help with some fix for that error?
    I want to override the login page from webcenter spaces using CustomLandingPage project
    Also, i have tried the deployment by using SampleWebcenterSpacesExtensions workspace with WebcenterSpacesSharedLibExtension project and deployed with ant scripts: clean stage  and deploy as shared lib.
    Afther that i used DesignWebcenterSpaces and deployed with ant scripts: clean stage  and deploy as shared lib
    There the deployment succeed but i get an error on browser
    The error is:
    OracleJSP error: oracle.jsp.parse.JavaCodeException: Line # 13, oracle.jsp.parse.JspParseTagScriptlet@1dbc116
    Error: Java code in jsp source files is not allowed in ojsp.next mode.
    Thank you very much for help.

    ####<Sep 27, 2013 9:44:07 AM CEST> <Error> <Deployer> <webcenter-vm> <WC_Spaces> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <11d1def534ea1be0:-3d303652:141559d6da7:-8000-000000000000112a> <1380267847678> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1380267843425' for task '20'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: '/wcsdocs''
    weblogic.application.ModuleException: Failed to load webapp: '/wcsdocs'
        at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:395)
        at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
        at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java: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.RedeployOperation.createAndPrepareContainer(RedeployOperation.java:104)
        at weblogic.deploy.internal.targetserver.operations.RedeployOperation.doPrepare(RedeployOperation.java:128)
        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: weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for "ServletContext@21596057[app:webcenter module:/wcsdocs path:/wcsdocs spec-version:2.5 version:11.1.1.4.0]", defined in weblogic.xml [Extension-Name: custom.webcenter.spaces, exact-match: false]
        at weblogic.servlet.internal.WebAppServletContext.processWebAppLibraries(WebAppServletContext.java:2750)
        at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:416)
        at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:494)
        at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:418)
        at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:976)
        at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:384)
        at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
        at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
        at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java: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.RedeployOperation.createAndPrepareContainer(RedeployOperation.java:104)
        at weblogic.deploy.internal.targetserver.operations.RedeployOperation.doPrepare(RedeployOperation.java:128)
        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)
    >

  • Use of deployment classpath or shared-libraries to pick-up "custom" classes

    Hi,
    I’m trying to determine an approach to dealing with how classes are found in a deployed ADF application via classpath, etc. I’ve tried to explain the situation below as best I can so it’s clear. If you have any comments/suggestions as to how this could be done, it would be much appreciated
    Current Application structure:
    Consists of an application initially deployed to OC4J 10.1.3.4 using an alesco-wss.ear file
    Application contains a single Web Module, initially deployed as wss.war file within the alesco-wss.ear file above.
    The Web Module (wss) was built in JDeveloper 10.1.3.4 using 2 projects, a Model and ViewController project, and uses ADFBC.
    The Model project seems to also generate an alesco-model.jar file in the /WEB-INF/lib/ folder, even though Model classes are in the /WEB-INF/classes/ folder below?
    Exploded structure of application on application server looks something like:
    applications/alesco-wss/META-INF/
    /application.xml <- specifies settings for the Application such as Web Module settings
    /wss/
    /app/ <- directory containing application .jspx pages protected by security
    /images/ <- directory containing application images
    /infrastructure/ <- directory containing .jspx files for login, logout and error reduced security
    /skins/ <- directory containing Skin image, CSS and other files
    /WEB-INF/
    /classes/ <- directory containing application runtime class files as per package sub-directories
    /lib/ <- JAR files used by application (could move some to shared-libaries?) – seems to contain alesco-model.jar
    /regions/ <- directory containing .jspx pages used for Regions within JSPX template page
    /templates/ <- directory containing template .jspx pages used for development (not really required for deployment)
    /adf-faces-config.xml
    /adf-faces-skins.xml
    /faces-config.xml
    /faces-config-backing.xml
    /faces-config-nav.xml
    /region-metadata.xml
    /web.xml
    testpage.jspx <- Publicly accessible page just to test
    The application runs successfully using the above deployment structure.
    We plan to use the exploded deployment structure so that updates to pages, etc. can be applied individually rather than requiring construction and re-deployment of complete .EAR or .JAR files.
    What I’m trying to determine/establish is whether there is a mechanism to cater for a customisation of a class, where such a class would be used instead of the original class, perhaps using a classpath mechanism or shared library?
    For example, say there is a class “talent2.alesco.model.libraries.ModelUtil.class”, this would in the above structure be found under:
    applications/alesco-wss/META-INF/classes/talent2/alesco/model/libraries/ModelUtil.class
    Classes using the above class would import “talent2.alesco.model.libraries.ModelUtil”, so they effectively use that full-reference to the class (talent2.alesco.model.libraries as a path, either expanded or within a JAR).
    From the Oracle Containers for J2EE Developer’s Guide 10.1.3 page 3-17, it lists the following:
    Table 3–1 Configuration Options Affecting Class Visibility
    Classloader Configuration Option
    Configured shared library <code-source> in server.xml
    <import-shared-library> in server.xml
    app-name.root <import-shared-library> in orion-application.xml
    <library> jars/directories in orion-application.xml
    <ejb> JARs in orion-application.xml
    RAR file: all JARs at the root.
    RAR file: <native-library> directory paths.
    Manifest Class-Path of above JARs
    app-name.web.web-mod-name WAR file: Manifest Class-Path
    WAR file: WEB-INF/classes
    WAR file: WEB-INF/lib/ all JARs
    <classpath> jars/directories in orion-web.xml
    Manifest Class-Path of above jars.
    search-local-classes-first attribute in orion-web.xml
    Shared libraries are inherited from the app root.
    We have reasons why we prefer not to use .JAR files for these “non-standard” or “replaced” classes, so prefer an option that doesn’t involve creating a .JAR file.
    Our ideal solution would be to have such classes placed in an alternate directory that is referred to in a classpath such that IF a class exists in that location, it will be used instead of the one in the WEB-INF/classes/ directories, and if not such class is found it would then locate it in the WEB-INF/classes/ directories.
    - Can a classpath be set to look for such classes in a directory?
    - Do the classes have to replicate the original package directory structure within that directory (<dir>/talent2/alesco/model/libraries)?
    - If the class were put in such a directory, without replicating the original package directory structure, I assume the referencing “import” statements would not locate it correctly.
    - Is the classpath mechanism “clever” enough to search the package directory structure to locate the class (i.e. just points to <dir>)?
    - Or would the classpath mechanism require each individual path replicating the package structure to be added (i.e. <dir>/talent2/alesco/model/libraries/ and any other such package path)?
    If we are “forced” to resort to the use of JAR files, does a JAR file used for the purpose of overwrite/extending a sub-set of classes in the original location need to contain ALL related package classes? Or does it effectively “superset” classes it finds in all JAR files, etc. in the whole classpath? That is, it finds talent2.alesco.model.libraries.ModelUtil in the custom.jar file and happily goes on to get the remainder of talent2.alesco.model.libraries classes in the other core JAR/location. Or does it need all of them to be in the first JAR file for that package?
    Any help would be appreciated to understand how these various class visibility mechanisms could be used to achieve what is required would be appreciated.
    Gene

    So, nobody's had any experience with deploying an ADF application, and providing a means for a client to place custom classes in such a way as they're used in preference to the standard application class, effectively to implement a customised class without overwriting the original "standard" class?
    Gene

Maybe you are looking for

  • Error in Essbase 11.1.1.3 Installation.

    Hi Gurus, I have sucessfully installed the Essbase 11.1.1.3 & when i am trying to do the shared services configuration i am getting an error like " Login failed for user dbadmin. User is not associated with a trusted sql server connection". I have in

  • PRI + PVDM modems - set IP destination based on DNIS

    I have the following setup: 2811 router PVDM2-12DM modem module on motherboard NM-1CE1T1-PRI PRI card The PRI has a range of numbers assigned to it, but I need to be able to direct dial-in traffic to specific backend IP addresses, based on the number

  • KM Custom report

    Hi all! I'm developing a KM custom report about document usage, and have one question: Is it possible create a command which represents a KM explorer??. I want get in this command a KM path to create an Excel file with the report's result (the creati

  • Venezuela new currency VEF support in JDK 1.4.2

    Hi, Is there any plan to support new Venezuela's new currency code (VEF) in JDK 1.4.2 which is getting in effect from 1 Jan, 2008 ? Currently, jdk 1.4.2, 1.5 & 1.6 update 3 shows VEB even for future date. Following code returns VEB (old currency code

  • Flash builder 4  compatible   myeclipse and  spring

    Hi , i  did a project  using  flex 3 , spring 2.5 and  myeclipse 6.6  ,  i want to migrate it  to new  flash builder 4 . can some one  explain  what are "compatible  versions of  myeclipse  and  spring " for flash builder  4