Problem creating deployment weblogic 5.1

I have weblogic 5.1 running on Win2K. I can start it up without
problems when the deployment part is commented out.
The jdbc connection seems to be working with a Oracle 8.1.7
running on the same Win2K box.
When I try to deploy some EJBs I get this error on startup:
<error>
Thu Nov 07 12:59:31 CST 2002:<E> <EJB> Could not deploy:
'C:\apps\web\weblogic\mycluster\lib\ErfpLibrary.jar': file is not a
valid jar file, or does not contain a valid bean
</error>
here's the full error output:
Any ideas on what's missing here?
<full_output>
Thu Nov 07 12:59:31 CST 2002:<E> <EJB> Could not deploy:
'C:\apps\web\weblogic\m
ycluster\lib\ErfpLibrary.jar': file is not a valid jar file, or does
not
contain a valid bean
weblogic.ejb.common.DeploymentException: DeploymentException opening
JAR file C:
\apps\web\weblogic\mycluster\lib\ErfpLibrary.jar; nested exception is:
weblogic.ejb.deployment.JarLoadException - with nested
exception:
[weblogic.ejb.common.DeploymentException: Problem creating deployment
C:\apps\we
b\weblogic\mycluster\lib\ErfpLibrary.jar from
C:\apps\web\weblogic\mycluster\lib
\ErfpLibrary.jar; nested exception is:
        java.lang.NoClassDefFoundError:
com/ebreviate/erfp/utils/ClusterInterfac
e]
weblogic.ejb.common.DeploymentException: Problem creating deployment
C:\apps\web
\weblogic\mycluster\lib\ErfpLibrary.jar from
C:\apps\web\weblogic\mycluster\lib\
ErfpLibrary.jar; nested exception is:
java.lang.NoClassDefFoundError:
com/ebreviate/erfp/utils/ClusterInterfac
e
java.lang.NoClassDefFoundError:
com/ebreviate/erfp/utils/ClusterInterface
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
at java.lang.ClassLoader.defineClass(ClassLoader.java:423)
at weblogic.boot.ServerSecureClassLoader.secureDefineClass(ServerSecureC
lassLoader.java:143)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
ClassLoader.java:495)
at weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
cClassLoader.java:339)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
Loader.java:183)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
Loader.java:157)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
at java.lang.ClassLoader.defineClass(ClassLoader.java:423)
at weblogic.boot.ServerSecureClassLoader.secureDefineClass(ServerSecureC
lassLoader.java:143)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
ClassLoader.java:495)
at weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
cClassLoader.java:339)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
Loader.java:183)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
Loader.java:157)
at weblogic.ejb.deployment.dd.DeploymentUnit.loadClass(DeploymentUnit.ja
va:101)
at weblogic.ejb.deployment.dd.DeploymentUnit.initializeMethodInfos(Deplo
ymentUnit.java:424)
at weblogic.ejb.internal.EJBJarLoader.initializeMethodInfos(EJBJarLoader
.java:129)
at weblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java
:392)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:21
1)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:18
2)
at weblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:16
4)
at weblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java
:172)
at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:1
22)
at weblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:1
12)
at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:311)
at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java:
653)
at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:247)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1386)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:879)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:140)
at weblogic.Server.main(Server.java:97)
at weblogic.Server.main(Server.java:58)
--------------- nested within: ------------------
weblogic.ejb.deployment.JarLoadException - with nested exception:
[weblogic.ejb.common.DeploymentException: Problem creating deployment
C:\apps\we
b\weblogic\mycluster\lib\ErfpLibrary.jar from
C:\apps\web\weblogic\mycluster\lib
\ErfpLibrary.jar; nested exception is:
        java.lang.NoClassDefFoundError:
com/ebreviate/erfp/utils/ClusterInterfac
e]
at weblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:319)
at weblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java:
653)
at weblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:247)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1386)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:879)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:140)
at weblogic.Server.main(Server.java:97)
at weblogic.Server.main(Server.java:58)
Thu Nov 07 12:59:32 CST 2002:<I> <EJB> 0 EJB jar files loaded,
containing 0 EJBs
</full_output>

Generally we get this error when we did not packaged properly, like if use
tool win zip for packaging the bean.
1. when you are building EJB jar, please make sure that you have created a
directory "META-INF" with upper case letters
2. Make sure that you have deployment descriptors in 'META-INF".
3. Use Command line console, java command to package the bean like
"jar -cv0f".
ignore this mail, if you already done this way.
Can you try packaging your
"Sharkie" <[email protected]> wrote in message
news:[email protected]...
I have weblogic 5.1 running on Win2K. I can start it up without
problems when the deployment part is commented out.
The jdbc connection seems to be working with a Oracle 8.1.7
running on the same Win2K box.
When I try to deploy some EJBs I get this error on startup:
<error>
Thu Nov 07 12:59:31 CST 2002:<E> <EJB> Could not deploy:
'C:\apps\web\weblogic\mycluster\lib\ErfpLibrary.jar': file is not a
valid jar file, or does not contain a valid bean
</error>
here's the full error output:
Any ideas on what's missing here?
<full_output>
Thu Nov 07 12:59:31 CST 2002:<E> <EJB> Could not deploy:
'C:\apps\web\weblogic\m
ycluster\lib\ErfpLibrary.jar': file is not a valid jar file, or does
not
contain a valid bean
weblogic.ejb.common.DeploymentException: DeploymentException opening
JAR file C:
\apps\web\weblogic\mycluster\lib\ErfpLibrary.jar; nested exception is:
weblogic.ejb.deployment.JarLoadException - with nested
exception:
[weblogic.ejb.common.DeploymentException: Problem creating deployment
C:\apps\we
b\weblogic\mycluster\lib\ErfpLibrary.jar from
C:\apps\web\weblogic\mycluster\lib
\ErfpLibrary.jar; nested exception is:
java.lang.NoClassDefFoundError:
com/ebreviate/erfp/utils/ClusterInterfac
e]
weblogic.ejb.common.DeploymentException: Problem creating deployment
C:\apps\web
\weblogic\mycluster\lib\ErfpLibrary.jar from
C:\apps\web\weblogic\mycluster\lib\
ErfpLibrary.jar; nested exception is:
java.lang.NoClassDefFoundError:
com/ebreviate/erfp/utils/ClusterInterfac
e
java.lang.NoClassDefFoundError:
com/ebreviate/erfp/utils/ClusterInterface
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
at java.lang.ClassLoader.defineClass(ClassLoader.java:423)
atweblogic.boot.ServerSecureClassLoader.secureDefineClass(ServerSecureC
lassLoader.java:143)
atweblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
ClassLoader.java:495)
atweblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
cClassLoader.java:339)
atweblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
Loader.java:183)
atweblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
Loader.java:157)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
at java.lang.ClassLoader.defineClass(ClassLoader.java:423)
atweblogic.boot.ServerSecureClassLoader.secureDefineClass(ServerSecureC
lassLoader.java:143)
atweblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
ClassLoader.java:495)
atweblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(Generi
cClassLoader.java:339)
atweblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
Loader.java:183)
atweblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
Loader.java:157)
atweblogic.ejb.deployment.dd.DeploymentUnit.loadClass(DeploymentUnit.ja
va:101)
atweblogic.ejb.deployment.dd.DeploymentUnit.initializeMethodInfos(Deplo
ymentUnit.java:424)
atweblogic.ejb.internal.EJBJarLoader.initializeMethodInfos(EJBJarLoader
.java:129)
atweblogic.ejb.internal.EJBJarDeployment.setupJar(EJBJarDeployment.java
:392)
atweblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:21
1)
atweblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:18
2)
atweblogic.ejb.internal.EJBJarDeployment.setup(EJBJarDeployment.java:16
4)
atweblogic.ejb.internal.EJBDeploymentImpl.<init>(EJBDeploymentImpl.java
:172)
atweblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:1
22)
atweblogic.ejb.internal.EJBJarDeployment.<init>(EJBJarDeployment.java:1
12)
atweblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:311)
atweblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java:
653)
atweblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:247)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1386)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:879)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:140)
at weblogic.Server.main(Server.java:97)
at weblogic.Server.main(Server.java:58)
--------------- nested within: ------------------
weblogic.ejb.deployment.JarLoadException - with nested exception:
[weblogic.ejb.common.DeploymentException: Problem creating deployment
C:\apps\we
b\weblogic\mycluster\lib\ErfpLibrary.jar from
C:\apps\web\weblogic\mycluster\lib
\ErfpLibrary.jar; nested exception is:
java.lang.NoClassDefFoundError:
com/ebreviate/erfp/utils/ClusterInterfac
e]
atweblogic.ejb.internal.EJBManagerImpl.deploy(EJBManagerImpl.java:319)
atweblogic.ejb.internal.EJBManagerImpl.deployBeans(EJBManagerImpl.java:
653)
atweblogic.ejb.internal.EJBManagerImpl.<init>(EJBManagerImpl.java:247)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1386)
at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:879)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.Server.startServerDynamically(Server.java:140)
at weblogic.Server.main(Server.java:97)
at weblogic.Server.main(Server.java:58)
Thu Nov 07 12:59:32 CST 2002:<I> <EJB> 0 EJB jar files loaded,
containing 0 EJBs
</full_output>

Similar Messages

  • Problems creating deployment profile

    When I attempt to create a new deployment profile in JDev 3.1 (Oracle 8.1.6) on step 2 where I should be adding in my files to deploy ( I assume they are the .java files ) there are NO files to deploy in the list?????????
    What could possibly be wrong?
    TIA
    Owen

    FIXED
    Had my project (jpr) file opened in my opened list tab but not added into my workspace tab????
    Owen

  • Problem in deploying war file in weblogic application server 10

    Hi
              Thank you for reading my post.
              We are trying to deploy our application into weblogic but problem is that weblogic return an error like following one when we try to deploy the application.
              I should tell you that the following log was shown in a not well formatted way and i format it manually.
                        [HTTP:101216]Servlet: "com.wira.webservices.int.Wsti" failed to preload on startup in Web application: "wira.war". class:
              com.wira.webservices.int.jaxws.RequestResponse could not be found at
              com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272) at
              com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566) at
              com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513) at
              com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358) at
              com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245) at
              com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:229) at
              com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:161) at
              com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:291) at
              com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:315) at
              weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:125) at
              weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64) at
              javax.servlet.GenericServlet.init(GenericServlet.java:241) at
              weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282) at
              weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at
              weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source) at
              weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63) at
              weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at
              weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48) at
              weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504) at
              weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1830) at
              weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1807) at
              weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1727) at
              weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2890) at
              weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:948) at
               weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353) at
              weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at
              weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at
              weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at
              weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at
              weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117) at
              weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at
              weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
                        I should say you that we do not have a package and class like: com.wira.webservices.bpel.jaxws.RequestResponse and it looks like WLS is mistaken about this.
              Indeed this application works fine on Sun java application server 9 (java ee 5 certified). Can you please tell me why does it happens?
              here is source code of Wsti class
                        @WebService()
              public class Wsti {
                  @WebMethod(operationName="requestResponse")
                  public String requestResponse(@WebParam(name="request") String request) {
                      return ReflectionManager.call(WstiImp.class, request);
                                            for reflection we used standard JDK reflection stuff.
              and that call method call a method identified in request from WstiImp class.
              Thanks

    Following are the steps involved in deploying a WAR file in Oc4j.
    1. Copy the file to D:\oc4j\j2ee\home\applications where d:\oc4j is the location OC4J is installed in.
    copy mywar.war D:\oc4j\j2ee\home\applications
    2. Open the application.xml file in D:\oc4j\j2ee\home\config directory
    and add the following after the <web-module id="defaultWebApp" path="../default-web-app" />
    line:
    <web-module id="mywar" path="../applications/mywar.war" />
    3. Open the default-web-site.xml file in D:\oc4j\j2ee\home\config
    directory and add the following after the <default-web-app application="default" name="defaultWebApp" /> line:
    <web-app application="default" name="mywar" root="/mywar" />
    Hope this helps
    -Debu Panda
    Oracle

  • 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

  • Problems to Deploy the EM at Weblogic 10.3.5

    Hi friends!!
    I am with problems to deploy the EM!!!
    The massage is:
    Status:     
    start Failed
    Descrição:     
    [Deployer:149026]start application em on AdminServer.
    Horário de Início:     
    06/03/12 16h41min05s BRT
    Horário de Término:     
    06/03/12 16h41min30s BRT
    Exceção:     
    [HTTP:101216]Servlet: "oraclejsp" failed to preload on startup in Web application: "/em". javax.servlet.ServletException: [HTTP:101249][ServletContext@48525108[app:em module:/em path:/em spec-version:2.5]]: Servlet class oracle.jsp.runtimev2.JspServlet for servlet oraclejsp could not be loaded because the requested class was not found in the classpath . java.lang.ClassNotFoundException: oracle.jsp.runtimev2.JspServlet. at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:551) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985) at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:485) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:427) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:637) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205) at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116) at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:140) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    I need of help!!!
    thank you!

    HI Could you please help me with steps on how to deploy EM at Weblogic?

  • Connection error in J dev 11g when deploying weblogic.

    We developer an ADF JSF 11g application. Deploy weblogic is OK
    for application module We use JDBC URL type connection.
    Our DB name is TESTDB. And url is jdbc:oracle:thin:@10.0.X.XXX:1521:TESTDB.
    We have configured web logic with the same connection information.
    conn is OK. Conn name is TESTDB. jndi name is TESTDB also.
    But when we run applicaion following error occurs.
    Messages for this page are listed below.
    Connection name vnot defined
    Unexpected exception caught: java.lang.NullPointerException, msg=null
    Unexpected exception caught: java.lang.NullPointerException, msg=null
    There seem a confilict with connection name ?
    How can we solve this problem.
    Thanks.

    yes we set the connection to JDBC data source in our application
    and then we have created jdbc data source in web logic server and we have written same jdbc data source name to jndi name
    but we get error "JNDI failure. Unable to lookup Data Source at context java:comp/env/jdbc/testdbDS"

  • Get server instance name without deploying weblogic.jar to client

    I use wlclient.jar with my client. Using weblogic.jar instead causes the
    size of the deployment package of my client to go from 4 meg to 34 meg
    (roughly). I don't want full MBean functionality, all I want to do is find
    out what the server instance name is. Surely there's a way to do this.

    Hi,
    Weblogic provides you a way to create client jar files so that the complete weblogic.jar
    doesn't need to be downloaded to the client. The tool is called verboseToZip.
    See
    http://e-docs.bea.com/wls/docs70/adminguide/utils.html#1117405
    hope this helps, pat
    "BEA" <[email protected]> wrote:
    I am trying to deploy my client application on a standalone windows machine
    and do not wish to deploy weblogic.jar with the client deployment. Is
    there
    any way of allowing my clients to use Weblogic JNDI without having to
    deploy
    weblogic.jndi.WLInitialContextFactory.class (and its associated classes.
    I find it hard to believe that everyone who is developing on weblogic
    distributes this JAR file to their customers with their client
    applications....?
    Can you use something other than weblogic.jndi.WLInitialContextFactory
    such
    as the sun jndi provider instead....?
    If anyone can shed some light on this deployment problem it would be
    much
    appreciated.....even if its simply 'thats just the way you have to do
    it
    !......will save me time trying to get other solutions to work...!
    TIA

  • Jar not loaded Error when deploying weblogic.jar in tomcat

    Hi experts,
    This time i have one more problem,
    i have deployed my application in tomcat such that when tomcat starts my java program also gets started, for my java program i had to use a weblogic library which is in "web-inf / lib / weblogic.jar" . but when i start tomcat i get error like
    INFO: validateJarFile (C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\MyApp\WEB-INF\lib\weblogic.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    Dec 4, 2006 8:27:18 PM org.apache.catalina.core.StandardPipeline registerValve
    INFO: Can't register valve org.apache.catalina.core.StandardContextValve@1362012
    org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@1bc82e7 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@1bc82e7
    for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category))
            at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
    what could be the problem in loading weblogic.jar
    my platform configuations are
    TOMCAT 5.5
    OS - windows 2000                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

              have u done the servlet naminga and mapping in the web.xml file??
              Kumar Allamraju <[email protected]> wrote:
              ><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
              ><html>
              >Have you registered the servlet in web.xml?
              ><p>--
              ><br>Kumar
              ><p>Deepak Balakrishna wrote:
              ><blockquote TYPE=CITE>Hi.
              ><p>I am having trouble deploying a servlet to WLS 6.1
              ><p>a) The name of the servlet is HaServlet and it's duly noted in web.xml
              ><br>b) I created a directory
              ><br>config/examples/applications/cluster-servlet/WEB-INF
              ><br>c) Added web.xml under WEB-INF/. web.xml was created using the weblogic
              ><br>DDInit CLI
              ><br>d) Added the servlet classfile (HaServlet.class) under
              ><br>WEB-INF/classes/samples/cluster/servlet/.
              ><br>e) Tried to access it by http://host:port/cluster-servlet/HaServlet
              ><p>I get
              ><br>Error 404--Not Found
              ><p>What am I missing? I also tried restarting the app server to no avail.
              ><p>Thx,
              ><br>- deepak</blockquote>
              ></html>
              >
              

  • Deploying client apps without deploying Weblogic.jar ?

    I am trying to deploy my client application on a standalone windows machine
    and do not wish to deploy weblogic.jar with the client deployment. Is there
    any way of allowing my clients to use Weblogic JNDI without having to deploy
    weblogic.jndi.WLInitialContextFactory.class (and its associated classes.
    I find it hard to believe that everyone who is developing on weblogic
    distributes this JAR file to their customers with their client
    applications....?
    Can you use something other than weblogic.jndi.WLInitialContextFactory such
    as the sun jndi provider instead....?
    If anyone can shed some light on this deployment problem it would be much
    appreciated.....even if its simply 'thats just the way you have to do it
    !......will save me time trying to get other solutions to work...!
    TIA

    Hi,
    Weblogic provides you a way to create client jar files so that the complete weblogic.jar
    doesn't need to be downloaded to the client. The tool is called verboseToZip.
    See
    http://e-docs.bea.com/wls/docs70/adminguide/utils.html#1117405
    hope this helps, pat
    "BEA" <[email protected]> wrote:
    I am trying to deploy my client application on a standalone windows machine
    and do not wish to deploy weblogic.jar with the client deployment. Is
    there
    any way of allowing my clients to use Weblogic JNDI without having to
    deploy
    weblogic.jndi.WLInitialContextFactory.class (and its associated classes.
    I find it hard to believe that everyone who is developing on weblogic
    distributes this JAR file to their customers with their client
    applications....?
    Can you use something other than weblogic.jndi.WLInitialContextFactory
    such
    as the sun jndi provider instead....?
    If anyone can shed some light on this deployment problem it would be
    much
    appreciated.....even if its simply 'thats just the way you have to do
    it
    !......will save me time trying to get other solutions to work...!
    TIA

  • Multiple processes getting created for weblogic instance.

    multiple process creating for weblogic instance. which lead to slow performance.
    /home/dz84tl> ptree 24524
    1464 zsched
    24524 /usr/bin/ksh /usr/local/bea/wls92/domains/gqts/bin/startWebLogic_gqts001 nodebu
    24547 /usr/local/bea/wls92/jdk150_22/bin/java -server -Xms1024m -Xmx1024m -XX:NewRati
    3401 /usr/local/bea/wls92/jdk150_22/bin/java -server -Xms1024m -Xmx1024m -XX:NewRati
    It is supposed to be only one child process but there are multiple.

    Hi,
    Nodemanager is not used to start the managed server.
    below is the snnipet:-
    Bgqts 26106 1464 0 May 11 ? 0:00 /usr/bin/ksh/usr/local/bea/wls92/domains/gqts/bin/startWeblogicgqts001_ nodebu
    Bgqts 22800 22799 0 08:51:35 ? 0:01 grep Bgqts
    Bgqts 26125 26106 1 May 11 ? 1004:14 /usr/local/bea/wls92/jdk105_22/bin/java -server -Xms1024m -Xmx1024m -XX:NewRati
    Bgqts 13775 26125 0 06:17:03 ? 0:0 /usr/local/bea/wls92/jdk105_22/bin/java -server -Xms1024m -Xmx1024m -XX:NewRati
    Bgqts 26646 1464 0 May 11 ? 0:00 /usr/bin/ksh/usr/local/bea/wls92/domains/gqt/sbin/startWeblogic.sh
    Bgqts 26678 26646 0 May 11 ? 9:05 /usr/local/bea/wls92/jdk105_22/bin/java -server -Xms512m -Xmx512m -XX:MaxPermSii
    Bgqts 24187 26125 0 11:20:32 ? 0:00 /usr/local/bea/wls92/jdk105_22/bin/java -server -Xms1024m -Xmx1024m -XX:NewRatii
    Bgqts 14710 26125 0 8:13:19 ? 0:00 /usr/local/bea/wls92/jdk105_22/bin/java -server -Xms1024m -Xmx1024m -XX:NewRati
    As I understood there is some time gap between this process creation.also we can see here even after using startWeblogic.sh instances are getting created.
    There are other two domains but in those domains this problem is not seen. only gqts domain has this issue.also in other two domains the same script is used.
    Really not getting what can be the reason behind this process creation.
    Does it mean startWeblogic.sh is creating processes?
    or the application which are deployed on managed servers are responsible for it?
    Thanks in Advance.

  • Create deployment profile

    Hi all,
    I am following the instructions of the developer guide (paragraph 32.3), but when I follow the wizard to create deployment profile, in the column of items, the "War File" is not enable, I can only choose EAR file and MAR file.
    Why?
    Is this a problem?
    Thanks

    Thanks Shay and Branislav.
    Excuse me, I am using Jdev 11.1.1.0 and I am reading the Chapter 35 Deploying Fusion Web Application.
    I have solved with the Branislav's suggestion, but, after creating deployment descriptors, now I can not deploy the application. When I try to deploy I have this error:
    [10:48:29 AM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'webapp1myProfile.war'
    [10:48:29 AM] Caused by: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter
    [10:48:29 AM] See server logs or server console for more details.
    Have I to create a new post?
    Edited by: user10799119 on 3-ago-2009 2.17
    Edited by: user10799119 on 3-ago-2009 2.24

  • Problem while deploying ADF application to standalone WLS server

    Hi,
    I am facing a problem while deploying ADF application to standalone WLS Server.
    Following is the error message that I am getting.
    [07:24:03 PM] ----  Deployment started.  ----
    [07:24:03 PM] Target platform is  (Weblogic 10.3).
    [07:24:07 PM] Retrieving existing application information
    [07:24:08 PM] Running dependency analysis...
    [07:24:08 PM] Building...
    [07:24:13 PM] Deploying 2 profiles...
    [07:24:14 PM] Wrote Web Application Module to D:\WorkSpace3\DashboardUi\deploy\Dashboard.war
    [07:24:14 PM] Wrote Enterprise Application Module to D:\WorkSpace3\deploy\Dashboard.ear
    [07:24:14 PM] Deploying Application...
    [07:24:22 PM] [Deployer:149191]Operation 'deploy' on application 'Dashboard' is initializing on 'msDevServer1'
    [07:24:27 PM] [Deployer:149193]Operation 'deploy' on application 'Dashboard' has failed on 'msDevServer1'
    [07:24:27 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application Dashboard on msDevServer1.: .
    [07:24:27 PM] Weblogic Server Exception: weblogic.application.ModuleException:
    [07:24:27 PM] Caused by: weblogic.common.ResourceException: DataSource DashboardDb already exists
    [07:24:27 PM]   See server logs or server console for more details.
    [07:24:27 PM] weblogic.application.ModuleException:
    [07:24:27 PM] ####  Deployment incomplete.  ####
    [07:24:27 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)Any suggestion how to fix this.
    Thanks
    Ajay

    I logged into console and browsed to 'Home >Summary of JDBC Data Sources' but not able to locate DashboardDb. Please let me know where to find DashboardDB on wls console.
    Also, please let me know how to configure the app to not to auto-deploy JDBC data sources

  • Hi! I am new to Jdeveloper.Having problem while deploying on embeded OC4J

    hi everybody
    I am new to JDeveloper.I am using OracleJDeveloper 10.2.3 version.I am facing problem while deploying any application on embeded OC4J server.I have tried a lot after searching solution on this site,but all of no use.Actually i am not able to established connection with OC4J.Whenever i am testing the connection it`s giving message Connection Failed message.Please provide me the exact solution.I am in need of this so reply as soon as possible.
    Thanks In Advance
    Rohit Tiwary

    Hi Rohit,
    You dont have to create a connection to deploy in embedded oc4j. You can simply right click on the jsf page and run.
    HTH.
    Regards,
    Arun

  • Problem in deploying war file

    Hi,
    I have a problem in deploying a war file in Weblogic 7. I have deployed successfully
    a jar file containing an ejb. I would like to deploy a war file which web.xml
    has an <ejb-ref> element referencing a session bean contained in the jar previously
    deployed.
    I have the following error:
    Module Name: PSSC-web, Error: weblogic.j2ee.DeploymentException: Could not setup
    environment - with nested exception:
    [weblogic.deployment.EnvironmentException: ejb-ref ejb/PSSCLdapUserEJB requires
    an ejb-link or jndi-name]
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1093)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1074)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1110)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:730)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    >
    My configuration files are:
    weblogic-ejb-jar.xml
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>ejb/PSSCLdapUserEJB</ejb-name>
    <jndi-name>PSSCLdapUserEJB</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    ejb-jar.xml
    <ejb-jar>
    <display-name>Ldap User</display-name>
    <enterprise-beans>
    <session>
    <ejb-name>ejb/PSSCLdapUserEJB</ejb-name>
    <home>pssc.utils.ejb.PSSCLdapUserEJHome</home>
    <remote>pssc.utils.ejb.PSSCLdapUserEJ</remote>
    <ejb-class>pssc.utils.ejb.PSSCLdapUserEJBean</ejb-class>
    <session-type>Stateful</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>ejb/PSSCLdapUserEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    <ejb-client-jar>LDAPUSER</ejb-client-jar>
    </ejb-jar>
    web.xml
    <web-app>
    <ejb-ref>
    <ejb-ref-name>ejb/PSSCLdapUserEJB</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>pssc.utils.ejb.PSSCLdapUserEJHome</home>
    <remote>pssc.utils.ejb.PSSCLdapUserEJ</remote>
    </ejb-ref>
    </web-app>
    weblogic.xml
    <weblogic-web-app>
         <ejb-reference-description>
         <ejb-ref-name>
         ejb/PSSCLdapUserEJB
         </ejb-ref-name>
         <jndi-name>
         PSSCLdapUserEJB
         </jndi-name>
         </ejb-reference-description>
    </weblogic-web-app>
    Configuration files seems correct to me, but the deployment of the war is not
    working..
    Does someone have an idea of what is the problem?
    Thanks in advance,
    Giuseppe

    Hi,
    I have a problem in deploying a war file in Weblogic 7. I have deployed successfully
    a jar file containing an ejb. I would like to deploy a war file which web.xml
    has an <ejb-ref> element referencing a session bean contained in the jar previously
    deployed.
    I have the following error:
    Module Name: PSSC-web, Error: weblogic.j2ee.DeploymentException: Could not setup
    environment - with nested exception:
    [weblogic.deployment.EnvironmentException: ejb-ref ejb/PSSCLdapUserEJB requires
    an ejb-link or jndi-name]
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1093)
    at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:1074)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:1110)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:730)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    >
    My configuration files are:
    weblogic-ejb-jar.xml
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>ejb/PSSCLdapUserEJB</ejb-name>
    <jndi-name>PSSCLdapUserEJB</jndi-name>
    </weblogic-enterprise-bean>
    </weblogic-ejb-jar>
    ejb-jar.xml
    <ejb-jar>
    <display-name>Ldap User</display-name>
    <enterprise-beans>
    <session>
    <ejb-name>ejb/PSSCLdapUserEJB</ejb-name>
    <home>pssc.utils.ejb.PSSCLdapUserEJHome</home>
    <remote>pssc.utils.ejb.PSSCLdapUserEJ</remote>
    <ejb-class>pssc.utils.ejb.PSSCLdapUserEJBean</ejb-class>
    <session-type>Stateful</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>ejb/PSSCLdapUserEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    <ejb-client-jar>LDAPUSER</ejb-client-jar>
    </ejb-jar>
    web.xml
    <web-app>
    <ejb-ref>
    <ejb-ref-name>ejb/PSSCLdapUserEJB</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>pssc.utils.ejb.PSSCLdapUserEJHome</home>
    <remote>pssc.utils.ejb.PSSCLdapUserEJ</remote>
    </ejb-ref>
    </web-app>
    weblogic.xml
    <weblogic-web-app>
         <ejb-reference-description>
         <ejb-ref-name>
         ejb/PSSCLdapUserEJB
         </ejb-ref-name>
         <jndi-name>
         PSSCLdapUserEJB
         </jndi-name>
         </ejb-reference-description>
    </weblogic-web-app>
    Configuration files seems correct to me, but the deployment of the war is not
    working..
    Does someone have an idea of what is the problem?
    Thanks in advance,
    Giuseppe

  • Problems with deployment in 6.1 on  tru64

              Hi,
              We are having problems with deployment of web applications in 6.1. We are running
              cluster ( 2 managed servers ) .The problem is that every time we restart the admin
              and managed servers, none of our application gets loaded and deployed. In the
              console, application looks ok i.e. targtes are listed and application is deployed
              but actually the application is not loaded and does not work. If I go and deploy/redploy
              the app , it works fine but again after every restart of the servers, application
              does not get loaded.
              Any idea. Your help is greatly appreciated.
              Thanks,
              Manoj
              

              Kumar,
              I do not see applicaitons being loaded and deployed at the time of server startup.
              In config.xml everything looks ok.
              Manoj
              Kumar Allamraju <[email protected]> wrote:
              ><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
              ><html>
              >Whenever an application is deployed you should see the
              ><br>following message in the server console or in the weblogic.log
              ><p><Mar 19, 2002 11:49:52 AM PST> <Info> <J2EE> <Deployed
              >:
              >certificate>
              ><p>Do you see such  messages or not?
              ><p>Manoj wrote:
              ><blockquote TYPE=CITE>Hi,
              ><br>We are having problems with deployment of web applications in 6.1.
              >We are running
              ><br>cluster ( 2 managed servers ) .The problem is that every time we
              >restart
              >the admin
              ><br>and managed servers, none of our application gets loaded and deployed.
              >In the
              ><br>console, application looks ok i.e. targtes are listed and application
              >is deployed
              ><br>but actually the application is not loaded and does not work. If
              >I
              >go and deploy/redploy
              ><br>the app , it works fine but again after every restart of the servers,
              >application
              ><br>does not get loaded.
              ><br>Any idea. Your help is greatly appreciated.
              ><br>Thanks,
              ><br>Manoj</blockquote>
              ></html>
              >
              

Maybe you are looking for

  • How to restrict authorization for MMBE

    Hi, I need to restrict the authorization for t-code MMBE according to plant wise. Can anybody tell me about the procedure and authorization object used. Regards

  • DBD::Oracle works via perl CLI but not thru Apache

    Hi - I'm beating my head against a wall. We're trying to transition from our old Solaris machines to newer, virtual Linux machines. We're running CentOS, x86-64. Oracle Instant Client v11.2 Perl: ActivePerl 5.14.2 built for x86_64-linux-thread-multi

  • Safari can't log in; Firefox can; Whattup widdat?

    To log into the wifi network at a local cafe, one gets an ID and password that's generated when you buy something. Theoretically, you choose the cafe's network, open your browser, and the log-in page comes up. You plug in the ID & password and off yo

  • How to enable https in Oracle BPEL Process Manager 10.1.2

    Hi, I have a few security related questions surrounding BPEL process manager. 1. Does the BPEL engine have the capability to invoke a web service using https (HTTP over SSL)? Does it automatically do that if partner link URI starts with https:// ? 2.

  • Css properties panel won't allow changes

    Every time I try to make a change within the CSS Properties Panel, everything disappears and will not work. I have brought this to my teachers attention, and he says I have done everything correctly, so I am completely unaware of what the issue is. O