Weblogic.utils.StackTraceUtils not found

Platform: Sun OS 5.7 (Solaris 2.7?), Weblogic 5.1 SP6.
          I have an application that contains some JSPs and Servlets. I'm using
          SilkPerformer to simulate multiple users. It was fine if I used only 200
          virtual users, but I ran into the following problem when I used 250 (240
          too).
          It complained some kind of NullPointerException (see below) which never
          happened for under 200 users. And then it complained this
          weblogic.utils.StackTraceUtils not found. This class belongs to
          /weblogic/classes which is in my weblogic.class.path when the server is
          started.
          I'm guess weblogic server ran into some unexpected exception and the
          logger wanted to call this class to report the error. So I need to find
          out 2 things:
          1. how to reveal the real exception/error.
          2. what to do to avoid the exception (since it worked fine for 200
          virtual users).
          For 1, I have no clue. Hope someone out there can help me.
          For 2, I remember seeing "Too many opened files" at some run which may
          indicating that, when handling too many users (250) at one time, WL
          server has opened one copy of certain file (JSP/html) for each user and
          used up system allowed file handles. If this is true, I may be able to
          get rid of this problem by increasing the allowed number of file
          handles. But I'd like to see a better solution (say, configure the
          server certain way to share the files). By the way, this is not
          happening on NT. Maybe NT has more allowed file handles and I can only
          run as many as 250 users.
          Anyway comments are appreciated.
          -Wayne
          ----------------------- extract of server output --------------------
          The errorIndices is currently: []
          Hints validated.java.lang.NullPointerException
          at weblogic.boot.ServerClassLoader.findLocalClass(Compiled
          Code)
          at weblogic.boot.ServerClassLoader.loadClass(Compiled Code)
          at java.lang.ClassLoader.loadClass(Compiled Code)
          at java.lang.ClassLoader.loadClassInternal(Compiled Code)
          at
          weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
          at weblogic.logging.LogManager.log(Compiled Code)
          at weblogic.logging.LogOutputStream.error(Compiled Code)
          at weblogic.t3.srvr.ListenThread.run(Compiled Code)
          java.lang.NullPointerException
          at weblogic.boot.ServerClassLoader.findLocalClass(Compiled
          Code)
          at weblogic.boot.ServerClassLoader.loadClass(Compiled Code)
          at java.lang.ClassLoader.loadClass(Compiled Code)
          at java.lang.ClassLoader.loadClassInternal(Compiled Code)
          at
          weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
          at weblogic.logging.LogManager.log(Compiled Code)
          at weblogic.logging.LogOutputStream.alert(Compiled Code)
          at weblogic.t3.srvr.ListenThread.run(Compiled Code)
          Wed Nov 22 15:25:09 MST 2000:<!> <ListenThread> **** The WebLogic Server
          is n\
          o longer listening for connections.
          Wed Nov 22 15:25:09 MST 2000:<!> <ListenThread> **** You should probably
          rest\
          art it.
          Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown by
          system
          Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown
          commencing \
          NOW
          Wed Nov 22 15:25:09 MST 2000:<A> <SSLListenThread> ListenThread.run()
          failed:\
          java.lang.ThreadDeath
          Wed Nov 22 15:25:09 MST 2000:<!> <SSLListenThread> **** The WebLogic
          Server i\
          s no longer listening for connections.
          Wed Nov 22 15:25:09 MST 2000:<!> <SSLListenThread> **** You should
          probably r\
          estart it.
          Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown by
          system
          java.lang.NoClassDefFoundError: weblogic/utils/StackTraceUtils
          at
          weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
          at weblogic.logging.LogManager.log(Compiled Code)
          at weblogic.logging.LogOutputStream.alert(Compiled Code)
          at weblogic.t3.srvr.ListenThread.run(Compiled Code)
          hints are: [Ljava.lang.String;@1646d1e
          hints are: [Ljava.lang.String;@ef3ad1
          hints are: [Ljava.lang.String;@a43826
          

Thanks Sumanth and Cameron. I have 64 descriptors when I do "limit". I'm
          not sure if that's my limit coz I could successfully simulate 200 users
          at a time. I only have a few JSPs and a couple of HTMLs. Maybe Weblogic
          is already sharing the files. Or maybe even for 200 users, at one time
          no more than 64 descriptors are used.
          I don't have super-user privileges. But I'll ask the admins to increase
          the limit for me and see how that affects my results.
          Appreciate your help.
          -Wayne
          Sumanth Yamala wrote:
          >
          > lsof gives the number of file descriptors open
          >
          > A common setting for high-load systems is a soft limit of 1024 and a hard
          > limit of 4096.
          >
          > On Solaris, add the following to /etc/system:
          >
          > set rlim_fd_max=4096
          > set rlim_fd_cur=1024
          >
          > And reboot with -r.
          >
          > You should not raise it past 1024 without first finding some
          > documentation that confirms that it is safe to do so. Any number
          > below that is safe.
          >
          > To add to the above Weblogic documentation has to say this:
          >
          > We have seen this situation when the user account runs out of file
          > descriptors. On Solaris, each user account has a certain limited number of
          > file descriptors. You can find out how many file descriptors you have with
          > the limit command in csh.
          >
          > You can increase file descriptors if you have enough privileges with the
          > unlimit command in the csh. Otherwise, you'll need to ask your system
          > administrator to increase the file descriptors available to your processes.
          >
          > Another solution is to create a .zip file with all of the WebLogic classes,
          > since a .zip file only requires a single file descriptor. If you do this,
          > please note that there may be other problems associated with loading files
          > from a .zip file, particularly with versions of the JDK before 1.1.3.
          > (Previous to version 2.5, WebLogic has not distributed its classes in .zip
          > format because of limitations in the JVM
          >
          > -Sumanth
          >
          > Wayne Xin wrote:
          >
          > > Platform: Sun OS 5.7 (Solaris 2.7?), Weblogic 5.1 SP6.
          > >
          > > I have an application that contains some JSPs and Servlets. I'm using
          > > SilkPerformer to simulate multiple users. It was fine if I used only 200
          > > virtual users, but I ran into the following problem when I used 250 (240
          > > too).
          > >
          > > It complained some kind of NullPointerException (see below) which never
          > > happened for under 200 users. And then it complained this
          > > weblogic.utils.StackTraceUtils not found. This class belongs to
          > > /weblogic/classes which is in my weblogic.class.path when the server is
          > > started.
          > >
          > > I'm guess weblogic server ran into some unexpected exception and the
          > > logger wanted to call this class to report the error. So I need to find
          > > out 2 things:
          > >
          > > 1. how to reveal the real exception/error.
          > > 2. what to do to avoid the exception (since it worked fine for 200
          > > virtual users).
          > >
          > > For 1, I have no clue. Hope someone out there can help me.
          > >
          > > For 2, I remember seeing "Too many opened files" at some run which may
          > > indicating that, when handling too many users (250) at one time, WL
          > > server has opened one copy of certain file (JSP/html) for each user and
          > > used up system allowed file handles. If this is true, I may be able to
          > > get rid of this problem by increasing the allowed number of file
          > > handles. But I'd like to see a better solution (say, configure the
          > > server certain way to share the files). By the way, this is not
          > > happening on NT. Maybe NT has more allowed file handles and I can only
          > > run as many as 250 users.
          > >
          > > Anyway comments are appreciated.
          > >
          > > -Wayne
          > >
          > > ----------------------- extract of server output --------------------
          > > ...
          > > The errorIndices is currently: []
          > > Hints validated.java.lang.NullPointerException
          > > at weblogic.boot.ServerClassLoader.findLocalClass(Compiled
          > > Code)
          > > at weblogic.boot.ServerClassLoader.loadClass(Compiled Code)
          > > at java.lang.ClassLoader.loadClass(Compiled Code)
          > > at java.lang.ClassLoader.loadClassInternal(Compiled Code)
          > > at
          > > weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
          > > at weblogic.logging.LogManager.log(Compiled Code)
          > > at weblogic.logging.LogOutputStream.error(Compiled Code)
          > > at weblogic.t3.srvr.ListenThread.run(Compiled Code)
          > > java.lang.NullPointerException
          > > at weblogic.boot.ServerClassLoader.findLocalClass(Compiled
          > > Code)
          > > at weblogic.boot.ServerClassLoader.loadClass(Compiled Code)
          > > at java.lang.ClassLoader.loadClass(Compiled Code)
          > > at java.lang.ClassLoader.loadClassInternal(Compiled Code)
          > > at
          > > weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
          > > at weblogic.logging.LogManager.log(Compiled Code)
          > > at weblogic.logging.LogOutputStream.alert(Compiled Code)
          > > at weblogic.t3.srvr.ListenThread.run(Compiled Code)
          > > Wed Nov 22 15:25:09 MST 2000:<!> <ListenThread> **** The WebLogic Server
          > > is n\
          > > o longer listening for connections.
          > > Wed Nov 22 15:25:09 MST 2000:<!> <ListenThread> **** You should probably
          > > rest\
          > > art it.
          > > Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown by
          > > system
          > > Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown
          > > commencing \
          > > NOW
          > > Wed Nov 22 15:25:09 MST 2000:<A> <SSLListenThread> ListenThread.run()
          > > failed:\
          > >
          > > java.lang.ThreadDeath
          > >
          > > Wed Nov 22 15:25:09 MST 2000:<!> <SSLListenThread> **** The WebLogic
          > > Server i\
          > > s no longer listening for connections.
          > > Wed Nov 22 15:25:09 MST 2000:<!> <SSLListenThread> **** You should
          > > probably r\
          > > estart it.
          > > Wed Nov 22 15:25:09 MST 2000:<I> <WebLogicServer> Server shutdown by
          > > system
          > > java.lang.NoClassDefFoundError: weblogic/utils/StackTraceUtils
          > > at
          > > weblogic.logging.TextStreamLogger.log(TextStreamLogger.java:77)
          > > at weblogic.logging.LogManager.log(Compiled Code)
          > > at weblogic.logging.LogOutputStream.alert(Compiled Code)
          > > at weblogic.t3.srvr.ListenThread.run(Compiled Code)
          > > hints are: [Ljava.lang.String;@1646d1e
          > > hints are: [Ljava.lang.String;@ef3ad1
          > > hints are: [Ljava.lang.String;@a43826
          > > ....
          

Similar Messages

  • Error:Class java.util.date not found

    i have installed 9iAS on my computer.And i want to develop program on JSP.i tried the url below
    http://eyuksel/servlet/IsItWorking
    and i got "it is working" message.when i try to execute my first jsp file i get the error:
    Errors compiling:d:\ias\apache\apache\htdocs\_pages\\_first.java
    d:\ias\apache\apache\htdocs\_pages\_first.java:55: Class java.util.date not found.
    out.print( new java.util.date() );
    ^
    1 error
    what must i do or how can i install the java classes.
    kind regards...
    null

    Thank you very much.It worked:)
    Java is case-sensitive.
    try
    java.util.Date
    instead of
    java.util.date
    null

  • CIM.bat giving error that weblogic lib path not found

    I am using atg 9.1 and weblogic 10.3.2. Installed both s/w and started weblogic server. I am using cim.bat to configure and I am stuck at a point where it asks for the app server I am using and I selected 'Weblogic' and when it asked for the path..I gave the correct path where weblogic is installed...but it says Weblogic lib path not found...even though I can see the server/lib directory...could you please help ?

    Yes, I did that...my weblogic is installed in c:\Oracle\Middleware\wlserver_10.3.2 and CIM gives a message that [c:/Oracle/Middleware/wlserver_10.3.2/server/lib] weblogic lib path not found
    Also I see c:\Oracle\Middleware\wlserver_10.3.2\server\lib directory and all the required weblogic files available in that directory.

  • Spring + weblogic. NamedQuery not found

    I've posted this at the [Spring forum|http://forum.springframework.org/showthread.php?t=67389] as well(, just wanted to try here too...
    We're new to about all of the technology we're working with, and we're having a hard time to get it all right. Please bear with us...
    We are developing a web application in JDeveloper 11g, using the integrated WebLogic Server and trying to configure Spring correctly. We don't have any experience with Spring, so we're just looking at examples and trying to figure it out. When running the application on the server, it seems that we get a connection to the database, but there are no Spring instances visible in the console...and when loading a jsf page, we get this error:
    12.feb.2009 10:51:16 oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
    WARNING: ADFc: Det oppstod et uventet unntak: javax.ejb.EJBException, mld=EJB Exception: : java.lang.IllegalArgumentException: NamedQuery of name: CseAnalysis.findAll not found.
         at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getDatabaseQuery(EJBQueryImpl.java:454)
         at org.eclipse.persistence.internal.jpa.EJBQueryImpl.setAsSQLReadQuery(EJBQueryImpl.java:117)
         at org.eclipse.persistence.internal.jpa.EJBQueryImpl.getResultList(EJBQueryImpl.java:503)
         at no.csam.plexus.configmanager.lab.dao.LabDAOImpl.queryCseAnalysisFindAll(LabDAOImpl.java:166)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy110.queryCseAnalysisFindAll(Unknown Source)
         at no.csam.plexus.configmanager.lab.service.LabEJBBean.queryCseAnalysisFindAll(LabEJBBean.java:111)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    Here are some snippets of code:
    EntityBean:
    @Entity
    @NamedQueries({
    @NamedQuery(name = "CseAnalysis.findAll", query = "select o from CseAnalysis o")
    @Table(name = "CSE_ANALYSIS")
    @IdClass(CseAnalysisPK.class)
    public class CseAnalysis implements Serializable {
    DAO:
    @Transactional
    @Repository
    public class LabDAOImpl implements LabDAO{
    @PersistenceContext
    private EntityManager em;
    /** <code>select o from CseLabAnalysis o</code> */
    public List<CseLabAnalysis> queryCseLabAnalysisFindAll() {
    return em.createNamedQuery("CseLabAnalysis.findAll").getResultList();
    SessionBean:
    @Stateless(name = "LabEJB", mappedName = "LabEJBBean")
    @PersistenceContext(name="CM_Service/EntityManager",unitName="CM_Service")
    @Remote
    @Local
    public class LabEJBBean extends AbstractStatelessSessionBean implements LabEJB, LabEJBLocal {
    private LabDAO labDAO;
    public LabEJBBean(){}
    protected void onEjbCreate() {
    labDAO = (LabDAO)getBeanFactory().getBean("labDAO");
    public List<CseLabAnalysis> queryCseLabAnalysisFindAll() {
    return labDAO.queryCseLabAnalysisFindAll();
    Spring config:
    <jee:jndi-lookup id="entityManagerFactory"
    jndi-name="java:comp/env/persistenceUnit"/>
    <bean id="transactionManager"
    class="org.springframework.transaction.jta.WebLogicJtaTransactionManager"/>
    <bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor"/>
    <bean id="LabEJB" class="no.csam.plexus.configmanager.lab.service.LabEJBBean">
    <property name="labDAO" ref="labDAO"/>
    </bean>
    <bean id="labDAO" class="no.csam.plexus.configmanager.lab.dao.LabDAOImpl"></bean>
    <tx:annotation-driven/>
    persistence.xml:
    <persistence-unit name="CM_Service" transaction-type="JTA">
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
    <jta-data-source>jdbc/ODSDS</jta-data-source>
    <properties>
    <property name="eclipselink.logging.level" value="FINE"/>
    <property name="javax.persistence.jtaDataSource"
    value="jdbc/ODSDS"/>
    <property name="eclipselink.target-server" value="WebLogic_10"/>
    </properties>
    </persistence-unit>
    Any hints or guidance will be appriciated.
    Thanks in advance

    Hi,
    if you have no experience with Spring, how did you get your application developed ? Anyway, I suggest you try the WLS forum here on OTN since the server configuration is not in the domain of JDeveloper
    WebLogic Server - General
    Frank

  • Import export utility user not found

    I'm getting the following error when running the 9.3.1 ImportExportUtility on a 9.2.0.2 version of Shared Services. NTLM is used as the authentication provider.
    2009-06-19 08:49:30,642 Export : Exception encountered while retrieving user ntlm://SID=S-1-5-21-2134593322-327503246-231145771-21130?USER
    2009-06-19 08:49:30,642 Export : Root cause : User not found with identity = ntlm://SID=S-1-5-21-2134593322-327503246-231145771-21130?USER
    2009-06-19 08:49:30,658 Export : Silently ignoring the last error
    There were 99 users extracted and this message appeared for 36 of the 99. Could someone tell me where the users are not in sync. Is it between Open Ldap and NTLM, Open Ldap and the application repository, etc. Also, is there a way of identifying the user Id. from the message.
    Thanks,
    Tom

    I finally found a real solution to this problem and I wish I had found it sooner.......
    Starting sometime around 9.2, Oracle started including a tool called : UpdateNativeDir
    The primary purpose of the tool (as I understand it) is to allow you to do a refresh between your external provider (i.e. Active Directory) and the native (OpenLDAP) directory in the event you moved directories around. This tool will also purge any invalid entries that are in the local (LDAP) directory that are not in the external provider.
    The tool is pretty straight forward and the readme file explains the details of how to use it.
    I've tested this tool in our dev and production environments now and it does exactly what I need. The additional benefit is that I can schedule this to run periodically to ensure the directories are sync'd.
    The tool is going to be on your Shared Services machine and comes zipped in a file called UpdateNativeDir.zip
    According to the documention (9.2.0.3) it is located at :
    <Hyperion_Home>/common/utilities/nativedirectoryupdateutility
    On our 9.3.1 Shared Services box, I located it at :
    <Hyperion_Home>/common/utilities/SyncOpenLdapUtility

  • Adobe.utils.Extension not found in Adobe flash professional CS5

    Hi,
    In my machine I have installed only  Adobe Flash CS5 proffesional trial version. Now this installation is not supporting adobe.utils.Extension class in this version. I have tried with all latest updates from adobe site. My doubt is does adobe.utils.Extension class is available in licensed version of Adobe Flash CS5 proffesional?
    Thanks

    Hi,
    Thanks for your reply.
    Actually our flash IDE supports adobe.utils.*
    When we import
    import adobe.utils.CustomActions and import adobe.utils.XMLUI, we are getting these two classes as blue colour as
    adobe.utils.CustomActions ;
    adobe.utils.XMLUI;
    , that means it is recognized as AS3 classes which is contained in adobe.util package. But when we import Extension this not happening.
    adobe.utils.Extension;
    ie Extension class is not recognized the IDE.
    But when we typing these import statement in timeline we can see the hint for these three classes.
    Thanks

  • Tomcat 3.3, Cocoon 1.8.2. util.xsl not found

    Hello,
    Once I installed Tomcat and Cocoon, I wanted to test my installation by loading up the Cocoon information URI : http://localhost:8080/cocoon/Cocoon.xml
    Problem:
    java.lang.RuntimeException: Error loading logicsheet at file://org/apache/cocoon/processor/xsp/library/java/util.xsl due to java.net.UnknownHostException: org
    I can't access to the file util.xsl. I checked, it is in the right place.
    As I had these errors...
    java.lang.RuntimeException: Error creating org.apache.cocoon.parser.XercesParser: make sure the needed classes can be found in the classpath (org/apache/xerces/framework/XMLParser)
    ...and...
    java.lang.RuntimeException: Error creating org.apache.cocoon.transformer.XalanTransformer: make sure the needed classes can be found in the classpath (org/apache/xalan/xpath/xml/XMLParserLiaison)
    ...always when I want access to Cocoon.xml file, I copied xalan_1_2_D02.jar and xerces_1_2.jar in TOMCAT_HOME\webapps\cocoon\WEB-INF\lib to fix these problems.
    So I tried to do the same thing with cocoon.jar file.
    What I tried to do :
         * copy cocoon.jar in TOMCAT_HOME\webapps\cocoon\WEB-INF\lib
         * I changed resource:// into file:// in cocoon.properties file
         * I tried to put the whole path : file://mypath/util.xsl
         * I copied COCOON_HOME\build\classes\org\*.* in
         TOMCAT_HOME\webapps\cocoon\WEB-INF
    Is anybody have an explanation, doc...
    Thanks in advance.
    Julien

    Problem:
    java.lang.RuntimeException: Error loading logicsheet
    at
    file://org/apache/cocoon/processor/xsp/library/java/uti
    .xsl due to java.net.UnknownHostException: org
    I can't access to the file util.xsl. I checked, it is
    in the right place.I've noticed that Java file-urls need either one or thee slashed (/) to work, so either:
    file:///
    or
    file:/
    Otherwise it goes looking for a web host by the name of the file, which is really strange behaviour.
    Tuomas Rinta

  • BEA/Weblogic:Error 404- not found help

    I am trying to follow an example in Bea weblogic Server for Dummies and I got that error when trying to test the web application.
    Follow these steps to create a web application:
    1. Make sure that WebLogic is not running.
    If you started WebLogic from the Start menu, simply close WebLogic’s
    window. If you started WebLogic as a service, stop the service.
    2. Create your application directory.
    Choose a name for your web application and create a directory of the
    same name in your domain’s applications directory. For example, if
    you wanted to create an application named myapp, you would create a
    directory named
    c:\bea\user_projects\mydomain\applications\myapp
    3. Create an index file named index.html.
    Create an index file that will be displayed when the user visits your web
    site. Listing 5-1 shows a sample index file.
    4. Create your WEB-INF directory.
    The WEB-INF directory holds configuration files needed by your web
    application. You should create a WEB-INF directory within the directory
    you created in Step 2. If your web application were named myapp, for
    example, your WEB-INF directory would be named
    c:\bea\user_projects\mydomain\applications\myapp\WEB-INF
    5. Create a web application descriptor named web.xml and save it in the
    WEB-INF directory.
    index.html File:
    <html>
    <head>
    <title>Welcome</title>
    </head>
    <body>
    <h1>Welcome</h1>
    </body>
    </html>
    web.xml file:
    <?xml version=”1.0” encoding=”UTF-8” ?>
    <!DOCTYPE web-app PUBLIC
    “-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN”
    “http://java.sun.com/dtd/web-app_2_3.dtd” >
    <web-app>
    <display-name>Example Application</display-name>
    </web-app>
    When I tried to test the application with http://localhost:7001/myapp, I get that 404 error.
    Appreciate any advice given. Thanks.

    I am trying to follow an example in Bea weblogic Server for Dummies and I got that error when trying to test the web application.
    Follow these steps to create a web application:
    1. Make sure that WebLogic is not running.
    If you started WebLogic from the Start menu, simply close WebLogic’s
    window. If you started WebLogic as a service, stop the service.
    2. Create your application directory.
    Choose a name for your web application and create a directory of the
    same name in your domain’s applications directory. For example, if
    you wanted to create an application named myapp, you would create a
    directory named
    c:\bea\user_projects\mydomain\applications\myapp
    3. Create an index file named index.html.
    Create an index file that will be displayed when the user visits your web
    site. Listing 5-1 shows a sample index file.
    4. Create your WEB-INF directory.
    The WEB-INF directory holds configuration files needed by your web
    application. You should create a WEB-INF directory within the directory
    you created in Step 2. If your web application were named myapp, for
    example, your WEB-INF directory would be named
    c:\bea\user_projects\mydomain\applications\myapp\WEB-INF
    5. Create a web application descriptor named web.xml and save it in the
    WEB-INF directory.
    index.html File:
    <html>
    <head>
    <title>Welcome</title>
    </head>
    <body>
    <h1>Welcome</h1>
    </body>
    </html>
    web.xml file:
    <?xml version=”1.0” encoding=”UTF-8” ?>
    <!DOCTYPE web-app PUBLIC
    “-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN”
    “http://java.sun.com/dtd/web-app_2_3.dtd” >
    <web-app>
    <display-name>Example Application</display-name>
    </web-app>
    When I tried to test the application with http://localhost:7001/myapp, I get that 404 error.
    Appreciate any advice given. Thanks.

  • Error: Class java.util.ArrayList not found in import

    Bear with me, I'm learning. That's part of the problem.
    I'm trying to teach myself JSP using a book based on Tomcat, but running it on an Oracle 9iAS server that I don't control. (The DBAs do that.) I'm running into constant problems compiling and using classes and such, I think because of the different directory structures on the two servers. (See subject error.)
    So, what I'd like to know is: how do I set up a default/main/whatever-you-want-to-call-it directory under which I can store my practice applications, such that 9iAS will function correctly? We're not using OC4J as far as I can see (no such directory, though there is a J2EE_containers folder), just JServ. Or, conversely, can someone explain in simple terms the basic 9iAS directory structures for deploying apps on 9iAS? I've been 'round and 'round the Oracle documentation until my head spins, and can't find this basic information.
    Help, please!!

    You will have to make Kawa to use the correct jdk
    Look into
    Options-> Directory
    Make a new Profile if it point to your old jdk version
    Thanks
    Joey

  • Class weblogic.management.WeblogicMBean not found

    Hi all
    I meet this problem when I try to run Junit test case in fork mode (starting each test in a separate JVM) using Build ant file.
    [junit] Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/management/WebLogicMBean
    [junit]      at java.lang.ClassLoader.defineClass1(Native Method)
    [junit]      at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
    [junit]      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    [junit]      at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    [junit]      at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    [junit]      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    [junit]      at java.security.AccessController.doPrivileged(Native Method)
    [junit]      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [junit]      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    [junit]      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    [junit]      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    [junit]      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    [junit]      at java.lang.ClassLoader.defineClass1(Native Method)
    [junit]      at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
    [junit]      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    [junit]      at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    [junit]      at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    [junit]      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    [junit]      at java.security.AccessController.doPrivileged(Native Method)
    [junit]      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    [junit]      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    [junit]      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    [junit]      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    [junit]      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    [junit]      at java.lang.ClassLoader.defineClass1(Native Method)
    [junit]      at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
    [junit]      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    [junit]      at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    [junit]      at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    [junit]      at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    I have the library weblogic.jar in my build library folders, which is set as classpath for the junit task. I look at this file and can't find the WeblogicMBean.class inside.
    However, in Jdev, I can import weblogic.management.WeblogicMBean into my class if I set library reference to this weblogic.jar file and compile my class without problem.
    Any suggestion of what really goes wrong?
    Thanks a lot.

    The Class is Physically present inside : <b> <BEA_HOME>\modules\com.bea.core.management.core_2.3.0.0.jar </b>.
    So you need to add this JAR separately in your Classpath.
    The Best and Recommended way to do this is Make *"wlfullclient.jar"* which contains almost all the required classes which is needed to interact with WebLogic. So By Adding this Single Jar you can easily do this. to make this Jar please refer to: http://jaysensharma.wordpress.com/2010/02/03/building-wlfullclient-jar/

  • Source file for java.util.Vector not found ?

    Hi !
    In the Source Editor, hold down the Ctrl key and move the mouse over a class identifier belonging to the NetBeans APIs. A hyperlink appears. Click on the hyperlink and the cursor jumps to the related NetBeans API class.
    (Alt--O)
    Can anybody tell me, why this doesn't work in an Mobile Application ?
    thanks.
    (Show JavaDoc (Alt-F1) doesn't work in Mobile and EE ??)

    do you link javaee and javame sources with Netbeans?
    (you should ask it on a NetBeans forum??)

  • [solved] error: gnome-doc-utils = 0.3.2 not found during configuring

    When configuring libdbusmenu after downloading the PKGBUILD from AUR, I get the following error:
    [tharriso@localhost libdbusmenu]$ makepkg
    ==> Making package: libdbusmenu 12.10.2-1 (Tue Feb 26 21:04:56 CST 2013)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Found libdbusmenu-12.10.2.tar.gz
    ==> Validating source files with md5sums...
    libdbusmenu-12.10.2.tar.gz ... Passed
    ==> Extracting Sources...
    -> Extracting libdbusmenu-12.10.2.tar.gz with bsdtar
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking whether NLS is requested... yes
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking for intltool >= 0.35.0... 0.50.2 found
    checking for intltool-update... /usr/bin/intltool-update
    checking for intltool-merge... /usr/bin/intltool-merge
    checking for intltool-extract... /usr/bin/intltool-extract
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for perl... /usr/bin/perl
    checking for perl >= 5.8.1... 5.16.2
    checking for XML::Parser... ok
    checking for library containing strerror... none required
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking whether gcc and cc understand -c and -o together... yes
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking how to print strings... printf
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking whether make supports nested variables... yes
    checking for glib-mkenums... /usr/bin/glib-mkenums
    checking for pkg-config... /home/tharriso/ApeInstalled/External/pkg-config/0.22/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for gtkdoc-check... /usr/bin/gtkdoc-check
    checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
    checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
    checking whether to build gtk-doc documentation... no
    checking gnome-doc-utils >= 0.3.2... no
    configure: error: gnome-doc-utils >= 0.3.2 not found
    ==> ERROR: A failure occurred in build().
    Aborting...
    Some things I've tried -
    [tharriso@localhost libdbusmenu]$ pkg-config --modversion gnome-doc-utils
    Package gnome-doc-utils was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gnome-doc-utils.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'gnome-doc-utils' found
    [tharriso@localhost libdbusmenu]$ pacman -Q gnome-doc-utils
    gnome-doc-utils 0.20.10-1
    Found a few results on Google where people mention the same error with a different package, but haven't found any solutions.
    Last edited by harro112 (2013-02-26 12:37:33)

    checking for pkg-config... /home/tharriso/ApeInstalled/External/pkg-config/0.22/bin/pkg-config
    current pkg-config version in arch is 0.28-1 , and should be found as /usr/bin/pkg-config .

  • Chn.util not found?

    I know this is only a question that I a new person to java will ask but.
    I cant seem to run my program cause the chn.util is not found?
    Isnt it supposed to come with netbean. I found the .jar file but i dont know where to put it
    change.java [4:1] package chn.util does not exist
    import chn.util.*;
    Heres the problem i found.
    P.S.
    whats a javadoc?
    I know its supposed to be like helpers but i cant find any javadocs to compile/execute/mount

    If you need to use it in Netbeans (NB), putting it in your classpath will not work. NB, like most Integrated Development Environments (IDE) does not use the externally set classpath. For NB to recognize it, you need to mount it in NB. Click the File menu and select mount. NB help has extensive information about this.
    These are JavaDocs, also called Java Application Program Interface (API) Specifications
    http://java.sun.com/j2se/1.4.2/docs/api/index.html
    They can be downloaded to your machine from here as part of the Java Documentation
    http://java.sun.com/j2se/1.4.2/download.html

  • Weblogic 6 Post Installation Problem - weblogic.Server not found

    I reinstalled my recent downloads of the evaluation
    copy of Weblogic 6.0 server three times on my NT 4.0 Service
    pack 6 notebook computer. Installation works. However, I can't
    start the server using the "startWebLogic.cmd". I get an error
    that says that the class "weblogic.Server" is not
    found -
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
    javap command cannot locate the class either.
    My suspicion: weblogic .jar is corrupt.
    Question: How do I get a new jar file? I have already
    downloded the install files twice with no luck.
    I have enclosed the command prompt messages.
    [d:\bea\wlserver6.0\config\myadmindomain]setEnv
    set WL_HOME=d:\bea\wlserver6.0
    set JAVA_HOME=d:\bea\jdk130
    set CLASSPATH=d:\bea\jdk130\lib\tools.jar;d:\bea\wlserver6.0\lib\weblogic_sp.jar
    ;d:\bea\wlserver6.0\lib\weblogic.jar;
    set PATH=d:\bea\wlserver6.0\bin;d:\bea\jdk130\bin;c:\junk;C:\WINNT\SYSTEM32;C:\W
    INNT;C:\MWW32\BIN;C:\MWW32\MODEM;D:\Program Files\Mts;.;D:\Microsoft Visual Stud
    io\Common\MSDev98\Bin;D:\Microsoft Visual Studio\Common\IDE\IDE98;D:\Microsoft V
    isual Studio\VB98;D:\Microsoft Visual Studio\VIntDev98\bin;D:\Microsoft Visual S
    tudio\VC98\Bin;D:\Microsoft Visual Studio\Common\Tools;
    Your environment has been set.
    [d:\bea\wlserver6.0\config\myadmindomain]startWebLogic.cmd
    set PATH=.\bin;d:\bea\wlserver6.0\bin;d:\bea\jdk130\bin;c:\junk;C:\WINNT\SYSTEM3
    2;C:\WINNT;C:\MWW32\BIN;C:\MWW32\MODEM;D:\Program Files\Mts;.;D:\Microsoft Visua
    l Studio\Common\MSDev98\Bin;D:\Microsoft Visual Studio\Common\IDE\IDE98;D:\Micro
    soft Visual Studio\VB98;D:\Microsoft Visual Studio\VIntDev98\bin;D:\Microsoft Vi
    sual Studio\VC98\Bin;D:\Microsoft Visual Studio\Common\Tools;
    set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
    "d:\bea\jdk130\bin\java" -hotspot -ms64m -mx64m -classpath .;.\lib\weblogic_sp.j
    ar;.\lib\weblogic.jar -Dweblogic.Domain=myAdminDomain -Dweblogic.Name=myserver "
    -Dbea.home=d:\bea" "-Djava.security.policy==d:\bea\wlserver6.0/lib/weblogic.poli
    cy" -Dweblogic.management.password= weblogic.Server
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
    goto finish
    cd config\myAdminDomain
    ENDLOCAL
    [d:\bea\wlserver6.0\config\myadmindomain]javap weblogic.Server
    Class 'weblogic.Server' not found

    It looks like your startWebLogic.cmd script has problems with the class
    path. You should doublecheck that.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems
    Learning WebLogic? http://learnweblogic.com
    "Bindu Rao" <[email protected]> wrote in message
    news:[email protected]...
    >
    I reinstalled my recent downloads of the evaluation
    copy of Weblogic 6.0 server three times on my NT 4.0 Service
    pack 6 notebook computer. Installation works. However, I can't
    start the server using the "startWebLogic.cmd". I get an error
    that says that the class "weblogic.Server" is not
    found -
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
    javap command cannot locate the class either.
    My suspicion: weblogic .jar is corrupt.
    Question: How do I get a new jar file? I have already
    downloded the install files twice with no luck.
    I have enclosed the command prompt messages.
    [d:\bea\wlserver6.0\config\myadmindomain]setEnv
    set WL_HOME=d:\bea\wlserver6.0
    set JAVA_HOME=d:\bea\jdk130
    setCLASSPATH=d:\bea\jdk130\lib\tools.jar;d:\bea\wlserver6.0\lib\weblogic_sp.jar
    ;d:\bea\wlserver6.0\lib\weblogic.jar;
    setPATH=d:\bea\wlserver6.0\bin;d:\bea\jdk130\bin;c:\junk;C:\WINNT\SYSTEM32;C:\W
    INNT;C:\MWW32\BIN;C:\MWW32\MODEM;D:\Program Files\Mts;.;D:\MicrosoftVisual Stud
    io\Common\MSDev98\Bin;D:\Microsoft VisualStudio\Common\IDE\IDE98;D:\Microsoft V
    isual Studio\VB98;D:\Microsoft Visual Studio\VIntDev98\bin;D:\MicrosoftVisual S
    tudio\VC98\Bin;D:\Microsoft Visual Studio\Common\Tools;
    Your environment has been set.
    [d:\bea\wlserver6.0\config\myadmindomain]startWebLogic.cmd
    setPATH=.\bin;d:\bea\wlserver6.0\bin;d:\bea\jdk130\bin;c:\junk;C:\WINNT\SYSTEM3
    2;C:\WINNT;C:\MWW32\BIN;C:\MWW32\MODEM;D:\Program Files\Mts;.;D:\MicrosoftVisua
    l Studio\Common\MSDev98\Bin;D:\Microsoft VisualStudio\Common\IDE\IDE98;D:\Micro
    soft Visual Studio\VB98;D:\Microsoft VisualStudio\VIntDev98\bin;D:\Microsoft Vi
    sual Studio\VC98\Bin;D:\Microsoft Visual Studio\Common\Tools;
    set CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar
    "d:\bea\jdk130\bin\java" -hotspot -ms64m -mx64m -classpath.;.\lib\weblogic_sp.j
    >
    ar;.\lib\weblogic.jar -Dweblogic.Domain=myAdminDomain -Dweblogic.Name=myserv
    er "
    -Dbea.home=d:\bea""-Djava.security.policy==d:\bea\wlserver6.0/lib/weblogic.poli
    cy" -Dweblogic.management.password= weblogic.Server
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
    goto finish
    cd config\myAdminDomain
    ENDLOCAL
    [d:\bea\wlserver6.0\config\myadmindomain]javap weblogic.Server
    Class 'weblogic.Server' not found

  • HT3728 airport utility does not see my time capsule

    I got a Time Capsule for Christmas, have hooked it up, turned it on, then the Airport Utility. The airport utility has not found it - I have reset it using the button on the back several times and still nothing. I have also restarted my computer, which is a new macbook pro, but nothing.
    Advice please! I am new to Mac and am quite frustrated, considering returning the Time Capsule, if I can ...

    That was not helpful of Apple at all, as this is a much trickier setup..
    I have just posted details in another thread. Longish post I am not sure how to reference a particular post.
    https://discussions.apple.com/thread/3528704?tstart=0
    Please follow those instructions to load 5.6 airport utility.. as you will find it much better.
    In your case you will need to do the same thing but on the airport setup.. which is another layer in to ethernet.
    But the idea is the same.. do not use automatic setup of the wireless IP settings.. you need to do it manually but it is relatively easy. Again you need to make sure your ISP is not using a 10.x.x.x address as many do.. the cheap skates are saving IP addresses. If they do that you will need to use manual setup of the TC as well.
    You will still want to do the setup of the TC by ethernet.. but can use wireless once it is done.
    Exactly as in the other thread, go to airport in network preference and go to the airport setup, then fix the IP address as I have shown.
    If you need more info try to ask specific questions .. screenshots also help.

Maybe you are looking for

  • How can i Print (with the printer) a JFrame by clicking a button?

    i have a jframe with image and lables on it... how can i send it to print by clicking the mouse i mean what to write at the ActionListener? Thanks!

  • How to get rid of ALL the preview Icons in all the folders?

    I want all the files on my computer to show the generic icon of the app, not the preview of it. I use very small icons and icon preview is a torture instead of pleasure – finding things in folders is an unbearable adventure. I have untaged the "Show

  • Spotlight and iPhoto 6

    I know there have been a lot of posts regarding this issue; most people seem to have found a solution by using the "mdimport -f ~/Pictures" command in Terminal, applying a bogus keyword to every photo in the library, and then removing it. Unfortunate

  • CS6 creates HTML5 and warns of incompatability on the fly...true ?

    Hi, A good reason to get an upgrade from CS5 to CS6 is that CS6 can output as HTML5 so I am told. As there are features in flash that HTML5 can't reproduce, I am told that you can elect to have CS6 warn of these as you use them in your project when y

  • OpsMgr 2012 R2 UR2 - Dashboards - unknown state

    Hi All We are running OM 2012 R2 UR2 with SQL2012 on Server 2012 R2. With UR 2 a whole stack of additional dashboards were added. We have a state tile widget, it shows 3 things. I add an object for lync (LS Deployment object) and the state shows unkn