BEA WLS 6.1 SP2: Deploy problems (JDBCConnectionPool/JDBCTxDataSource)

Hello anybody,
learnt XA being necessary if more than one sql command in transaction, so I changed
my entries to the following:
<JDBCConnectionPool
DriverName="oracle.jdbc.xa.client.OracleXADataSource"
Name="OracleDB"
Password="{3DES}iKOCmvzSc6g="
Properties="user=osv"
Targets="osvServer"
TestConnectionsOnReserve="false"
URL="jdbc:oracle:thin:@pegnitz:1526:ora1"/>
<JDBCTxDataSource
JNDIName="JNDINameOracleOSV-DB"
Name="OracleDataSource"
PoolName="OracleDB"
Targets="osvServer"/>
We set up on a database ORACLE 8.3.2.
Now, with the non-XA-driver there was no deployment problem, but now I receive the
following error message on the server output:
Unable to deploy EJB: CourseDateEJB from osv.jar:
The Container-Managed Persistence Entity EJB failed while creating its SQL Type Map.
The error was:
XA error: XAER_RMERR : A resource manager error has occured in the transaction branch
start() failed on resource 'OracleDB' Unexpected error during start for XAResource
'OracleDB': null
     at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1019)
     at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
     at weblogic.j2ee.Application.deploy(Application.java:247)
     at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:185)
     at weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.java:362)
     at weblogic.management.mbeans.custom.Application.setDeployed(Application.java:296)
     at java.lang.reflect.Method.invoke(Native Method)
     at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1388)
     at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:881)
     at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
     at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
     at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
     at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
     at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:392)
     at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:298)
     at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
     at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
     at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
     at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
     at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
     at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Many thanks if s.b. could help me.
Klaus

Hi Klaus,
if you want to implement a global transaction over two different JDBC Resource Managers
(update on both + 2PC) they have to be both XA compliant.
Or you could have only one of them XA compliant(i.e: one 8.1.6 or higher Oracle instance):
for the other one (i.e.: one 7.3.2 Oracle instance) you could use a non XA-driver
and configuring a TXDataSource with "enable two-phase commit" = true (but only one
non-XA JDBC driver at a time can participate in a distributed transaction).
Well, XA transactions are not a pre-requisite for EJB: you could use simple "local"
transactions or distributed transactions without XA drivers as well (using a single
resource manager).
But if you want to update multiple resource managers in the same transaction using
EJBs, this is a "global" transaction, and WL server fully supports it.
But the partecipants must be XA compliant to be able to "talk" to WL coordinator.
Sergi
Sergi
"Klaus Dirlewanger" <[email protected]> wrote:
>
Hi Sergi, hello world,
thanks a lot for this message. So the conclusion is that I hava no chance
at all
to use this oracle version (7.3.2) with BEA WLS (or more common EJB), cause
a prerequisite
for EJB are XA-transactions.
Is this conclusion correct.
Many thanks again
Klaus
"Sergi Vaz" <[email protected]> wrote:
Hi Klaus,
distributed transaction (XA) features require version
Oracle8i release 8.1.6 or later of the Oracle server.
Sergi
"Klaus Dirlewanger" <[email protected]> wrote:
Hi Sergi,
1.) sorry, that was a typing error with the oracle version, I meant 7.3.2.
2.) I didn´t use a special driver but that that was delivered with thewls
server
in the package "weblogic.jar".
Could I enable you helping me with this information?
Best wishes
Klaus
"Sergi Vaz" <[email protected]> wrote:
Hi Klaus,
which
1) Oracle server version (I don't think it's a 8.3.2.)
2) Oracle JDBC driver version
are you you using ?
Sergi
"Klaus Dirlewanger" <[email protected]> wrote:
Hello anybody,
learnt XA being necessary if more than one sql command in transaction,so
I changed
my entries to the following:
<JDBCConnectionPool
DriverName="oracle.jdbc.xa.client.OracleXADataSource"
Name="OracleDB"
Password="{3DES}iKOCmvzSc6g="
Properties="user=osv"
Targets="osvServer"
TestConnectionsOnReserve="false"
URL="jdbc:oracle:thin:@pegnitz:1526:ora1"/>
<JDBCTxDataSource
JNDIName="JNDINameOracleOSV-DB"
Name="OracleDataSource"
PoolName="OracleDB"
Targets="osvServer"/>
We set up on a database ORACLE 8.3.2.
Now, with the non-XA-driver there was no deployment problem, but now
I
receive
the
following error message on the server output:
Unable to deploy EJB: CourseDateEJB from osv.jar:
The Container-Managed Persistence Entity EJB failed while creating itsSQL
Type Map.
The error was:
XA error: XAER_RMERR : A resource manager error has occured in the transaction
branch
start() failed on resource 'OracleDB' Unexpected error during start
for
XAResource
'OracleDB': null
     at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1019)
     at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
     at weblogic.j2ee.Application.deploy(Application.java:247)
     at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:185)
     at weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.java:362)
     at weblogic.management.mbeans.custom.Application.setDeployed(Application.java:296)
     at java.lang.reflect.Method.invoke(Native Method)
     at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1388)
     at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:881)
     at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
     at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
     at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
     at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
     at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:392)
     at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:298)
     at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
     at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
     at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown
Source)
     at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:298)
     at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:267)
     at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
     at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Many thanks if s.b. could help me.
Klaus

Similar Messages

  • WLS 7.0 sp2 - Servlet Problems with SOAP messages

              I'm using Weblogic 7.0 SP2 and trying to create a Servlet to receive SOAP wrapped
              XML messages. I'm getting the following error. Is this a problem with WLS7.0sp2's
              support of JAXM? The System.out.println's indicate I have successfully received
              the incoming SOAP request and then successfully formatted the SOAP response, but
              upon returning saving the response it appears to blow up. Does anyone have any
              suggestions?
              I need to do the following in a servlet:
              - receive an incoming SOAP request with an embedded XML message
              - perform some processing
              - return a SOAP response with an embedded XML message
              Should I be using JAXM? Or can I do this same task easily with JAX-RPC?
              <Feb 24, 2004 4:10:42 PM AST> <Error> <HTTP> <101017> <[ServletContext(id=260434
              7,name=isd.war,context-path=)] Root cause of ServletException
              java.lang.Error: NYI
              at weblogic.webservice.core.soap.SOAPMessageImpl.saveRequired(SOAPMessag
              eImpl.java:360)
              at javax.xml.messaging.JAXMServlet.doPost(Unknown Source)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
              (ServletStubImpl.java:1058)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:401)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:306)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
              n.run(WebAppServletContext.java:5445)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
              eManager.java:780)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              rvletContext.java:3105)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              pl.java:2588)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
              >
              I've stripped the code down so that all it does is verifies the incoming SOAP/XML
              request and creates a hard-coded response... be gentle... I'm a novice at this
              import javax.xml.soap.*;
              import javax.servlet.*;
              import javax.servlet.http.*;
              // import javax.xml.transform.*;
              import java.util.*;
              import java.io.*;
              public class RegisterServlet extends HttpServlet
              static MessageFactory fac = null;
              static
              try
              fac = MessageFactory.newInstance();
              catch (Exception ex)
              ex.printStackTrace();
              public void init(ServletConfig servletConfig) throws ServletException
              super.init(servletConfig);
              public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException,
              IOException
              try
              System.out.println("** Note: doPost() Entering req = " + req);
              // Get all the headers from the HTTP request
              MimeHeaders headers = getHeaders(req);
              // Get the body of the HTTP request
              InputStream is = req.getInputStream();
              // Now internalize the contents of a HTTP request
              // and create a SOAPMessage
              SOAPMessage msg = fac.createMessage(headers, is);
              System.out.println("** Note: doPost() Step A");
              SOAPMessage reply = null;
              reply = onMessage(msg);
              System.out.println("** Note: doPost() Step B reply = " + reply);
              if (reply != null)
              * Need to call saveChanges because we're
              * going to use the MimeHeaders to set HTTP
              * response information. These MimeHeaders
              * are generated as part of the save.
              if (reply.saveRequired())
              System.out.println("** Note: doPost() Step C reply.saveRequired()");
              reply.saveChanges();
              resp.setStatus(HttpServletResponse.SC_OK);
              putHeaders(reply.getMimeHeaders(), resp);
              // Write out the message on the response stream
              OutputStream os = resp.getOutputStream();
              System.out.println("** Note: doPost() Step D os = " + os);
              reply.writeTo(os);
              os.flush();
              else
              resp.setStatus(HttpServletResponse.SC_NO_CONTENT);
              catch (Exception ex)
              throw new ServletException("** Error: SAAJ POST failed: " + ex.getMessage());
              static MimeHeaders getHeaders(HttpServletRequest req)
              Enumeration enum = req.getHeaderNames();
              MimeHeaders headers = new MimeHeaders();
              while (enum.hasMoreElements())
              String headerName = (String)enum.nextElement();
              String headerValue = req.getHeader(headerName);
              StringTokenizer values =
              new StringTokenizer(headerValue, ",");
              while (values.hasMoreTokens())
              headers.addHeader(headerName,
              values.nextToken().trim());
              return headers;
              static void putHeaders(MimeHeaders headers, HttpServletResponse res)
              Iterator it = headers.getAllHeaders();
              while (it.hasNext())
              MimeHeader header = (MimeHeader)it.next();
              String[] values = headers.getHeader(header.getName());
              if (values.length == 1)
              res.setHeader(header.getName(),
              header.getValue());
              else
              StringBuffer concat = new StringBuffer();
              int i = 0;
              while (i < values.length)
              if (i != 0)
              concat.append(',');
              concat.append(values[i++]);
              res.setHeader(header.getName(), concat.toString());
              // This is the application code for handling the message.
              public SOAPMessage onMessage(SOAPMessage message)
              SOAPMessage replymsg = null;
              try
              System.out.println("** Note: OnMessage() Entering msg = " + message);
              //Extract the ComputerPart element from request message and add to reply SOAP
              message.
              SOAPEnvelope reqse = message.getSOAPPart().getEnvelope();
              SOAPBody reqsb = reqse.getBody();
              //System.out.println("** Note: OnMessage() Step B");
              System.out.println("** Note: OnMessage () Step A Soap Request Message Body = "
              + reqsb);
              //Create a reply mesage from the msgFactory of JAXMServlet
              System.out.println("** Note: OnMessage () Step B");
              replymsg = fac.createMessage();
              SOAPPart sp = replymsg.getSOAPPart();
              SOAPEnvelope se = sp.getEnvelope();
              SOAPBody sb = se.getBody();
              System.out.println("** Note: OnMessage () Step C Soap Reply Before Message Body
              = " + sb);
              se.getBody().addBodyElement(se.createName("RegisterResponse")).addChildElement(se.createName("ErrorCode")).addTextNode("000");
              System.out.println("** Note: OnMessage () Step D Soap Reply After Message Body
              = " + sb);
              replymsg.saveChanges();
              System.out.println("** Note: OnMessage() Exiting replymsg = " + (replymsg));
              catch (Exception ex)
              ex.printStackTrace();
              return replymsg;
              

    Michael,
    I got the same error on WLS8.1/Win2K professional and apache FOP (old version).
    After digging into the WLS code and FOP(old version). i found the conflict happens
    on
    the "org.xml.sax.parser" system property. In WLS code, they hard coded like the
    following when startup weblogic server:
    System.setProperty("org.xml.sax.parser", "weblogic.xml.jaxp.RegistryParser");
    But the FOP code try to use the "org.xml.sax.parser" system property to find the
    sax parser then conlict happens.
    Here is the response from BEA support :
    "I consulted with our developers regarding the question of whether we can change
    the hard-coded value for the java system property: org.xml.sax.parser by using
    a configuration parameter and I found that unfortunately there is no specific
    setting to change the value. As you had mentioned in your note the org.xml.sax.parser
    system property can be changed programmatically in your application code."
    I solve my problem by using newer apache FOP (it never use the system property:org.xml.sax.parser
    any more) and XML Registy for WLS8.1.
    Good luck.
    David Liu
    Point2 Technologies Inc.
    "p_michael" <[email protected]> wrote:
    >
    Help.
    When we migrated from WLS 6.1 to WLS 7.0 SP2 when encountered a problem
    with XML
    parsing that did not previously exist.
    We get the error "weblogic.xml.jaxp.RegistryParser is not a SAX driver".
    What does this mean? And, what should we do about it.
    p_michael

  • WLS 7.0 SP2 - deploy error using security-permission in weblogic.xml on Win NT (jdk1.3.1)

    I am trying to use this in my weblogic.xml and this is the error that I get:
    weblogic-web-app>
    <description>Test Web App</description>
    <reference-descriptor>
    <resource-description>
    <res-ref-name>jdbc/TestDSRef</res-ref-name>
    <jndi-name>TestJdbc</jndi-name>
    </resource-description>
    </reference-descriptor>
    <security-permission>
    <security-permission-spec>
         // grant ability to read any file
         grant codeBase "http://server/virtual_directory/-"
         permission java.io.FilePermission "<<ALL FILES>>", "read";
         </security-permission-spec>
    </security-permission>
    </weblogic-web-app>
    Error parsing descriptor in Web appplication "e:\bea7_2\user_projects\mydomain\.\applications\.wlnotdelete\wl_comp15697.war"
    [Path="e:\bea7_2\user_projects\mydomain\.\myserver\upload\ourpeople", URI="ourpeople.war"]
    Any ideas on what I might be doing wrong? When I remove the security-permissions,
    the application deploys fine.

    I am trying to use this in my weblogic.xml and this is the error that I get:
    weblogic-web-app>
    <description>Test Web App</description>
    <reference-descriptor>
    <resource-description>
    <res-ref-name>jdbc/TestDSRef</res-ref-name>
    <jndi-name>TestJdbc</jndi-name>
    </resource-description>
    </reference-descriptor>
    <security-permission>
    <security-permission-spec>
         // grant ability to read any file
         grant codeBase "http://server/virtual_directory/-"
         permission java.io.FilePermission "<<ALL FILES>>", "read";
         </security-permission-spec>
    </security-permission>
    </weblogic-web-app>
    Error parsing descriptor in Web appplication "e:\bea7_2\user_projects\mydomain\.\applications\.wlnotdelete\wl_comp15697.war"
    [Path="e:\bea7_2\user_projects\mydomain\.\myserver\upload\ourpeople", URI="ourpeople.war"]
    Any ideas on what I might be doing wrong? When I remove the security-permissions,
    the application deploys fine.

  • What BEA WLS for Oracle 10.2.0.4?

    Hi,
    I'm going migration DB from 9.2.0.6 with BEA WLS 8.1 SP2 to 10.2.0.4 and I would like what's the certificate version of BEA WLS target.
    Thanks!

    You have already posted this in the correct forum - Upgrade Oracle DB from 9.2.0.6 to 10.2..0.4
    This forum is meant for issues related to database upgrades - pl clarify your question in your other post. AFAIK, there is no co-relation between database upgrades and WLS upgrades - but I have no expertise in WLS
    HTH
    Srini

  • Problem starting wls 6.1 sp2

    Hi
    I have developed an appliaction using wls 6.1 sp2 on w2k, which I want to migrate
    to Solaris 8.
    I have modified my windows statup scripts to Solaris, but I get a strange error
    when starting weblogic. I am starting the server as root and my weblogic.policy
    file is modified according to my installation.
    Has anybody encountered anything similar?
    <Feb 20, 2002 12:08:09 PM CET> <Critical> <Management> <Unable to deploy an internal
    management web application - <all-internal-apps>. Managed servers may be unable
    to start.
    java.io.FileNotFoundException: ./config/Certifikat/.wlstaging/wl_management_internal2.war
    (No such file or directory)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:132)
    at weblogic.management.mbeans.custom.ApplicationManager.stageGlobalWarFile(ApplicationManager.java:398)
    at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:334)
    at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:152)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:606)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:590)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:350)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:444)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
    at $Proxy35.start(Unknown Source)
    at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:479)
    at weblogic.management.Admin.startApplicationManager(Admin.java:1138)
    at weblogic.management.Admin.finish(Admin.java:561)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:501)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:198)
    at weblogic.Server.main(Server.java:35)
    >
    My startup script is as follows
    bash-2.03$ more startWeblogic.sh
    #!/usr/bin/bash
    # Set user-defined variables.
    export PROJECT=postdanmark
    export ENVIRONMENT=test
    export RELEASE_DIR=/opt/projects/$PROJECT/$ENVIRONMENT/lib
    export JAVA_HOME=/opt/jdk/j2sdk1_3_1_02
    export WEBLOGIC_HOME=/opt/bea/weblogic/6.1
    export PATH=$WEBLOGIC_HOME/bin:$JAVA_HOME/jre/bin:$JAVA_HOME/bin:.:$PATH
    export CLASSPATH=$RELEASE_DIR/internal/util/1.0/Util.jar
    export CLASSPATH=$CLASSPATH:$WEBLOGIC_HOME/lib/weblogic.jar
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/sun/jaxb/1.0ea/lib/jaxb-rt-1.0-ea.jar
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/postdanmark/1.0/PostDanmarkPC.jar
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/EntrustCAEjb/1.0/EntrustCAEjb.jar
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/websupport/1.0/WebSupport.jar
    export CLASSPATH=$CLASSPATH:/opt/projects/$PROJECT/$ENVIRONMENT/batch/properties
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/corba/interfaces/entrustca/1.2/EntrustCA.jar
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/mysql/jdbc/2.0.4/mm.mysql-2.0.4-bin.jar
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entbase.jar
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entuser.jar
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entp7.jar
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entmisc.jar
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entcertlist.jar
    echo off
    echo *********************************************
    echo * Starting weblogic application server *
    echo *********************************************
    # Set WLS_PW equal to your system password for no password prompt server startup.
    export WLS_PW=certifikat
    # Set Production Mode. When set to true, the server starts up in production mode.
    When set to false, the server starts up i
    n development mode. The default is false.
    export STARTMODE=false
    export WEBLOGIC_OPTIONS='-Dweblogic.Domain=Certifikat'
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.Name=PostDanmarkServer"
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.management.discover=false"
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dbea.home=/opt/bea/weblogic/6.1"
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Duser.home=/opt/projects/$PROJECTS/$ENVIRONMENT/weblogic"
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Duser.dir=/opt/projects/$PROJECTS/$ENVIRONMENT/weblogic"
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.management.password=$WLS_PW"
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.ProductionModeEnabled=$STARTMODE"
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Djava.security.policy=$WEBLOGIC_HOME/lib/weblogic.policy"
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.RootDirectory=/opt/projects/$PROJECT/$ENVIRONMENT/weblogic"
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Djava.util.logging.config.file=/opt/projects/$PROJECT/$ENVIRONMENT/batch/proper
    ties/logging.properties"
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Djava.library.path=$WEBLOGIC_HOME/lib/solaris:$WEBLOGIC_HOME/lib/solaris/oci816
    _8"
    export JAVA_OPTIONS='-hotspot -ms64m -mx64m -classpath '
    export JAVA_OPTIONS=${JAVA_OPTIONS}$CLASSPATH
    echo on
    echo "using JAVA OPTIONS : "$JAVA_OPTIONS"
    echo "using WEBLOGIC OPTIONS : "$WEBLOGIC_OPTIONS"
    "$JAVA_HOME/bin/java" $JAVA_OPTIONS $WEBLOGIC_OPTIONS weblogic.Server

    Hi.
    Try placing the wl_management_internal2.war file from the mydomain/.wlstaging directory into the directory your server is expecting.
    Regards,
    Michael
    Peter Buus wrote:
    Hi
    I have developed an appliaction using wls 6.1 sp2 on w2k, which I want to migrate
    to Solaris 8.
    I have modified my windows statup scripts to Solaris, but I get a strange error
    when starting weblogic. I am starting the server as root and my weblogic.policy
    file is modified according to my installation.
    Has anybody encountered anything similar?
    <Feb 20, 2002 12:08:09 PM CET> <Critical> <Management> <Unable to deploy an internal
    management web application - <all-internal-apps>. Managed servers may be unable
    to start.
    java.io.FileNotFoundException: ./config/Certifikat/.wlstaging/wl_management_internal2.war
    (No such file or directory)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:132)
    at weblogic.management.mbeans.custom.ApplicationManager.stageGlobalWarFile(ApplicationManager.java:398)
    at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:334)
    at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:152)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:606)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:590)
    at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:350)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:444)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:185)
    at $Proxy35.start(Unknown Source)
    at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:479)
    at weblogic.management.Admin.startApplicationManager(Admin.java:1138)
    at weblogic.management.Admin.finish(Admin.java:561)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:501)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:198)
    at weblogic.Server.main(Server.java:35)
    >
    My startup script is as follows
    bash-2.03$ more startWeblogic.sh
    #!/usr/bin/bash
    # Set user-defined variables.
    export PROJECT=postdanmark
    export ENVIRONMENT=test
    export RELEASE_DIR=/opt/projects/$PROJECT/$ENVIRONMENT/lib
    export JAVA_HOME=/opt/jdk/j2sdk1_3_1_02
    export WEBLOGIC_HOME=/opt/bea/weblogic/6.1
    export PATH=$WEBLOGIC_HOME/bin:$JAVA_HOME/jre/bin:$JAVA_HOME/bin:.:$PATH
    export CLASSPATH=$RELEASE_DIR/internal/util/1.0/Util.jar
    export CLASSPATH=$CLASSPATH:$WEBLOGIC_HOME/lib/weblogic.jar
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/sun/jaxb/1.0ea/lib/jaxb-rt-1.0-ea.jar
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/postdanmark/1.0/PostDanmarkPC.jar
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/EntrustCAEjb/1.0/EntrustCAEjb.jar
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/websupport/1.0/WebSupport.jar
    export CLASSPATH=$CLASSPATH:/opt/projects/$PROJECT/$ENVIRONMENT/batch/properties
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/internal/corba/interfaces/entrustca/1.2/EntrustCA.jar
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/mysql/jdbc/2.0.4/mm.mysql-2.0.4-bin.jar
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entbase.jar
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entuser.jar
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entp7.jar
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entmisc.jar
    export CLASSPATH=$CLASSPATH:$RELEASE_DIR/external/entrust/java_toolkit/6.0/lib/application/entcertlist.jar
    echo off
    echo *********************************************
    echo * Starting weblogic application server *
    echo *********************************************
    # Set WLS_PW equal to your system password for no password prompt server startup.
    export WLS_PW=certifikat
    # Set Production Mode. When set to true, the server starts up in production mode.
    When set to false, the server starts up i
    n development mode. The default is false.
    export STARTMODE=false
    export WEBLOGIC_OPTIONS='-Dweblogic.Domain=Certifikat'
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.Name=PostDanmarkServer"
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.management.discover=false"
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dbea.home=/opt/bea/weblogic/6.1"
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Duser.home=/opt/projects/$PROJECTS/$ENVIRONMENT/weblogic"
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Duser.dir=/opt/projects/$PROJECTS/$ENVIRONMENT/weblogic"
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.management.password=$WLS_PW"
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.ProductionModeEnabled=$STARTMODE"
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Djava.security.policy=$WEBLOGIC_HOME/lib/weblogic.policy"
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Dweblogic.RootDirectory=/opt/projects/$PROJECT/$ENVIRONMENT/weblogic"
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Djava.util.logging.config.file=/opt/projects/$PROJECT/$ENVIRONMENT/batch/proper
    ties/logging.properties"
    export WEBLOGIC_OPTIONS=${WEBLOGIC_OPTIONS}" -Djava.library.path=$WEBLOGIC_HOME/lib/solaris:$WEBLOGIC_HOME/lib/solaris/oci816
    _8"
    export JAVA_OPTIONS='-hotspot -ms64m -mx64m -classpath '
    export JAVA_OPTIONS=${JAVA_OPTIONS}$CLASSPATH
    echo on
    echo "using JAVA OPTIONS : "$JAVA_OPTIONS"
    echo "using WEBLOGIC OPTIONS : "$WEBLOGIC_OPTIONS"
    "$JAVA_HOME/bin/java" $JAVA_OPTIONS $WEBLOGIC_OPTIONS weblogic.Server--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • JAX-WS SOAPHandler can not deployed in BEA WLS 10.0 - Bug?

    Hi,
    currently I'm trying tp deploy a simple JAX-WS webservice with JAX-WS SOAPHandler in BEA WLS 10.0.
    Therefore I provide a WAR file with the webservice and handler classes.
    The SOAP Handler is defined in the webservice via the @HandlerChain(file="handler.xml")
    My handler.xml looks as follows:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <javaee:handler-chains xmlns:javaee="http://java.sun.com/xml/ns/javaee" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <javaee:handler-chain>
    <javaee:handler> <javaee:handler-class>com.bmw.wss.server.handler.AuthenticationHandler</javaee:handler-class>
    </javaee:handler>
    </javaee:handler-chain>
    </javaee:handler-chains>
    This handlers.xml is in the classpath within the WAR file.
    If i trying to deploy this WAR file I always get the following exception from BEA WLS 10:
    weblogic.application.ModuleException: [HTTP:101216]Servlet: "WSAATestService" failed to preload on startup in Web application: "wsaa-jaxwshandlertest.war".
    java.lang.NullPointerException
    at weblogic.wsee.monitoring.WseeRuntimeMBeanManager.createJaxWsHandlers(WseeRuntimeMBeanManager.java:108)
    at weblogic.wsee.monitoring.WseeRuntimeMBeanManager.createJaxWsPort(WseeRuntimeMBeanManager.java:80)
    at weblogic.wsee.monitoring.WseeRuntimeMBeanManager.createJaxWsMBean(WseeRuntimeMBeanManager.java:57)
    I seems BEA WLS 10 has some problems with the JAX-WS SOAPHandler. I've deployed the same WAR-file on a Glassfish v2 server... without any problems!
    Does anyone already used the JAX-WS handler mechanism in BEA WLS 10? Any ideas?
    Thx.

    Hi,
    thx for your answer. Now I've found the problem. The BEA WLS don't accept null return value of the SOAPHandler method getHeaders(). If I return a dummy object everything wotks fine:
    public Set<QName> getHeaders() {
    return new TreeSet<QName>();
    However I think this behaviour of the BEA WLS 10 is some kind of strange. Why do I have to implement the method getHeaders() if I don't want to use it.
    Sun's Glassfish allows a null return value like expected.

  • XMLSPY Special Edition for BEA WebLogic 8.1 and WLS 8.1 sp2

    Hi,
    I'm a newbie for WebLogic Server. I started with WLS 8.1 sp2 since I got the book "J2EE Applications and BEA WebLogic Server 2nd Edition" which was written for WLS 8.1.
    While XMLSPY Special Edition for BEA WebLogic (version 5.4 something, built in 2003) is indeed packaged with WLS 8.1 sp2 and can be installed, but it'll pop up a window (ALTOVA License Manager) everytime when I try to use it. This window pops up because the license key is not installed during the installation and therefore can't be used unless a valid key is provided.
    I wonder whether I really need to get XMLSPY Special Edition for BEA WebLogic 8.1 working in order to use WLS 8.1 just for the purpose of learning. If so, can someone share with me the the key-code for XMLSPY Special Edition for BEA WebLogic 8.1 please?
    BTW, I tried to find something useful to this question/problem at ALTOVA website, no luck at all.
    Thank you very much.
    JF

    Hi Ravi,
    Thanks very much for your very helpful reply.
    I got into the problem with xmlspy while I was trying to figure out why the WLS admin console missing the left pane/sidebar. There was only one non-expandable dot sign at the lefttop in the admin console. When I right-click on that little dot icon, the pulldown menu shows one option is to use XMLSPY to check (something along that line). Also, I see the XMLSPY button at the left bottom of my W2003 windows (just next to IE button). So, either way when I invoked XMLSPY I would get that pop up window which tells me there choices: type in a key-code, request for a trial key, or buy a license key. But eventually, I figured out the way to fix my problem - installing a newer version of j2sdk code. However, I wasn't sure whether the xmlspy issue would a hidden problem further down the road for me to learn WLS 8.1.
    You're absoluately right commenting on the the right version of WLS to use at the beginning of learning WLS.
    I have been VMWare Workstation for several months. I've created a CentOS 5.4 VM with WLS 11g installed. I played with with WLS 11g for a while and even followed through an Oracle online tutorial for that version. But I'm just used to learn something with a hard copy of book and I happen to have this old book on WLS 8.1 which seems to be highly rated before. I may continue to go through this book quickly if I can. However, if I experience too many hard problems down the road, I won't waste too much more time on this path. My long term goal is of course to learn more and better about WLS 11g and other Oracle related framework and tools. There is too much to learn. But the good thing is that Oracle provides everything free to learn. Also, I'm very encouraged by the quality of the Oracle tech group where I can turn for very useful help.
    Thanks again and best regards,
    JF

  • WLS 6.1 SP2, iPlanet 6 & NSAPI problems

    Does anybody know of a good reference document on how to properly install the NSAPI
    plug-in for WLS6.1 & iPlanet6(SunOne) on Unix (Solaris). Many of the references that
    I have been finding are either incomplete, have typo's and are mostly Windows oriented
    (ie. with the .dll's, paths, examples, etc.)
    My problem is that our old iPlanet 4.x works fine...everything proxies, etc. iPlanet
    6 just doesn't want to seem to communicate with WLS 6.1 SP2 We tried many of the
    saem things from the 4.x magnus & obj.confs...but things look somewhat different
    in iPlanet 6.x (did they move tings..such as the fn's from one to the other, etc.)
    If so..and there are big differences in installing iPlanet 4.x vs. 6.x then many
    of the docs out there are inaccurate. Does anyone know if there is a newer version
    of the NSAPI plug-in for Unix.
    I would love to see a basic, working set of magnus.conf obj.conf, MIME,etc from someone
    who has actually gotten NSAPI to work between WLS 6.1 and iPlanet 6 on Unix (Solaris)
    It blows my mind that 4.x works and 6.x doesn't. An updated NSAPI plug-in
    , if it exists and perhaps fixes the problem, would make my day. Any ideas? Thanks!
    -Doug

    Hi Doug
    U have to put the following section
    Init fn="load-modules" funcs="wl_proxy,wl_init" shlib="./libproxy.so"
    Init fn="wl_init"
    into magus.conf
    and put the rest into obj.conf
    Best Regards
    Alex
    "Doug E" <[email protected]> wrote:
    >
    Does anybody know of a good reference document on how to properly install
    the NSAPI
    plug-in for WLS6.1 & iPlanet6(SunOne) on Unix (Solaris). Many of the references
    that
    I have been finding are either incomplete, have typo's and are mostly Windows
    oriented
    (ie. with the .dll's, paths, examples, etc.)
    My problem is that our old iPlanet 4.x works fine...everything proxies,
    etc. iPlanet
    6 just doesn't want to seem to communicate with WLS 6.1 SP2 We tried many
    of the
    saem things from the 4.x magnus & obj.confs...but things look somewhat different
    in iPlanet 6.x (did they move tings..such as the fn's from one to the other,
    etc.)
    If so..and there are big differences in installing iPlanet 4.x vs. 6.x
    then many
    of the docs out there are inaccurate. Does anyone know if there is a newer
    version
    of the NSAPI plug-in for Unix.
    I would love to see a basic, working set of magnus.conf obj.conf, MIME,etc
    from someone
    who has actually gotten NSAPI to work between WLS 6.1 and iPlanet 6 on Unix
    (Solaris)
    It blows my mind that 4.x works and 6.x doesn't. An updated NSAPI plug-in
    , if it exists and perhaps fixes the problem, would make my day. Any ideas?
    Thanks!
    -Doug

  • Ignoring Http basic authentication header in wls 7.0.sp2 web service servlet (weblogic.webservice.server.servlet.WebServiceServlet)

    Hi!
    We need to implement authentication using our own methods, and the authentication
    information is provided to the web service implementation in a basic authentication
    header. The problem is, that the servlet
    weblogic.webservice.server.servlet.WebServiceServlet, which handles web services
    in
    wls 7.0.sp2, always attempts to perform authentication, if the header is present.
    Is there any way to circumvent this, because we want to implement authentication
    on our own?
    I already know two workarounds:
    The best would of course be to implement a custom security realm for our own
    authentication system. This is not an option, implementing an own security
    realm is overkill for this specific web service.
    The other way would be to route the requests by way of a custom servlet, which
    would
    remove the basic authentication header, and put the authentication info in custom
    headers, such as x-auth: <user:password>, or smthng similar, and after successful
    authentication, make a call to bea's servlet weblogic.webservice.server.servlet.WebServiceServlet.
    But still, I'd like to know if there is any way to tell bea's servlet to ignore
    the basic
    authentication header?
    Oh yeah, by the way, this is URGENT, as always. (really!! ;)
    Toni Nykanen

    Currently there is no option to turn off security check.
    I think you can use a servlet filter mapped to the URL
    of your service, instead of a proxy servlet?
    Regards,
    -manoj
    http://manojc.com
    "Toni Nykanen" <[email protected]> wrote in message
    news:3ef1577b$[email protected]..
    >
    Hi!
    We need to implement authentication using our own methods, and theauthentication
    information is provided to the web service implementation in a basicauthentication
    header. The problem is, that the servlet
    weblogic.webservice.server.servlet.WebServiceServlet, which handles webservices
    in
    wls 7.0.sp2, always attempts to perform authentication, if the header ispresent.
    Is there any way to circumvent this, because we want to implementauthentication
    on our own?
    I already know two workarounds:
    The best would of course be to implement a custom security realm for ourown
    authentication system. This is not an option, implementing an own security
    realm is overkill for this specific web service.
    The other way would be to route the requests by way of a custom servlet,which
    would
    remove the basic authentication header, and put the authentication info incustom
    headers, such as x-auth: <user:password>, or smthng similar, and aftersuccessful
    authentication, make a call to bea's servletweblogic.webservice.server.servlet.WebServiceServlet.
    >
    But still, I'd like to know if there is any way to tell bea's servlet toignore
    the basic
    authentication header?
    Oh yeah, by the way, this is URGENT, as always. (really!! ;)
    Toni Nykanen

  • Terracotta: application deploy problem (WLP 9.2)

    hi,
    when i try to deploy a Portal application on a bea weblogic server (9.2.1), that is enabled for terracotta (added the java startup arguments to the bea server and the client is visible in the Terracotta Administrator Console), the deployment fails and a lot of compile errors are shown concerning bea classes (from netuix.jar and content.jar, see bottom for snippet). for some reason bea wants to compile these classes on deployment.
    has anybody seen this same problem and does anybody have a solution or workaround for this problem? must the classes be compiled on the fly during development?
    regards,
    erik
    log snippet:
    ####<Oct 4, 2007 6:48:49 PM CEST> <Error> <Deployer> <opteron-w2k3> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1191516529616> <BEA-149205> <Failed to initialize the application 'ps' due to error weblogic.application.ModuleException: Exception preparing module: EJBModule(netuix.jar)
    Unable to deploy EJB: netuix.jar from netuix.jar:
    There are 1 nested errors:
    java.io.IOException: Compiler failed executable.exec:
    D:\beas\bea921\user_projects\domains\eo_domain\servers\AdminServer\cache\EJBCompilerCache\-1qrbdkqefeo8m\com\bea\wsrp\services\persistence\internal\ProducerPersistenceManager_7vyoe8_Impl.java:11: com.bea.wsrp.services.persistence.internal.ProducerPersistenceManager_7vyoe8_Impl is not abstract and does not override abstract method __tc_setmanagedfield(java.lang.String,java.lang.Object) in com.bea.wsrp.services.persistence.internal.ProducerPersistenceManager_7vyoe8_Intf
    public final class ProducerPersistenceManager_7vyoe8_Impl
    ^
    D:\beas\bea921\user_projects\domains\eo_domain\servers\AdminServer\cache\EJBCompilerCache\-1qrbdkqefeo8m\com\bea\netuix\application\manager\persistence\jdbc\BookDefinitionManager_1xzrxc_Impl.java:11: com.bea.netuix.application.manager.persistence.jdbc.BookDefinitionManager_1xzrxc_Impl is not abstract and does not override abstract method __tc_setmanagedfield(java.lang.String,java.lang.Object) in com.bea.netuix.application.manager.persistence.jdbc.BookDefinitionManager_1xzrxc_Intf
    public final class BookDefinitionManager_1xzrxc_Impl
    ^
    D:\beas\bea921\user_projects\domains\eo_domain\servers\AdminServer\cache\EJBCompilerCache\-1qrbdkqefeo8m\com\bea\netuix\application\manager\persistence\jdbc\PortletCategoryManager_uhkdka_Impl.java:11: com.bea.netuix.application.manager.persistence.jdbc.PortletCategoryManager_uhkdka_Impl is not abstract and does not override abstract method __tc_setmanagedfield(java.lang.String,java.lang.Object) in com.bea.netuix.application.manager.persistence.jdbc.PortletCategoryManager_uhkdka_Intf
    public final class PortletCategoryManager_uhkdka_Impl
    [MORE CLASSES HERE]
    D:\beas\bea921\user_projects\domains\eo_domain\servers\AdminServer\cache\EJBCompilerCache\-1qrbdkqefeo8m\com\bea\netuix\application\manager\persistence\jdbc\PortalDefinitionManager_d875a8_Impl.java:11: com.bea.netuix.application.manager.persistence.jdbc.PortalDefinitionManager_d875a8_Impl is not abstract and does not override abstract method __tc_setmanagedfield(java.lang.String,java.lang.Object) in com.bea.netuix.application.manager.persistence.jdbc.PortalDefinitionManager_d875a8_Intf
    public final class PortalDefinitionManager_d875a8_Impl
    ^
    D:\beas\bea921\user_projects\domains\eo_domain\servers\AdminServer\cache\EJBCompilerCache\-1qrbdkqefeo8m\com\bea\netuix\application\manager\persistence\jdbc\PageDefinitionManager_c4el9c_Impl.java:11: com.bea.netuix.application.manager.persistence.jdbc.PageDefinitionManager_c4el9c_Impl is not abstract and does not override abstract method __tc_setmanagedfield(java.lang.String,java.lang.Object) in com.bea.netuix.application.manager.persistence.jdbc.PageDefinitionManager_c4el9c_Intf
    public final class PageDefinitionManager_c4el9c_Impl
    ^
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    25 errors
         at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:435)
         at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:295)
         at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:303)
         at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:309)
         at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:497)
         at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:464)
         at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:430)
         at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:752)
         at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:655)
         at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1199)
         at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:354)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
         at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:137)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:38)
         at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:177)
         at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
         at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

    the deployment problem is solved by putting the bea packages in the exclude section of the Terracotta configuration file.

  • WLS 6.1 SP2 and Apache 1.3.26 Windows NT/2000

    Hi,
    Is there an Apache plugin available for WLS 6.1 (SP2) and Apache 1.3.26 running
    on Windows NT/2000?
    thanks

    I've solved my own problem. I learned that there was a sp4 (let alone a
    sp3) for WLS. Installed that and the problem went away. Sorry for the
    noise.
    -Phil
    Philip Bower <[email protected]> wrote in
    news:[email protected]:
    When I try to deploy the struts-example.war or if I add the struts.jar
    to any other web app I've created, I get this error when I start WLS
    and it tries to deploy that war.
    java.lang.StringIndexOutOfBoundsException
    at weblogic.servlet.internal.WebAppHelper.resolveManifestName
    (WebAppHelper.java:469)
    I'm using version 1.1b3 of struts. I'm having no problems with
    version 1.0.2 of struts.
    I'm guessing its complaining about the manifest file in struts.jar,
    but I don't understand why.
    Here's my version info and the stack trace (my web app is called
    findme in this example). Thanks in advance.
    -Phil
    Server BuildWebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
    All Server Product VersionsWebLogic Server 6.1 SP2 12/18/2001
    11:13:46 #154529 WebLogic XML Module 6.1 SP2 12/18/2001 11:28:02
    #154529
    <Feb 11, 2003 7:45:25 AM EST> <Error> <J2EE> <Error deploying
    application findme: Could not load findme>
    <Feb 11, 2003 7:45:25 AM EST> <Error> <Management> <ApplicationManager
    starting Config caught throwable
    java.lang.reflect.UndeclaredThrowableException:
    java.lang.StringIndexOutOfBoundsException: String index out of range:
    -1
    at java.lang.String.substring(String.java:1525)
    at
    weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper
    .jav a:469)
    at
    weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.j
    ava: 234)
    at
    weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebApp
    Serv letContext.java:3407)
    at
    weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServlet
    Cont ext.java:3376)
    at
    weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContex
    t.ja va:862)

  • WLS 6.1 SP2 Cluster fails

              Hi All.
              we have migrated to WLS 6.1 SP2, now we have a serious problem with the cluster
              wihch die after several minutes. Our architecture is several front-ends servers
              (concretely servelts, without cluster) make request to back-end (starteles EJB,
              DB access). This back-end is compuond by four WLS instances running into 2 Sun
              Solaris Machines. The system reports the nexts messages in the weblogic.log.
              * backendPlatformA instance
              for queue: 'default'> <> <> <000274> <Removing "ClientContext - id:
              '#|platformA|129.1027407260379', bound: 'false', dead: 'false'" because
              of soft disconnect timeout.>
              ####<Jul 23, 2002 10:02:24 AM GMT> <Info> <DGCserver> <wls00>
              <platformA> <ExecuteThread: '117' for queue: 'default'> <system> <>
              <000000> <Tried to renew lease on lost reference: '257'>
              * backendPlatformB instance
              for queue: 'default'> <> <> <000274> <Removing "ClientContext - id:
              '#|platformB|118.1027407423933', bound: 'false', dead: 'false'" because
              of soft disconnect timeout.>
              ####<Jul 23, 2002 10:03:52 AM GMT> <Info> <WebLogicServer> <wls00>
              <platformB> <ExecuteThread: '114' for queue: 'default'> <> <> <000274>
              <Removing "ClientContext - id: '#|platformB|119.1027407423933', bound:
              'false', dead: 'false'" because of soft disconnect timeout.>
              * ioboxPlatfromC instance
              for queue: 'default'> <> <> <000274> <Removing "ClientContext - id:
              '#|platformC|139.1027407286958', bound: 'false', dead: 'false'" because
              of soft disconnect timeout.>
              ####<Jul 23, 2002 10:04:24 AM GMT> <Info> <DGCserver> <wls01>
              <platformC> <ExecuteThread: '119' for queue: 'default'> <system> <>
              <000000> <Tried to renew lease on lost reference: '257'>
              * Instancia ioboxPlatfromD
              for queue: 'default'> <> <> <000274> <Removing "ClientContext - id:
              '#|platformD|58.1027415900956', bound: 'false', dead: 'false'" because
              of soft disconnect timeout.>
              ####<Jul 23, 2002 10:05:54 AM GMT> <Info> <WebLogicServer> <wls01>
              <platformD> <ExecuteThread: '107' for queue: 'default'> <> <> <000274>
              <Removing "ClientContext - id: '#|platformD|59.1027415900956', bound:
              'false', dead: 'false'" because of soft disconnect timeout.>
              ####<Jul 23, 2002 10:06:22 AM GMT> <Info> <Cluster> <wls01> <platformD>
              <ExecuteThread: '107' for queue: 'default'> <> <> <000113> <Removing
              platformA
              jvmid:7148145370197743783S:10.2.1.1:[17001,17001,7002,7002,17001,7002,-1]:backendPlatform:platformA
              from cluster view due to PeerGone>
              ####<Jul 23, 2002 10:06:22 AM GMT> <Info> <Cluster> <wls01> <platformD>
              <ExecuteThread: '116' for queue: 'default'> <> <> <000129> <Removing
              7148145370197743783S:10.2.1.1:[17001,17001,7002,7002,17001,7002,-1]:backendPlatform:platformA
              to the cluster>
              ####<Jul 23, 2002 10:06:22 AM GMT> <Error> <T3Services> <wls01>
              <platformD> <ExecuteThread: '102' fo
              r queue: 'default'> <> <5577:04d703f24ce814ba> <000000> < Parametros
              anaydidos>
              ####<Jul 23, 2002 10:06:33 AM GMT> <Error> <ConnectionManager> <wls01>
              <platformD> <ExecuteThread: '119' for queue: 'default'> <system> <>
              <000000> <Closing: 'weblogic.rjvm.t3.T3JVMConnection@63718b' because of:
              'Server received a message over an uninitialized connection: 'JVMMessage
              from: 'null' to:
              '1615014391094985181S:10.2.1.4:[17001,17001,7002,7002,17001,7002,-1]:backendPlatform:platformD'
              cmd: 'CMD_REQUEST', QOS: '101', responseId: '1', invokableId: '454',
              flags: 'JVMIDs Not Sent, TX Context Not Sent', abbrev offset: '38'''
              Any idea?
              Thanks for all
              

              Hi,
              We are using Weblogic 6.1 SP2, NT 4.0 and java 1.3.1. We have also encountered
              the same error message. We have 1 admin and 2 managed servers. We have tried connecting
              in using weblogic.admin to check the idle thread and we are able to connect. However,
              when we connect from IIS to Weblogic, the application failed to response. We have
              tried connect direct to weblogic but it does not response as well. We have seen
              that the idle thread left has been reduced but there is no activites from the
              weblogic console. The thread is used but not releasing and the console is not
              moving. When we shutdown one of the managed server, the application is able to
              process as seen from the console.
              We have turned off native io and this behavior is not seen. When we turn on native
              io, it appear. So we can conclude that it is related to native io.
              Is there any solution or intermediate patch without upgrading to the later SP
              Thanks
              Rajesh Mirchandani <[email protected]> wrote:
              >We are shipping the Jdriver for oracle 816 with SP3. Use the driver
              >from .\bin\oci816_8
              >
              >Manuel wrote:
              >
              >> Thanks Rajesh,
              >>
              >> we have another problem since our database is Oracle 8.1.6 and SP3
              >jDriver doesn´t
              >> support this version.
              >>
              >> Best Regards
              >>
              >> Rajesh Mirchandani <[email protected]> wrote:
              >> >Upgrade to SP3, if possible.
              >> >
              >> >Manuel wrote:
              >> >
              >> >> Hi All.
              >> >>
              >> >> we have migrated to WLS 6.1 SP2, now we have a serious problem with
              >> >the cluster
              >> >> wihch die after several minutes. Our architecture is several front-ends
              >> >servers
              >> >> (concretely servelts, without cluster) make request to back-end
              >(starteles
              >> >EJB,
              >> >> DB access). This back-end is compuond by four WLS instances running
              >> >into 2 Sun
              >> >> Solaris Machines. The system reports the nexts messages in the weblogic.log.
              >> >>
              >> >> * backendPlatformA instance
              >> >>
              >> >> for queue: 'default'> <> <> <000274> <Removing "ClientContext -
              >id:
              >> >> '#|platformA|129.1027407260379', bound: 'false', dead: 'false'"
              >because
              >> >> of soft disconnect timeout.>
              >> >> ####<Jul 23, 2002 10:02:24 AM GMT> <Info> <DGCserver> <wls00>
              >> >> <platformA> <ExecuteThread: '117' for queue: 'default'> <system>
              ><>
              >> >> <000000> <Tried to renew lease on lost reference: '257'>
              >> >>
              >> >> * backendPlatformB instance
              >> >>
              >> >> for queue: 'default'> <> <> <000274> <Removing "ClientContext -
              >id:
              >> >> '#|platformB|118.1027407423933', bound: 'false', dead: 'false'"
              >because
              >> >> of soft disconnect timeout.>
              >> >> ####<Jul 23, 2002 10:03:52 AM GMT> <Info> <WebLogicServer> <wls00>
              >> >> <platformB> <ExecuteThread: '114' for queue: 'default'> <> <> <000274>
              >> >> <Removing "ClientContext - id: '#|platformB|119.1027407423933',
              >bound:
              >> >> 'false', dead: 'false'" because of soft disconnect timeout.>
              >> >>
              >> >> * ioboxPlatfromC instance
              >> >>
              >> >> for queue: 'default'> <> <> <000274> <Removing "ClientContext -
              >id:
              >> >> '#|platformC|139.1027407286958', bound: 'false', dead: 'false'"
              >because
              >> >> of soft disconnect timeout.>
              >> >> ####<Jul 23, 2002 10:04:24 AM GMT> <Info> <DGCserver> <wls01>
              >> >> <platformC> <ExecuteThread: '119' for queue: 'default'> <system>
              ><>
              >> >> <000000> <Tried to renew lease on lost reference: '257'>
              >> >>
              >> >> * Instancia ioboxPlatfromD
              >> >>
              >> >> for queue: 'default'> <> <> <000274> <Removing "ClientContext -
              >id:
              >> >> '#|platformD|58.1027415900956', bound: 'false', dead: 'false'" because
              >> >> of soft disconnect timeout.>
              >> >> ####<Jul 23, 2002 10:05:54 AM GMT> <Info> <WebLogicServer> <wls01>
              >> >> <platformD> <ExecuteThread: '107' for queue: 'default'> <> <> <000274>
              >> >> <Removing "ClientContext - id: '#|platformD|59.1027415900956', bound:
              >> >> 'false', dead: 'false'" because of soft disconnect timeout.>
              >> >> ####<Jul 23, 2002 10:06:22 AM GMT> <Info> <Cluster> <wls01> <platformD>
              >> >> <ExecuteThread: '107' for queue: 'default'> <> <> <000113> <Removing
              >> >> platformA
              >> >> jvmid:7148145370197743783S:10.2.1.1:[17001,17001,7002,7002,17001,7002,-1]:backendPlatform:platformA
              >> >> from cluster view due to PeerGone>
              >> >> ####<Jul 23, 2002 10:06:22 AM GMT> <Info> <Cluster> <wls01> <platformD>
              >> >> <ExecuteThread: '116' for queue: 'default'> <> <> <000129> <Removing
              >> >> 7148145370197743783S:10.2.1.1:[17001,17001,7002,7002,17001,7002,-1]:backendPlatform:platformA
              >> >> to the cluster>
              >> >> ####<Jul 23, 2002 10:06:22 AM GMT> <Error> <T3Services> <wls01>
              >> >> <platformD> <ExecuteThread: '102' fo
              >> >> r queue: 'default'> <> <5577:04d703f24ce814ba> <000000> < Parametros
              >> >> anaydidos>
              >> >> ####<Jul 23, 2002 10:06:33 AM GMT> <Error> <ConnectionManager> <wls01>
              >> >> <platformD> <ExecuteThread: '119' for queue: 'default'> <system>
              ><>
              >> >> <000000> <Closing: 'weblogic.rjvm.t3.T3JVMConnection@63718b' because
              >> >of:
              >> >> 'Server received a message over an uninitialized connection: 'JVMMessage
              >> >> Wrom: HJEXXIMQZU
              >> >> '1615014391094985181S:10.2.1.4:[17001,17001,7002,7002,17001,7002,-1]:backendPlatform:platformD'
              >> >> cmd: 'CMD_REQUEST', QOS: '101', responseId: '1', invokableId: '454',
              >> >> flags: 'JVMIDs Not Sent, TX Context Not Sent', abbrev offset: '38'''
              >> >>
              >> >> Any idea?
              >> >>
              >> >> Thanks for all
              >> >
              >> >--
              >> >Rajesh Mirchandani
              >> >Developer Relations Engineer
              >> >BEA Support
              >> >
              >> >
              >
              >--
              >Rajesh Mirchandani
              >Developer Relations Engineer
              >BEA Support
              >
              >
              

  • WLS 6.1 SP2 and JDK 1.4.0

    In configuring our WLS 6.1 SP2 to run on the released JDK 1.4 and starting the
    server, most things seemed to start fine except for our ObjectIDFactorySession
    EJB. It cacked when it tried to create a bean in the free pool. Stack trace
    below. I know this is not supported, but can anyone shed some light?
    ####<Feb 15, 2002 3:05:03 PM EST> <Warning> <EJB> <023app11> <port7011server>
    <main> <system> <> <010063> <The EJB: ObjectIDFactorySession had an <initial-beans-in-free-pool>
    setting in its weblogic-ejb-jar.xml. An error occurred while creating these initial
    bean instances. The error was:
    nulljava.lang.ExceptionInInitializerError
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at java.lang.Class.newInstance0(Class.java:296)
         at java.lang.Class.newInstance(Class.java:249)
         at javax.rmi.CORBA.Util.createDelegateIfSpecified(Util.java:339)
         at javax.rmi.CORBA.Util.<clinit>(Util.java:51)
         at javax.rmi.PortableRemoteObject.createDelegateIfSpecified(PortableRemoteObject.java:179)
         at javax.rmi.PortableRemoteObject.<clinit>(PortableRemoteObject.java:58)
         at prototype.com.guardian.util.HomeFactory.createHome(HomeFactory.java:81)
         at prototype.com.guardian.util.HomeFactory.newHome(HomeFactory.java:49)
         at prototype.com.guardian.util.HomeFactory.newSession(HomeFactory.java:95)
         at prototype.com.guardian.fw.ObjectIDFactorySessionBean.ejbCreate(ObjectIDFactorySessionBean.java:31)
         at prototype.com.guardian.fw.ObjectIDFactorySessionBean_r4ogoq_Impl.ejbCreate(ObjectIDFactorySessionBean_r4ogoq_Impl.java:112)
         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:324)
         at weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:153)
         at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:198)
         at weblogic.ejb20.pool.Pool.onAfterDeploy(Pool.java:177)
         at weblogic.ejb20.deployer.Deployer.runAfterDeploymentListeners(Deployer.java:1325)
         at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1013)
         at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
         at weblogic.j2ee.Application.addComponent(Application.java:163)
         at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
         at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
         at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:984)
         at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:971)
         at weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.java:956)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:648)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy65.addTarget(Unknown Source)
         at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:867)
         at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:966)
         at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:886)
         at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:802)
         at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
         at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
         at weblogic.management.mbeans.custom.ApplicationManager.startAdminManager(ApplicationManager.java:278)
         at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:152)
         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:324)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy5.start(Unknown Source)
         at weblogic.management.Admin.startApplicationManager(Admin.java:1184)
         at weblogic.management.Admin.finish(Admin.java:590)
         at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
         at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
         at weblogic.Server.main(Server.java:35)
    Caused by: java.lang.RuntimeException: could not find or instantiate any UtilDelegate
    class
         at weblogic.iiop.UtilDelegateImpl.<clinit>(UtilDelegateImpl.java:73)
         ... 77 more
    >

    I've solved my own problem. I learned that there was a sp4 (let alone a
    sp3) for WLS. Installed that and the problem went away. Sorry for the
    noise.
    -Phil
    Philip Bower <[email protected]> wrote in
    news:[email protected]:
    When I try to deploy the struts-example.war or if I add the struts.jar
    to any other web app I've created, I get this error when I start WLS
    and it tries to deploy that war.
    java.lang.StringIndexOutOfBoundsException
    at weblogic.servlet.internal.WebAppHelper.resolveManifestName
    (WebAppHelper.java:469)
    I'm using version 1.1b3 of struts. I'm having no problems with
    version 1.0.2 of struts.
    I'm guessing its complaining about the manifest file in struts.jar,
    but I don't understand why.
    Here's my version info and the stack trace (my web app is called
    findme in this example). Thanks in advance.
    -Phil
    Server BuildWebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
    All Server Product VersionsWebLogic Server 6.1 SP2 12/18/2001
    11:13:46 #154529 WebLogic XML Module 6.1 SP2 12/18/2001 11:28:02
    #154529
    <Feb 11, 2003 7:45:25 AM EST> <Error> <J2EE> <Error deploying
    application findme: Could not load findme>
    <Feb 11, 2003 7:45:25 AM EST> <Error> <Management> <ApplicationManager
    starting Config caught throwable
    java.lang.reflect.UndeclaredThrowableException:
    java.lang.StringIndexOutOfBoundsException: String index out of range:
    -1
    at java.lang.String.substring(String.java:1525)
    at
    weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper
    .jav a:469)
    at
    weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.j
    ava: 234)
    at
    weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebApp
    Serv letContext.java:3407)
    at
    weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServlet
    Cont ext.java:3376)
    at
    weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContex
    t.ja va:862)

  • LINUX wls 6.0 sp2 & jdk 131 - Unable to start the Server - Segmentation fault

    Facing problems in starting a weblogic 6.0 server with service pack 2 for Linux.
    OS: RedHat7.0
    BEA WLS version : 6.0
    Service pack : SP2
    JDK version : jdk1.3.1
    When starting the startWebLogic.sh, it fails to start up completely and ends in
    a
    "startWebLogic.sh line 142 13834 Segmentation fault".
    ( After taking in the valid password for the system).
    Putting the verbose flag in the start-up script seems to see if it gave any clue,
    teh last class loaded was the weblogic.apache.xerces.utils.StringHasher .
    Does anyone have ideas as to what the cause maybe.
    Is there a patch that is needed/known problem.
    Any help would be appreciated.
    Thanks
    Shyam

    Please read the Linux install notes for JDK 1.3.1.
    http://java.sun.com/j2se/1.3/install-linux-sdk.html
    I'll paste the relevant parts:
    Known Problems
    RedHat Linux 6.2 is the officially supported Linux platform for J2SDK 1.3.1.
    Limited testing has been done on other Linux operating systems, and the
    following are known problems on the non-supported platforms.
    a.. If you use Red Hat Linux 7, we recommend version 7.1 rather than 7.0.
    Limited testing has revealed problems when using J2SDK with Red Hat Linux
    7.0, some of which are described below.
    b.. The newer glibc-2.2.x libraries cannot correctly handle initial thread
    stack sizes larger than 6 MB. This can cause a segmentation fault on come
    Linux platforms that use the newer libraries. Such platforms include Red Hat
    7.0, Mandrake 8.0, SuSe 7.2, and Debian 2.2. The problem will not occur on
    Linux platforms that are using glibc-2.1.x such as Red Hat 6.1 and 6.2. It
    will also not affect Red Hat 7.1 because it uses a different thread stack
    layout. This problem is being tracked as bug 4466587.
    Workaround - Use "ulimit -s 2048" in bash shell or "limit stacksize 2048"
    in tcsh to limit the initial thread stack to 2 MB.
    c.. When System.exit(int) is invoked on Red Hat 7.0, the program never
    exits with a non-zero value. This problem is apparently due to a bug in the
    exit function in libc.so library. To avoid this problem, use the supported
    Red Hat release, version 6.2, or, if you want to use Red Hat 7, use version
    7.1 rather than 7.0.
    d.. On RedHat Linux 7.0, if you want to use the Classic VM rather than one
    of the Java HotSpot VMs in J2SDK 1.3.1, you must download and install
    glibc-2.2-9.i386.rpm file available at
    http://www.redhat.com/support/errata/RHBA-2000-079.html. Do not install the
    i686 files available on that same web page, as those will prevent proper
    functioning of the Java HotSpot VMs in J2SDK 1.3.1.
    e.. If you use RedHat Linux 7 Server, you must manually install
    compat-libstdc++-6.21-2.9.0.0.i386.rpm to prevent "error while loading
    shared libraries" when using the Java HotSpot VMs. This file is located in
    the /RedHat/RPMS directory on the RedHat Linux 7 CD-ROM. You may also obtain
    a copy of this file from http://rpmfind.net. To install the file, use this
    command:
    rpm --install compat-libstdc++-6.21-2.9.0.0.i386.rpm
    It is not necessary to manually install
    compat-libstdc++-6.21-2.9.0.0.i386.rpm if you are using RedHat Linux 7
    Workstation.
    f.. When using RedHat Linux versions other than 6.1, the font.properties
    file may fail to display some Symbol/Dingbats characters properly on some
    AWT components. To correct this, use this revised font.properties file to
    replace the one at <JAVA_HOME>/jre/lib/.
    g.. Caldera OpenLinux uses version 2.1.2-3 of glibc. Because that version
    is not greater than or equal to 2.1.2-11, the Java 2 SDK's rpm installer
    will fail during its dependency check. We recommend that you obtain an
    updated version of the glibc library available from Caldera at the following
    locations:
    ftp.caldera.com:/pub/updates/eDesktop/2.4/current/RPMS
    or
    ftp.caldera.com:/pub/updates/eServer/2.3/current/RPMS
    Regards,
    Eric
    "root" <[email protected]> wrote in message
    news:[email protected]...
    I am having the same problem , Changing the bash stack size even to 16kdidn't help;
    >
    RedHat 7.0, WebLogic 6.1, JDK1.3.1, have bumped ss , and mx as well as thebash
    ulimit ,
    Any Ideas .. I see other posts on the same topic. ..verbose load ends withsame
    weblogic.apache.xerces.utils.StringHasher.class
    as ther have reported.
    sundaram wrote:
    Facing problems in starting a weblogic 6.0 server with service pack 2
    for Linux.
    >>
    OS: RedHat7.0
    BEA WLS version : 6.0
    Service pack : SP2
    JDK version : jdk1.3.1
    When starting the startWebLogic.sh, it fails to start up completely andends in
    a
    "startWebLogic.sh line 142 13834 Segmentation fault".
    ( After taking in the valid password for the system).
    Putting the verbose flag in the start-up script seems to see if it gaveany clue,
    teh last class loaded was the weblogic.apache.xerces.utils.StringHasher.
    >>
    Does anyone have ideas as to what the cause maybe.
    Is there a patch that is needed/known problem.
    Any help would be appreciated.
    Thanks
    Shyam

  • ERROR: Error from ejbc: in WLS 6.1 sp2 Win2K

    Never had this problem before. Started new project using WLS 6.1 sp2 under Windows
    2K Prof., using ANT & get;
    ERROR: Error from ejbc:
    In EJB NOTiFYEJB, method createUser defined in the remote interface either does
    not exist in the bean class, or it is not a public method. Each method in the
    remote interface must have a corresponding public method in the bean class.
    BUILD FAILED
    I saw a posting which referred to a problem with Win2K & an old (1.2) JDK in the
    path. I have put C:\bea\jdk131 at the front of my class path but still get this
    error.

    The problem was nothing to do with classpaths etc.
    CMP does not support "Date" types and in my EJB I had Date types, I changed these
    to "long" and converted all Dates to number of milleseconds from 1970 and persisted
    them to a number column in Oracle.
    It was the entries in the weblogic-cmp-rdbms.xml which was the root of the problem.
    "Roger Lee" <[email protected]> wrote:
    >
    Matthew,
    Thanks for yor suggestions.
    My classpath is set in the ANT.BAT & only points to the tools.jar, weblogic_sp.jar
    & weblogic.jar.
    I have my JARs in a manfest file in each directory with the "Class-Path:"
    entry.
    I have also added a new Bean with compiles & ejbcs fine. But I still
    get an error
    with my "createUser" method, saying the interface does not exist in the
    bean class
    or is not a public method.
    I have even changed it's name to "createUserCandidate" just in case it
    was clashing
    with an existing method.
    Any other ideas for investigation?
    Thanks.
    Matthew Shinn <[email protected]> wrote:
    Hi Roger,
    Roger Lee wrote:
    The "warnings saying classes are being loaded from your classpath"are, I believe
    just warning from Ant. I searched the newsgroups and it appears thatthis is not
    a problem.These warnings are from ejbc. They are there to let you know that classes\interfaces
    needed by your EJB are being loaded from your classpath and not your
    jar. They
    should be taken seriously. This could definitely be the cause of your
    problem. As I
    said in my previous posting, ejbc could be loading an old version of
    your bean class
    from your classpath. This old class may not contain the createUsermethod
    with the
    same signature as the method in your remote interface.
    Is this an issue with WLS 6.1 sp2?I don't believe so.
    I've wasted so much time on this any help would be appreciated.You essentially have three options.
    1. Take my advice and make sure your classes are being loaded fromyour
    jar and not
    the classpath.
    2. Post your entire jar so we can try to reproduce the problem.
    3. Contact support.
    - Matt
    Matthew Shinn <[email protected]> wrote:
    Hi Roger,
    Your bean and interface look fine. One thing you might try is explicitly
    declaring
    your createUser method to be public in your remote interface. I
    don't
    think this
    will change the outcome but it's worth a try. When you run ejbcdo
    you
    get any
    warnings saying classes are being loaded from your classpath ratherthan
    your jar?
    If this were the case, you could have an old copy of your bean inyour
    classpath
    that ejbc is picking up. If this doesn't help, I think the next
    step
    is to send me
    or post your entire jar.
    - Matt
    Roger Lee wrote:
    Typo that should have been "path", I had added "C:\bea\jdk131"
    to
    the
    front of
    my path & was getting the error.
    Enclose my two classes in the attached file.
    Thanks for you help.
    Matthew Shinn <[email protected]> wrote:
    Hi Roger,
    Make sure you put C:\bea\jdk131 in front of your path (not classpath).
    :) Assuming
    this isn't the problem, can you please post any createUser method
    declarations
    in your
    remote interface and the corresponding createUser methods in yourbean
    class?
    - Matt
    Name: NOTiFY_&_NOTiFYBean.java
    NOTiFY_&_NOTiFYBean.java Type: java/*
    Encoding: base64

Maybe you are looking for