Need to get TOMCAT to talk HTTP1.0

I am developing an MIDP application that suppose to connect to a remote databse. In the test environment, I configured TOMCAT for web service and published the application. However the MIDP is returning Exception message indicating that it expects the web server to communicate with HTTP1.0 (as this is the language used by the wireless toolkit in the development environment.
Please help

try to find an ancient version??
how much do you want the web server to do, would a simple one suffice?, you could write/copy one...

Similar Messages

  • Need help getting Tomcat 5.0.28 to start (and stop, eventually)

    Hi!
    I am such a newbie to the Terminal and writing scripts, so please forgive my naiveté. I have successfully installed Tomcat in my /usr/local directory, but I am having trouble creating files to start and stop Tomcat, per the instructions on the following page:
    http://developer.apple.com/internet/java/tomcat1.html
    I've followed the directions but continue to get the following error after I execute ~/bin/start_tomcat.
    -bash: start_tomcat: command not found
    My file contains the following code:
    #!/bin/sh /n
    export CATALINA_HOME=/usr/local/jakarta-tomcat-5.0.28 /n
    export JAVA_HOME=/usr /n
    $CATALINA_HOME/bin/startup.sh /n
    If anyone can help me, I would really, really, really appreciate it!
    Thanks!
    PowerBook G4 12"   Mac OS X (10.4.5)  

    Why are there all those "/n" there? Either you or the place you copied from has the wrong slash. But still, it's wronger than that to have them at all: "\n" means a newline (i.e., press "return") not the actual "backslash en" characters. Sometimes people post code with those \n visible: by making it explicit where a line-break should be, one doesn't have as much trouble when a web browser reformats the text and puts line breaks where they don't belong.

  • HT4061 Just need to get someone to talk to me instead of ducking my questions

    Why so many blank pages when web surfing (yahoo pares even)and how the **** do you add something to favorites?
    Why so hard to get help?

    In Safari, tap the action icon next to the URL field - the icon that looks like a square with the arrow pointing up - then select Bookmark from the pop up window, then select Favorites as the location and save it in Favorites.
    Not sure what you mean about the blank pages

  • Getting apache to talk to Tomcat

    I am trying to get apache to talk to tomcat and when I am compiling the mod_jk.so (Jakarta connectors kit) i am getting a few errors when i run make. I was hoping you can point me in the right direction to get the mod_jk.so binaries so that i can get apache to serve my JSP's. I already tried to uncomment the line in the httpd.conf to include tomcat and renamed the server.xml file. So at this point I am a little stuck.
    Here are the make errors:
    # make
    Making all in common
    make[1]: Entering directory `/usr/apache/jakarta-tomcat-connectors-jk-1.2.6-src/jk/native/common'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/apache/jakarta-tomcat-connectors-jk-1.2.6-src/jk/native/common'
    Making all in apache-2.0
    make[1]: Entering directory `/usr/apache/jakarta-tomcat-connectors-jk-1.2.6-src/jk/native/apache-2.0'
    /bin/bash /var/apache2/build/libtool silent mode=compile /opt/SUNWspro/bin/cc -I/usr/apache2/include -g -O2 -DUSE_APACHE_MD5 -I ../common -I /include -I /include/unix -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -xO3 -xarch=v8 -xspace -W0,-Lt -W2,-Rcond_elim -Xa -xildoff -DSSL_EXPERIMENTAL -DSSL_ENGINE -DHAVE_APR -I/usr/share/src/apache2/srclib/apr/include -g -O2 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -c mod_jk.c
    /var/apache2/build/libtool: line 862: /opt/SUNWspro/bin/cc: No such file or directory
    make[1]: *** [mod_jk.lo] Error 1
    make[1]: Leaving directory `/usr/apache/jakarta-tomcat-connectors-jk-1.2.6-src/jk/native/apache-2.0'
    make: *** [all-recursive] Error 1
    If i am going about this in the wrong way and this is already configured, can you tell me what you did to get it to work.
    Thanks,
    Brian

    Here is the solution:
    Use this fix to correct the build problems:
    1.http://forum.sun.com/thread.jspa?threadID=21555&messageID=67120
    2. make sure you have $JAVA_HOME in your .profile (or other login profile file)
    3. re-compile apache,
    4. install tomcat fresh with the axps switch
    5. compile and install the tomcat connectors
    6. modify your httpd.conf file, add the LoadModule lines right before section 2: (here they are)
    LoadModule jk_module libexec/mod_jk.so
    AddModule mod_jk.c
    7. right before section 3 of the httpd.conf add the JMount switches (this will serv JSP's from the website root dir)
    JkWorkersFile "/usr/local/apache/conf/workers.properties"
    JkLogFile "logs/mod_jk.log"
    JkLogLevel error
    JkMount /*.jsp default
    JkMount /examples/* default
    8. modify the server.xml file at the bottom (between the </Host> and </Engine> tag)below is the example :
    </Host>
    <Host name="www.yourdomain.com" debug="0"
    appBase="/usr/local/apache/htdocs" >
    <Context path="" docBase="" debug="0"/>
    </Host>
    </Engine>
    </Service>
    </Server>
    9. after you test it add in any custom directory configs you want. make sure that you edit the server.xml and httpd.conf to chage the documentroot of each.
    10. done

  • I have an iphone 4, need to get to cellular network data, it will only go as far as cellular on the phone, I have straight talk service. Please help! I cannot send or receive pics!

    I have an iphone 4, need to get to cellular network data, it will only go as far as cellular on the phone, I have straight talk service. Please help! I cannot send or receive pics!

    Is there any chance that you must have it in the package of your provider as an option?

  • What components do I need to get?

    Im getting totally confused with all these different packages.
    I want to create a flex app that connects to mysql.  I downloaded and installed the flex 3 plugin, tomcat, and the tomcat plugin.
    So now I can create a simple little app and show it from the server.
    But when I create a new flex project, it asks for server technology, which I guess is J2EE.  What is the remote object access service?  And lifecycle data services?
    Because if I select that I need to then select a flex war file, which I have no idea about.  Where is it?  Do I need to get it?
    And what about BlazeDS?  Do I need that?
    Or the lifecycle data service package?  Is that part of the flex plugin I installed (since I can select it with new flex project)?  And that install packages comes with its OWN tomcat.  I like to have tomcat run via eclipse...
    What do I need to be using here, and what do I not need to worry about?

    LCDS stands for LiveCycle Data Services:
    http://www.adobe.com/products/livecycle/dataservices/
    http://www.adobe.com/products/livecycle/dataservices/indepth.html
    In a nutshell, LCDS allows realtime data push/pull - keeping applications synchronized.
    BlazeDS is the open source variant:
    http://opensource.adobe.com/wiki/display/blazeds/BlazeDS/
    How to set up a BlazeDS project:
    http://learn.adobe.com/wiki/display/Flex/Creating+Flex+Builder+Projects+that+Use+Server+Te chnologies
    If you want a Flex application to "talk" to your server (e.g. to load data from MySQL) you can use Flex Remoting, which is a binary messaging format (AMF3). To do so, you'll need "something" on your server that understands that format, LCDS/BlazeDS is that "something".
    Remoting comes in different flavors:
    PHP - AMFPHP, ZendAMF
    ColdFusion - built in
    J2EE - BlazeDS, LCDS
    etc..
    In Flex you use <mx:RemoteObject /> for Flex Remoting:
    http://livedocs.adobe.com/flex/3/langref/mx/rpc/remoting/mxml/package-detail.html
    Mind you, Remoting is not the only way to communicate with a server.
    You can send and load data (GET/POST) using <mx:HTTPService /> and use soap services with <mx:WebService />
    http://livedocs.adobe.com/flex/3/langref/mx/rpc/http/mxml/HTTPService.html
    http://livedocs.adobe.com/flex/3/langref/mx/rpc/soap/mxml/package-detail.html

  • Problems getting tomcat to run on localhost or anywhere...

    I have a huge problem, I have a servlet that i'm developing for the company of my internship, and this is the first servlet i've ever had to develop. It has taken me the entire semester to get as far as i have, and i have a lot of time invested in getting this servlet-centric application to work.
    My problem is that i cannot even get tomcat web container to work right on just the local computer- much less the server it will need to run on to support this web app. I have looked through tons of documentation on the web and on the apache website for help on configuring tomcat, and have worked through tutorials on how to get it working, but have not yet had a success story. Time is really running to the line now!
    I have read that in order for tomcat to run on IIS you need to configure 'isapi_redirect.dll' and get IIS to filter requests to tomcat. I have even worked through tutorials in doing this, but cannot get it working still. I have tomcat installed, and even shutting off IIS will not allow me to run tomcat and get even an example file included with tomcat to load up when pointing to http://localhost:8080/ or any port listed in the server.xml config file. I can though, get IIS's default page to come up when it is running by pointing to http://localhost/.
    I have exhausted all ideas i have to try and make it work, and am not consulting the forum for help. I know there must be a simpler way to get tomcat working at least on the localhost. ANY advice that leads to me being able to get tomcat running right so i can even just test my servlet how it would run on my local computer would be very very great help. Also, if help can be given on how to get it installed with least amount of hassles on a web-hosting server it would be very appreciative.
    I am in desperate need of help on this,
    please please help me!
    -mike

    Found the problem- setup turned out a lot easier when i downloaded the right Tomcat file- i had the .zip- which doesn't have an installer on it- so i just talked to a friend, he recommended the one with the installer- less to go wrong in configuration- and it works perfect for the local machine at least- the server might be an issue with support mostly though- don't know yet til i test it there- thanx for trying to help- but got the problem fixed before you guys got the chance to really help much.

  • Getting Tomcat 4.1 to call EJBs in WLS 8.1

    I know this is not necessarily a new topic, but we're upgrading our Tomcat
    4.1 -> WLS 5.1 to a Tomcat 4.1 -> WLS 8.1 configuration.
    Firstly, has ANYONE got Tomcat 4.1.x to work with a post 5.1 container at
    all? Ever?
    We are using the T3 protocol to talk to our beans, and the goal, of course,
    is that our Tomcat based client code will ideally not have to change.
    Our beans are all EJB 1.1, and I have them loaded into a running WLS 8.1
    container. They appear to work.
    The way I tested to see if I could talk to WLS was by using a simple client
    that I had that gets an InitialContext, and then grabs a bean.
    I now have a simple JSP that essentially does the same thing. I've bundled
    this jsp into a properly formatted WAR file.
    Within this WAR file in the WEB-INF/classes directory are the Session bean
    Home and the Session Bean Remote interface classes.
    Within the WEB-INF/lib directory is the
    c:\bea\weblogic81\server\lib\weblogic.jar, slightly modified.
    After the first attempt to load this, Tomcat would complain because the
    weblogic.jar contains the javax.servlet package, so I exploded the
    weblogic.jar file, renamed javax/servlet to javax/servlet.x, and then
    rejarred the file. This file was placed into the WEB-INF/lib directory.
    This is otherwise a default Tomcat 4.1.18 binary package.
    Here's the WAR file contents:
    ./META-INF/MANIFEST.MF
    ./WEB-INF/classes/com/pfizer/ecms/as/CustomizationSession.class
    ./WEB-INF/classes/com/pfizer/ecms/as/CustomizationSessionHome.class
    ./WEB-INF/lib/wlsx.jar <-- Edited weblogic.jar
    ./WEB-INF/web.xml
    ./test.jsp
    This is the contents of the test.jsp:
    <%@ page language="java" %>
    <%@ page import="javax.naming.*" %>
    <%@ page import="com.pfizer.ecms.as.*" %>
    <%
    try{
    System.setProperty(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    System.setProperty(Context.PROVIDER_URL, "t3://localhost:7001");
    InitialContext ctx = new InitialContext();
    CustomizationSessionHome csth = (CustomizationSessionHome)
    ctx.lookup("CustomizationSession");
    CustomizationSession cst = csth.create();
    catch (Throwable t) {
    System.out.println(">>>t = " + t);
    t.printStackTrace(System.out);
    %>
    <HTML>
    <BODY>
    This is the jsp.
    </BODY>
    </HTML>
    Similar code to this has been working for us for 3 years so far.
    When I try and load the JSP, it dumps a stack trace. Here's the relevant
    bits up to the Tomcat container:
    t = java.lang.NoClassDefFoundError: weblogic/rmi/extensions/server/Stubjava.lang.NoClassDefFoundError: weblogic/rmi/extensions/server/Stub
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at
    weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLo
    ader.java:431)
    at
    weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.
    java:169)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:217)
    at
    weblogic.utils.classfile.utils.CodeGenerator.generateClass(CodeGenerator.jav
    a:71)
    at weblogic.rmi.internal.StubGenerator.getStubClass(StubGenerator.java:672)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:712)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:699)
    at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:76)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub(WLInitia
    lContextFactoryDelegate.java:486)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialCont
    extFactoryDelegate.java:449)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFac
    toryDelegate.java:345)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:308)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:234)
    at
    weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
    ory.java:135)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:175)
    at org.apache.jsp.test_jsp._jspService(test_jsp.java:51)
    What is interesting about this is that the system could "see"
    weblogic.utils.classloaders.GenericClassLoader, but THAT class could not
    find weblogic.rmi.extension.server.Stub, even though they are, ideally, at
    the same level within the Tomcat imposed hierarchy of classloaders.
    Unfortunately, we don't quite know where in that hierarchy each class is
    placed.
    Now, the culprit may well be java.security.SecureClassLoader (or, actually,
    the java.lang.ClassLoader.defineClass0), which is very high up in the
    hierarchy trying to load a the result of the StubGenerator, only to find
    that an associated class, weblogic.rmi.extensions.server.Stub, was "not
    found" because it only existed deep in the Tomcat hierarchy.
    One way that I tried to get around this was to start taking selective bits
    of of weblogic.jar and put them on the system CLASSPATH used by Tomcat when
    it starts up.
    This gets us farther along, in that more classes seem to load without
    getting the ClassDefNotFound error, but it finally leads us into this
    exception:
    The error is, with a small bit of stack dump:
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment not
    found on thread ]
    at
    weblogic.jndi.internal.NamingNodeReplicaHandler.<init>(NamingNodeReplicaHand
    ler.java:150)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at
    sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
    sorImpl.java:39)
    at
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
    torAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:306)
    at java.lang.Class.newInstance(Class.java:259)
    at
    weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectIn
    putStream.java:90)
    snip
    The relevant starting point is toward the middle of the stack trace:
    at
    weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:106
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:125)
    at
    com.pfizer.ecms.as.DataImporterSession_aiw0oz_HomeImpl_810_WLStub.create(Unk
    nown Source)
    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 com.pfizer.ecms.com.AppServer.createInstance(AppServer.java:163)
    at com.pfizer.ecms.com.AppServer.getDataImporterSession(AppServer.java:231)
    at
    com.pfizer.ecms.ws.ECMSActionServlet.testBeans(ECMSActionServlet.java:1662)
    at
    com.pfizer.ecms.ws.ECMSActionServlet.initOther(ECMSActionServlet.java:62)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:472)
    Now, according to the Weblogic documentation, the AssertionError exception
    "is impossible". Well, that's my job they say, doing the impossible.
    Minimally, it's a meaningless message to me and pretty much stops me cold.
    I have seen other discussions about Tomcat and how it's not J2EE, etc, and
    perhaps my expectations that this will work are too high. My concern with
    that is simply that in our case, Tomcat is a Fat Client no different from
    "any other Java application". We just use Tomcat to talk to beans rather
    than a custom client. The difficulty, it seems, is in the complexities of
    the Tomcat class loaders interoperating with the expectations of Weblogics
    classes et al.
    I've got a small application that does exactly what Tomcat wants to do, so
    "weblogic works", except of course, in Tomcat.
    So, in the end, I'm curious if others have some data on getting these two
    system cooperating. If anyone has any other ideas on how to use Tomcat as a
    client of Weblogic 8 that utilizes techniques besides replacing Tomcat
    (which is not an option at the moment) I'd like to hear those as well. I
    have been fighting this for days, and tried several things, but nothing
    "obvious" seems to help.
    Weblogic 8 has a "thin client" jar, but it's only useful for RMI rather than
    T3, plus it's still not clear how we'd go about rewriting the interfaces to
    support that versus the standard EJB interfaces already created for the
    beans.
    Any assistance greatly appreciated.
    Regards,
    Will Hartung
    ([email protected])

    Of course I feel obliged to first recommend that you run your webapps
    and EJBs in WLS. There's significant performance advantages and it
    greatly simpifies your life since you don't have to deal with another
    remote failure case.
    That being said, I believe it should be possible especially with 8.1 to
    make Tomcat a WLS client.
    Answers inline.
    Will Hartung wrote:
    I know this is not necessarily a new topic, but we're upgrading our Tomcat
    4.1 -> WLS 5.1 to a Tomcat 4.1 -> WLS 8.1 configuration.
    Firstly, has ANYONE got Tomcat 4.1.x to work with a post 5.1 container at
    all? Ever?
    We are using the T3 protocol to talk to our beans, and the goal, of course,
    is that our Tomcat based client code will ideally not have to change.
    Our beans are all EJB 1.1, and I have them loaded into a running WLS 8.1
    container. They appear to work.
    The way I tested to see if I could talk to WLS was by using a simple client
    that I had that gets an InitialContext, and then grabs a bean.
    I now have a simple JSP that essentially does the same thing. I've bundled
    this jsp into a properly formatted WAR file.
    Within this WAR file in the WEB-INF/classes directory are the Session bean
    Home and the Session Bean Remote interface classes.
    Within the WEB-INF/lib directory is the
    c:\bea\weblogic81\server\lib\weblogic.jar, slightly modified.My suggestion is to ditch the weblogic.jar and the joys of trying to
    modify it. I'd instead check out 8.1's thin client support:
    http://e-docs.bea.com/wls/docs81/rmi_iiop/rmiiiop2.html#1071450
    >
    After the first attempt to load this, Tomcat would complain because the
    weblogic.jar contains the javax.servlet package, so I exploded the
    weblogic.jar file, renamed javax/servlet to javax/servlet.x, and then
    rejarred the file. This file was placed into the WEB-INF/lib directory.
    This is otherwise a default Tomcat 4.1.18 binary package.
    Here's the WAR file contents:
    ./META-INF/MANIFEST.MF
    ./WEB-INF/classes/com/pfizer/ecms/as/CustomizationSession.class
    ./WEB-INF/classes/com/pfizer/ecms/as/CustomizationSessionHome.class
    ./WEB-INF/lib/wlsx.jar <-- Edited weblogic.jar
    ./WEB-INF/web.xml
    ./test.jsp
    This is the contents of the test.jsp:
    <%@ page language="java" %>
    <%@ page import="javax.naming.*" %>
    <%@ page import="com.pfizer.ecms.as.*" %>
    <%
    try{
    System.setProperty(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    System.setProperty(Context.PROVIDER_URL, "t3://localhost:7001");
    InitialContext ctx = new InitialContext();
    CustomizationSessionHome csth = (CustomizationSessionHome)
    ctx.lookup("CustomizationSession");
    CustomizationSession cst = csth.create();
    catch (Throwable t) {
    System.out.println(">>>t = " + t);
    t.printStackTrace(System.out);
    %>
    <HTML>
    <BODY>
    This is the jsp.
    </BODY>
    </HTML>
    Similar code to this has been working for us for 3 years so far.
    When I try and load the JSP, it dumps a stack trace. Here's the relevant
    bits up to the Tomcat container:
    t = java.lang.NoClassDefFoundError: weblogic/rmi/extensions/server/Stubjava.lang.NoClassDefFoundError: weblogic/rmi/extensions/server/Stub
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
    at
    weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLo
    ader.java:431)
    at
    weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.
    java:169)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:217)
    at
    weblogic.utils.classfile.utils.CodeGenerator.generateClass(CodeGenerator.jav
    a:71)
    at weblogic.rmi.internal.StubGenerator.getStubClass(StubGenerator.java:672)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:712)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:699)
    at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:76)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub(WLInitia
    lContextFactoryDelegate.java:486)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialCont
    extFactoryDelegate.java:449)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFac
    toryDelegate.java:345)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:308)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
    textFactoryDelegate.java:234)
    at
    weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
    ory.java:135)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:662)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
    at javax.naming.InitialContext.init(InitialContext.java:219)
    at javax.naming.InitialContext.<init>(InitialContext.java:175)
    at org.apache.jsp.test_jsp._jspService(test_jsp.java:51)
    What is interesting about this is that the system could "see"
    weblogic.utils.classloaders.GenericClassLoader, but THAT class could not
    find weblogic.rmi.extension.server.Stub, even though they are, ideally, at
    the same level within the Tomcat imposed hierarchy of classloaders.
    Unfortunately, we don't quite know where in that hierarchy each class is
    placed.
    Now, the culprit may well be java.security.SecureClassLoader (or, actually,
    the java.lang.ClassLoader.defineClass0), which is very high up in the
    hierarchy trying to load a the result of the StubGenerator, only to find
    that an associated class, weblogic.rmi.extensions.server.Stub, was "not
    found" because it only existed deep in the Tomcat hierarchy.
    One way that I tried to get around this was to start taking selective bits
    of of weblogic.jar and put them on the system CLASSPATH used by Tomcat when
    it starts up.
    This gets us farther along, in that more classes seem to load without
    getting the ClassDefNotFound error, but it finally leads us into this
    exception:
    The error is, with a small bit of stack dump:
    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Environment not
    found on thread ]
    at
    weblogic.jndi.internal.NamingNodeReplicaHandler.<init>(NamingNodeReplicaHand
    ler.java:150)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at
    sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
    sorImpl.java:39)
    at
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
    torAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:306)
    at java.lang.Class.newInstance(Class.java:259)
    at
    weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectIn
    putStream.java:90)
    snip
    The relevant starting point is toward the middle of the stack trace:
    at
    weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:106
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:125)
    at
    com.pfizer.ecms.as.DataImporterSession_aiw0oz_HomeImpl_810_WLStub.create(Unk
    nown Source)
    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 com.pfizer.ecms.com.AppServer.createInstance(AppServer.java:163)
    at com.pfizer.ecms.com.AppServer.getDataImporterSession(AppServer.java:231)
    at
    com.pfizer.ecms.ws.ECMSActionServlet.testBeans(ECMSActionServlet.java:1662)
    at
    com.pfizer.ecms.ws.ECMSActionServlet.initOther(ECMSActionServlet.java:62)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:472)
    Now, according to the Weblogic documentation, the AssertionError exception
    "is impossible". Well, that's my job they say, doing the impossible.
    Minimally, it's a meaningless message to me and pretty much stops me cold.
    Right, it's not really meant to be meaningful because customers "should"
    never see these assertions.
    I have seen other discussions about Tomcat and how it's not J2EE, etc, and
    perhaps my expectations that this will work are too high. My concern with
    that is simply that in our case, Tomcat is a Fat Client no different from
    "any other Java application". We just use Tomcat to talk to beans rather
    than a custom client. The difficulty, it seems, is in the complexities of
    the Tomcat class loaders interoperating with the expectations of Weblogics
    classes et al.
    I've got a small application that does exactly what Tomcat wants to do, so
    "weblogic works", except of course, in Tomcat.
    So, in the end, I'm curious if others have some data on getting these two
    system cooperating. If anyone has any other ideas on how to use Tomcat as a
    client of Weblogic 8 that utilizes techniques besides replacing Tomcat
    (which is not an option at the moment) I'd like to hear those as well. I
    have been fighting this for days, and tried several things, but nothing
    "obvious" seems to help.
    Weblogic 8 has a "thin client" jar, but it's only useful for RMI rather than
    T3, plus it's still not clear how we'd go about rewriting the interfaces to
    support that versus the standard EJB interfaces already created for the
    beans.I'm not sure I follow you here. You always write to RMI interfaces.
    The question is what protocol (eg T3, JRMP, IIOP) will actually run RMI.
    By default WLS uses its own protocol (t3), but most customer apps
    should run without change over IIOP.
    I'd really recommend going the thin client route. Otherwise I fear
    you'll end up with a heavily modified weblogic.jar and headaches when
    you try to install a service pack etc.
    -- Rob
    >
    Any assistance greatly appreciated.
    Regards,
    Will Hartung
    ([email protected])

  • I need to get photos off a water damaged iPhone 3GS. Can I take out the component that has the photos (is this the main board?) and put it into another of the same phone to retrieve the photos? Please help

    I need to get photos off a water damaged iPhone 3GS. It spent time underwater, saltwater. I let it dry for a week, turned it on, the apple symbol came on, then it died. I need to retrieve my photos off it. Can I take out the component that has the photos (is this the main board?) and put it into another of the same phone to retrieve the photos? Please help

    You're talking about the logic board. The two most likely things to get toasted, with water damage, are the battery(it shorts out), & the logic board. The worst water damage would be salt water. I'm afraid your logic board is toast.

  • How can I get firefox to talk to a second network on my computer?

    I have 2 NICs in my computer. I want to connect to a server on the second NIC. However, firefox must be only trying to connect thru the first NIC to the internet. When I enter the IP address from firefox (which Windows would route to the second NIC) all I get is a timeout. It will not connect. How do I fix this problem?

    Everything on the subnet is used for animated lighting control. The "servers" on the other end of the network are controllers for controlling RGB lighting. The software/ servers communication using a protocol called E1.31 which is a specialized protocol for lighting control. It uses Ethernet as the transport. The controlling software encodes the control signals and addresses them to a specific address (such as 10.10.10.151). The addresses used are setup in the software itself. Other than addressing the data, the software does no routing and has no knowledge of how the signal arrives at its destination. I know that the software, network, routing table, and controllers are all working properly because the software properly controls the lights.
    However, I need to be able to "talk" with the controller, via my browser, in order to adjust the controller's settings. And Firefox (and Internet Explorer) will not connect to the controller under this network configuration. If I disconnect the network on NIC 1 (home network and internet connection), then Firefox will connect with the controller on NIC 2 with no problem. That has been the problem that started this question.
    I am assuming that Firefox is sending the address request straight to the internet instead of Windows actually routing the request to the proper NIC. But I don't know enough about how Firefox works to correct this. Of course, I am just guessing about how Firefox is routing the address. I could be way off.
    I hope this helps in the understanding of my problem.
    Thanks for your interest.
    Jim W

  • I want to change to local carrier sim card when traveling. Do I need to get an unlocked iphone 5?

    I live in the US, and want to buy iphone 5. I am having a hard time to figure out which iphone 5 I should get. I will use the phone in the US most of the time. Therefore, I will purchase a plan from a US carrier. I also want to use the phone when traveling in Asia. I don’t want to use international roaming because every time I travel, I need more 1,000 minutes talking on the phone. Do I need to get an unlocked iphone 5? I heard iphone 4S can change sim card at local carrier. Does iphone 5 have the same option?  

    "Do I need to get an unlocked iphone 5? "
    Yes.
    There has been no announcement about the release of an unlocked iphone 5 yet.
    "I heard iphone 4S can change sim card at local carrier."
    If it is unlocked then it can use other SIM cards.

  • I need a telephone number to talk to someone about my account

    I need a telephone number to talk to someone about my account

    When you get the phone tree, press 4 and then say 'agent'
    Customer Service:
    Dial *611 from a cell phone
    (800) 922-0204
    Monday - Sunday 6 am - 11 pm

  • Senior lady needs help getting cordless phones set...

    Hello Everyone,
    I have been successful making calls on Skype but I need to get my cordless phones set up with my home number on Skype. I purchased a Linksys Internet Phone Adapter and it shows it is getting power. But there is no light for Phone# 1 where I have the phone cord hooked up.
    This is the way I have it hooked up:
    A/C power to back of adapter
    Regular phone line wire in Phone#1 from adapter to my cordless base unit
    Internet cable wire from adapter to my internet router
    The CD had no instant setup instructions on it or how to get the drivers off. I found the model number but couldn't figure out how to get the required info in to my computer.
    Can somebody walk me through how to set this up? I'm an 80 yr old lady and all these PDF files looks like it would take somebody with an engineering degree to figure them out. Do you remember that old commercial....."Help! I've fallen and I can't get up!" Well.....that's sorta me.
    Can someone please help me?

    The PAP2T is not compatible with Skype's standard service.  It is only compatible with SIP providers and is usually more difficult to configure as well.  Skype does support SIP in a business environment with additional hardware at a greater expense, unfortunately that solution really won't work for you.  The only standalone device that I'm aware of that is still compatible with Skype is the Freetalk Connect Me (Talk-12xx).  It is similar to the device you have but it is designed to work solely with Skype's standard service.
    I cover the requirements a bit here:
    http://community.skype.com/t5/Hardware/FreeTalk-1200-requires-no-monthly-payment-to-operate/td-p/386...
    There is also a walkthrough of that device here:
    http://freetalk.me/productsupport/ata/
    You can purchase it from the following locations:
    http://freetalk.me/featured-skype-accessories/phone-adapter-for-skype.html

  • REGZA LINK RD88TKTB & 32RAV635DB how to get them to talk ?

    I just bought RD88TKTB HDD HDMI recorder & 32RAV635DB 1080p TV and they both boast REGZA link. I have looked in the manuals and online and can't seem to find how to get them to talk to each other.
    HDMI cable is connected and in view mode 1080p.
    From what i'm reading one remote should work both but it don't so far. Is there an option somewhere in one or other of the menus to click on tick on ?
    Any help ?
    Cheers Eric

    Hello mate
    This is a computer/notebook forum and I doubt there are many people who have the same issue like you.
    Anyway, I found some info:
    The REGZA Link uses CONSUMER ELECTRONICS CONTROL (CEC) protocol.
    I assume both devices needs to support CEC in order to control both devices using one remote control.
    As far as I know if both devices supports REGZA Link then in both devices should be a option for enabling or disabling this option.
    So check if both devices have enabled REGZA Link.
    Sorry but I think all user manuals should contain info about supported option
    If user manual does not mention anything about REGZA Link then it could be possible that this feature is not supported by an device.

  • TS2755 I need to get hold of old messages from a previous IPhone.  How should I go about that?

    I need to get hold of old meesges   about 17 months from a previous IPhone.  How should I go about that ?

    Well, you wouldn't....
    I presume you don't have the old phone? Also, that you are talking about text or iMessages? They wouldn't be saved anywhere if that is what you were looking for.
    Cheers,
    GB

Maybe you are looking for

  • Language settings in Time Capsule

    Hello, I'm currently stationed in China and I'm thinking to get a Time Capsule from the Apple Store here. I'd like to know if it is possible to change time capsule's language to English? I'm assuming that the default language will be Chinese. Is ther

  • Prevent Lion from automatically trying to mount Filevault 2 encrypted volume at startup?

    Here's what I'm trying to accomplish: I need two separate partitions, one encrypted with Filevault 2 as a primary working partition, and a second token partition as a "decoy" of sorts, containing a pretty stock install and set as the default boot vol

  • Should I upgrade to v 2.21.

    I've just discovered that 2.2.02 now has the 4hr standby fix from version ..0. I didn't install the v2 firmware before mainly because of this issue. Now that it's fixed, is there anything else to stop me from upgrading from ..0? It should hopefully h

  • Wireless users Authentication of external repository? help?

    Hi people, My version is 9ias 1.0.2.2 I have read that is possible to use external repository in order to authenticate wireless users. I would like to do this work using an external repository than contains, for example, the list of telefon numbers o

  • Is iMovie the best tool for dividing up an audio track?

    I have an LP put onto an audio CD which ended up as one long track. I would like to divide it up into the individual tracks for each piece. This shouldn't be difficult, but I'm using the new iMovie 10. I had iMovie 6 and that's easy to use; this new