Problems with axis example

Hi
I'm trying to run the example TestClient.java that comes with axis, but I get:
java.net.ConnectException: Connection refused
Does anyone know if this server is still running and on the same port (5049) or if there's just something wrong with me.
Thanks
hardkxre

Originally posted by: vladimir.bogus.com
Hey Vladimir,
Import org.eclipse.tomcat as a project into your workspace and see how it's
done in org.eclipse.tomcat.internal.TomcatAppServer - same idea as in onJava
example and obviously working.
Vladimir
"Vladimir Kvassov" <[email protected]> wrote in message
news:ci5r6d$k3o$[email protected]..
> Thank you,
>
> but this is example, which I'v mentioned in my first message.
> (it doesn't work under eclipse)
>
> "Peter van de Hoef" <[email protected]> wrote in message
> news:ci4o25$3t9$[email protected]..
> > Hello Vladimir,
> >
> > Here's an article that describes how you can embed Tomcat in another
> > application:
> > http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html
> > I expect that you can apply this in one of your own Eclipse plugins.
> > (I haven't tried this myself but hope it will work)
> >
> > Regards,
> > Peter van de Hoef
> >
> > "Vladimir Kvassov" <[email protected]> wrote in message
> > news:ci487b$1su$[email protected]..
> > > Hi
> > >
> > > Application, which we develop is based on Eclipse platform,
> > > and now we need to provide access throug web-services.
> > >
> > > Is it possible to start Tomcat in the same VM, as Eclipse?
> > > So, web services will be able to access classes from
> > > our application?
> > >
> > > Or maybe there is some better ideas?
> > >
> > > I found example of starting tomcat from java application,
> > > but from one side, I'v got problems with Axis, from another
> > > side, it seems, this this example doesn't work in Eclipse environment.
> > >
> > > I'v tryed to use eclipse tomcat wrapper, but I can't understand, how
> > > it works, and id I can use it at all.
> > >
> > > Thank you beforehand.
> > >
> > > --
> > > Best Regards
> > > Vladimir Kvassov
> > >
> > >
> >
> >
>
>

Similar Messages

  • Problems with the examples in NWDS

    Hi All,
    Running the Welcome example project in NWDS i  have the included error.
    I have problems with other examples too.
    I did all the step by step tutorials.
    I have NWDS 2.0.3
             J2EE 6.40 SP15
             EP 2004
    I am new in NWDS and i have not still successed to run any application.
    What is wrong with my systems?
    I did all the configurations start J2EE /sdm etc.
    Do i have to install other versions? I read that maybe i have to install the same SP 15.
    Please if anybody can help me .
    Thanks,
    Ari 
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
    com.sap.tc.webdynpro.services.sal.deployment.api.WDClassLoaderException: Classloader of 'local/Welcome' is null, even though application is started.
    at com.sap.tc.webdynpro.serverimpl.wdc.deployment.DeployableObject.getClassLoader(DeployableObject.java:81)
    at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:588)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
    at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
    ... 18 more
    Ari

    Thank you for your help,
    I have NWDS 2.0.3 and Web AS 6.40 SP15 and EP 04.
    How can i be sure if  are compatible? Maybe i have to install NWDS SP15?
    I did "Rebuild" and then  "Deploy new archive and run" Deploying i was asking for the sdm password  , then the application opened in a new browser and we can see this message below.
    The Deploy Output View is empty. There is no eny successful deploy message.
    I appreciate your help.
    Thanks,
    Ari
    500   Internal Server Error
      Web Dynpro Container/SAP J2EE Engine/6.40 
    Failed to process request. Please contact your system administrator.
    [Details...]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.InstantiationError: com.sap.tc.webdynpro.progmodel.context.NodeInfo
        at com.sap.examples.welcome.wdp.InternalWelcomeComponent.<init>(InternalWelcomeComponent.java:41)
        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)
        ... 27 more
    See full exception chain for details.
    Correction Hints
    The currently executed application, or one of the components it depends on, has been compiled against class file versions that are different from the ones that are available at runtime.
    If the exception message indicates, that the modified class is part of the Web Dynpro Runtime (package com.sap.tc.webdynpro.*) then the running Web Dynpro Runtime is of a version that is not compatible with the Web Dynpro Designtime (Developer Studio or Component Build Server) which has been used to build + compile the application.
    Note: the above hints are only a guess. They are automatically derived from the exception that occurred and therefore can't be guaranteed to address the original problem in all cases.
    System Environment
    Client
    Web Dynpro Client Type HTML Client
    User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
    Version 
    DOM version 
    Client Type msie6
    Client Type Profile ie6
    ActiveX enabled
    Cookies enabled
    Frames enabled
    Java Applets enabled
    JavaScript enabled
    Tables enabled
    VB Script enabled
    Server
    Web Dynpro Runtime Vendor: SAP, Build ID: 6.4015.00.0000.20051123162612.0000 (release=630_VAL_REL, buildtime=2005-12-14:21:51:22[UTC], changelist=377533, host=PWDFM026)
    J2EE Engine No information available
    Java VM Java HotSpot(TM) Server VM, version:1.4.2_07-b05, vendor: Sun Microsystems Inc.
    Operating system Windows 2003, version: 5.2, architecture: x86
    Other
    Session Locale en_US
    Time of Failure Fri Jan 26 14:29:31 EET 2007 (Java Time: 1169814571353)
    Web Dynpro Code Generation Infos
    local/Welcome
    No information available
    sap.com/tcwddispwda
    No information available
    sap.com/tcwdcorecomp
    No information available
    Detailed Error Information
    Detailed Exception Chain
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.sap.examples.welcome.WelcomeComponent. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:38)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doInit(ClientComponent.java:776)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:330)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:370)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:608)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.lang.reflect.InvocationTargetException
         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 com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:74)
         ... 26 more
    Caused by: java.lang.InstantiationError: com.sap.tc.webdynpro.progmodel.context.NodeInfo
         at com.sap.examples.welcome.wdp.InternalWelcomeComponent.<init>(InternalWelcomeComponent.java:41)
         ... 31 more

  • Problem with aurioTouch example program

    Is anyone else having problems getting the aurioTouch example program to work in the emulator? I seem to have problems with any and all audio -related functions? What could be the problems?

    Cedric,
    This problem was fixed in the LabVIEW 6.0.2 update. You can download this update (along with the updated runtime engine) from our website.
    Good luck with your application, and have a pleasant day.
    Sincerely,
    Darren N.
    NI Applications Engineer
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Reading TDMS files in Matlab - problems with the example code

    I want to use the TDMS files to store data and do offline analysis in Matlab, version 2009b (either on Mac OS10.6 or Windows XP).
    To test the data import in Matlab I tried the example from http://digital.ni.com/public.nsf/allkb/0EEADA99DC7D00A4862572E30037C3A2 , but without success.
    I tried either with and without the path definition (as explained on the page I referred to before) at the start, and got back the following errors:
    with:
    ??? Error using ==> loadlibrary>deltempfiles at 559
    nilibddc_m.i.
    Error in ==> loadlibrary at 452
        deltempfiles(delfiles);
    Error in ==> Read_TDMData at 7loadlibrary([examplePath '\nilibddc'], hfile);
    without: 
    ??? Error using ==> loadlibrary>deltempfiles at 559
    nilibddc_m.i.
    Error in ==> loadlibrary at 452
        deltempfiles(delfiles);
    Error in ==> Read_TDMData at 36loadlibrary(NI_TDM_DLL_Path,NI_TDM_H_Path); 
    I found a few messages on the issue, dating from 2006 and 2007, that didn't lead to a satisfying solution and was hoping that, by now, there would be a solution to my problem.
    Thanks a lot
    Remco   
    Solved!
    Go to Solution.

    Hi Musk,
    Thanks for your answer. 
    Unfortunately it didn't help as my problem is not discussed there. I have a problem with this line:
    loadlibrary(NI_TDM_DLL_Path,NI_TDM_H_Path);
    I said before that I was using 2009b, but I was mistaken, I have R2008a, but the 'loadlibrary' is opened in a 2008b editor (no idea why). On the Mac I have 2009b installed.
    Thanks
    Remco 

  • Problems withe transport example

    Hi,
    I'm trying out Oracle lite 10g on Windows XP. I've installed the mobile server with examples and now I want to install the Mobile Client on the Win32 Device. After synchronising I tried to install the transport application. This works without error messages. Then I opend the update-window (I think ist the one in the start-menue) but there is nothing to install. I find no transport.exe on the whole device.
    Then I looked on the Mobile-Server. There are two transport.exe files in the folder <oracle home>\Mobile\Server\samples\Transport\Win32\bin and <oracle home>\mobile_oc4j_\j2ee\home\applications\mobileserver\samles\Transport_win32.
    What's going wrong with my installation?
    Best Regards
    Mark

    Hello Jorge,
    I have the same problem with PPC2002. I posted this problem at September 17th. But nobody replied.
    Problem registering PPC 2000 Client
    The Device can't register with the Device Manager on the Server. I updated the firmware of my client and everything else what I thought could cause the problem.
    What language has the PPC2003 system of your device?
    Perhaps the problem is that only the english PPC2003/2 system is supported. Because I have the german version of PPC2002. Hopefully someone from Oracle or someone else responds to this thread.

  • Problem with BIB examples

    Hello,
    I have some problems with BIFrame.java (bootstrap project)
    when i try to connect :
    oracle.dss.bicontext.BINamingException: BIB-14736 BIUser does not exist in the BI Beans Catalog.
    However, I used BIBCAT login.
    A solution ?
    Thanks,
    Yann

    hi,
    ensure that in the BIFram.java code the line
    private static final String m_configFile="***.xml";
    contains your .xml configuration file,and that the userName and password in the DAD files are correct

  • Problems with JCOM examples

    Sorry for my poor English:-)
    I am a beginner in learning Weblogic Platform(Weblogic Platform7.0 with sp2),and
    now I'm studying the JCOM examples.
    Everything goes on well in the examples of "zeroclient" and "latebound",but there's
    a problem in "earlybound".
    I have succeeded in registering the type library and setting JVM (cmdline:"regtlb
    containerManagedTLB.tlb examplesServer"),and I can find "containerManagedTLB"
    in References of Visual Basic.
    In a word,I think all preparation work is completed.
    But there is a fault when it runs at the line "Set mobjHome = objNarrow.narrow(objTemp,
    "examples.ejb20.basic.containerManaged.AccountHome")".
    =============Let's look at the source code:===================
    Dim mobjHome As containerManagedTLB.ExamplesEjb20BasicContainerManagedAccountHome
    Dim objTemp As Object
    Dim objNarrow As New containerManagedTLB.JCOMHelper
    Set objTemp =
    CreateObject("examplesServer:jndi:ejb20-containerManaged-AccountHome") -->code
    run correctly here
    Set mobjHome =
    objNarrow.narrow(objTemp, "examples.ejb20.basic.containerManaged.AccountHome")-->this
    line is wrong
    ===============================================================
    I don't know where is the problem,and it makes me very painful!
    I need your help,thanks a lot!

    Sorry for my poor English:-)
    I am a beginner in learning Weblogic Platform(Weblogic Platform7.0 with sp2),and
    now I'm studying the JCOM examples.
    Everything goes on well in the examples of "zeroclient" and "latebound",but there's
    a problem in "earlybound".
    I have succeeded in registering the type library and setting JVM (cmdline:"regtlb
    containerManagedTLB.tlb examplesServer"),and I can find "containerManagedTLB"
    in References of Visual Basic.
    In a word,I think all preparation work is completed.
    But there is a fault when it runs at the line "Set mobjHome = objNarrow.narrow(objTemp,
    "examples.ejb20.basic.containerManaged.AccountHome")".
    =============Let's look at the source code:===================
    Dim mobjHome As containerManagedTLB.ExamplesEjb20BasicContainerManagedAccountHome
    Dim objTemp As Object
    Dim objNarrow As New containerManagedTLB.JCOMHelper
    Set objTemp =
    CreateObject("examplesServer:jndi:ejb20-containerManaged-AccountHome") -->code
    run correctly here
    Set mobjHome =
    objNarrow.narrow(objTemp, "examples.ejb20.basic.containerManaged.AccountHome")-->this
    line is wrong
    ===============================================================
    I don't know where is the problem,and it makes me very painful!
    I need your help,thanks a lot!

  • Build problem with Hello1 example.

    Hi,
    I have installed j2ee1.4 and trying to run the j2eetutorial1.4
    I am facing a problem in building the hello1 example.
    1) When I build the hello1 example, the build fails with the following error message
    C:\java-works\j2eetutorial14\examples\web\hello1>asant build
    Buildfile: build.xml
    init:
    prepare:
    copy:
    build:
    [javac] Compiling 2 source files to
    C:\java-works\j2eetutorial14\examples\we
    b\hello1\build
    BUILD FAILED
    file:C:/java-works/j2eetutorial14/examples/web/hello1/build.xml:52:
    C:\java-work
    s\j2eetutorial14\examples\web\hello1\${j2ee.home}\lib not found.
    Total time: 1 second
    2)) Editing the build.proerties file to include the j2ee.home property.When I save the file it gets a .txt extension.Could this cause a problem , while I try to build the examples? if so How can I avoid this?
    Could anyone please help me in this?
    Thanks,
    Ann

    To save the file without .txt extension
    just enclose the file with double quotes
    "build.properties" in the File save dialog box

  • Problem with JAAS example in WLS6.0sp1

    Hi,
    I tried to run the SampleClient from the JAAS example in WLS6.0sp1 and got an
    exception
    when a valid username/password combination is entered. Has anyone experienced
    that in WLS6.0sp1?
    Thanx
    Ralf
    SampleLoginModule.initialize(), debug enabled
    SampleLoginModule.initialize(), URL t3://localhost:7001
    SampleLoginModule.login(), username guest
    SampleLoginModule.login(), password guest
    Authentication Failed: Unexpected Exception, java.lang.NoSuchMethodError
         at weblogic.security.auth.Authenticate.authenticate(Authenticate.java:124)
         at examples.security.jaas.SampleLoginModule.login(SampleLoginModule.java:157)
         at java.lang.reflect.Method.invoke(Native Method)
         at javax.security.auth.login.LoginContext.invoke(LoginContext.java:595)
         at javax.security.auth.login.LoginContext.access$000(LoginContext.java:125)
         at javax.security.auth.login.LoginContext$3.run(LoginContext.java:531)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:528)
         at javax.security.auth.login.LoginContext.login(LoginContext.java:449)
         at examples.security.jaas.SampleClient.main(SampleClient.java:92)

    Weblogic comes with its own implementation of JAAS, unfortunately
    conflicting with Sun's. Contact customer support, they will tell you the
    exact differences and incompatibilities. Or reverse engineer the two
    versions, you'll find quite a few differences (apart from the BEA version
    not implementing JAAS authorization, which is documented).
    "Narinder Gaheer" <[email protected]> wrote in message
    news:[email protected]..
    I am happy someone came up with this problem. I also bent backwardssolving
    this problem
    in my application.
    I figured out that as soon as I remove the standard jaas.jar from my
    classpath , I can run the example successfully. Weblogic.jar does contain
    necessary jaas library , so don't need to include jaas.jar.
    I am not sure, but I get the feeling that there is a jaas library conflict
    here. May be weblogic
    guys are the best to put some light on this issue.
    "Ralf Fritsche" <[email protected]> wrote in message
    news:3b15188e$[email protected]..
    I found out, that the example runs with the JDK delivered by BEA,
    but not with a JDK I downloaded from SUN.
    Wheras with the first the provided way to set the user defined
    configuration class with the system property'weblogic.security.jaas.Configuration'
    works, this is not possible with another JDK. According to the
    JAAS standard, this class could only be defined in the properties
    file 'java.security' of the Java runtime.
    How is BEA doing this?
    Thanx
    Ralf

  • Java EE Tutorial - problem with the example Bookstore

    Hi,
    I've been working few days on a problem running the Bookstore example from the Java EE Tutorial. When I run the application, I'm redirected from the servlet BookStoreServlet to errorpage.html with the following message: The application is unavailable. Please try later. The tutorial troubleshooting reads: ... a servlet can’t retrieve the web context attribute representing the bookstore. This will occur if the database server hasn’t been started. But the database server is running (I'm running Derby bundled into NetBeans 6.5). The Glassfish admin console reads:
    StandardWrapperValve[BookStoreServlet]: PWC1406: Servlet.service() for servlet BookStoreServlet threw exception
    com.sun.bookstore.exception.BookNotFoundException: Couldn't find book: 203
            at com.sun.bookstore1.database.BookDBAO.getBook(BookDBAO.java:58)
            at com.sun.bookstore1.servlets.BookStoreServlet.doGet(BookStoreServlet.java:76)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
            at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
            at com.sun.bookstore1.filters.HitCounterFilter.doFilter(HitCounterFilter.java:71)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
            at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
            at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
            at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)This would indicate that the tables are empty, but they were created according to the tutorial, with the command ant create-tables, and I can see their content in NetBeans. Please help, I really need to run the examples.
    Best regards,
    Rene Puchinger

    I solved the problem running the command that is correctly explained in the page 97 of the tutorial:
    Ant create-tables
    My mistake was that until that day, I was believing that I could do everything inside Netbeans.
    For this you explicitly need to use ant.
    Then I got some error which I solved fixing the file
    C:\Java\JavaEETutorial5\examples\bp-project\ build.properties
    ( like set correctly the path to the server and so on)

  • OWSM: Problem with AXIS 1.1 serveragent

    Hi everybody,
    Web service environment: Win XP, Tomcat 4.1, Axis 1.1, JDK 1.4 running on localhost
    OWSM environment: Win XP, Oracle SOA Suite, Oracle XE database on some remote PC.
    The problem: I get the following error in serveragent.log :--
    com.cfluent.coreman.sdk.CoremanException: Could not get RMI ICoremanAdaptor
    The root cause of this is that the server agent tries to poll localhost instead of the OWSM PC as a result I am able to apply poilicies but unable to collect statistics.. I tried changing a number of files but nothing works (even rmi to soap). What do I do so that the serveragent points to OWSM PC?
    Everything works fine if the serveragent is on the same PC as that of OWSM. Has anybody tried such a scenario? Any tutorial/pointers would be helpful.
    Please help!!!
    Thanks

    Hi,
    Thanks for the update. I will try with some other J2EE server and come back on this.
    However, I am not sure that the server agent will still not poll the RMI port of the localhost. Ideally should point to the remote machine on which OWSM is running.
    Regards,
    Kaanu

  • Weird problem with Axis in JBoss accessing WSDL

    Hi
    for an application, Axis web services are used and everything is running inside JBoss 4.0.2. The WSDL file is dynamically generated by Axis and clients are set up to get this WSDL file from the Service before making a call.
    Clients are making web service calls to the application and everything runs perfectly. However, after some time an error occurs which causes the WSDL file not being available any more. According to the error messages it looks like it can not find some classes, and looking at the Axis code (AxisServlet.java:226) this is where the PrintWriter is instantiated - which is not any special but usual Java class.
    The only solution so far is to restart the JBoss, after which the WSDL is available again.
    This behavior I can not understand - any help would be greatly appreciated.
    Thanks
    Michal
    2006-08-30 07:18:21,648 WARN [WebappClassLoader,openJARs] Failed to open JAR
    java.util.zip.ZipException: No such file or directory
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:204)
    at java.util.jar.JarFile.<init>(JarFile.java:132)
    at java.util.jar.JarFile.<init>(JarFile.java:97)
    at org.apache.catalina.loader.WebappClassLoader.openJARs(WebappClassLoader.java:1544)
    at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:1763)
    at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1570)
    at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:850)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1299)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:226)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
    at java.lang.Thread.run(Thread.java:595)
    2006-08-30 07:18:21,649 ERROR [[AxisServlet],invoke] Servlet.service() for servlet AxisServlet threw exception
    java.lang.NullPointerException
    at org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClassLoader.java:1766)
    at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1570)
    at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:850)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1299)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at org.apache.axis.transport.http.AxisServlet.doGet(AxisServlet.java:226)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
    at java.lang.Thread.run(Thread.java:595)

    The problem was I had to write in my wsdd file:
    <service name="PurchaseService"
    provider="java:RPC"
    style="document"
    use="literal">
    Thanks

  • Problem with Axis Adapter endpoint url in WSDL file.

    Dear experts,
    We are using PI 7.1 ehp1 with a SOAP to RFC scenarios using the Axis adapter.
    We have the XIAxisAdapter as sender Communication Channel and the related Sender Agreement.
    When i am looking into the WSDL file of the Sender Agreement than the endpoint contains ...location="host:port/ XISOAPAdapter /MessageServlet"... in stead of ...location="host:port/ XIAxisAdapter /MessageServlet"...
    The url with "XISOAPAdapter " will not work. When i export the WSDL file and manually adjust the location to "XIAxisAdapter " everything works fine.
    Is it possible to directly generate a correct WSDL with calling the url http://host:50000/dir/wsdl?p=xxxx?
    Thanks in advance!
    Best regards,
    Joost Weghorst

    Hi Sonya,
    You can use configuration plan while deploying composite.
    The configuration plan enables you to define the URL and property values to use in different environments. During process deployment, the configuration plan is used to search the SOA project for values that must be replaced to adapt the project to the next target environment.
    Please refer this doc. for getting introduced to config plan.
    http://docs.oracle.com/cd/E29542_01/dev.1111/e10224/sca_lifecycle.htm#SOASE10908
    To deploy soa composite with config plan refer this doc:
    http://docs.oracle.com/cd/E29542_01/dev.1111/e10224/sca_lifecycle.htm#SOASE85469

  • Problems with SNMP examples in WL documentation

    I am using WL 5.1 on NT. Tried to follow SNMP use examples shown in WL
    documentaion. Command line examples refuse to work- I either get an
    error that ...Remote Host Unknown... or ...Errored Object ID...
    1. after many iterrations launched SNMP agent with the following
    command-
    java webloghic.SNMPAgent -serverURLs localhost
    with password of WL administrator=weblogic
    agents reports that initialization was completed
    2. Documentation examples do not seem to work.
    3. I presume that snmp.mycompany.com reference is an error,
    snmp.weblogic.com is probably correct (?)
    Can anyone suggest how to make this thing work It's driving me nuts :-)
    Thanks,
    Vadim

    Vadim,
    please see comments inline....
    vadim t <[email protected]> wrote in message
    news:[email protected]..
    I am using WL 5.1 on NT. Tried to follow SNMP use examples shown in WL
    documentaion. Command line examples refuse to work- I either get an
    error that ...Remote Host Unknown... or ...Errored Object ID...
    1. after many iterrations launched SNMP agent with the following
    command-
    java webloghic.SNMPAgent -serverURLs localhost
    with password of WL administrator=weblogic
    agents reports that initialization was completed
    The serverURLs value doesn't seem right, see below .... (this is the URL
    used by the agent to connect to the managed WLS server)
    You should try the following commandline as in
    http://www.weblogic.com/docs51/admindocs/snmpagent.html
    " java weblogic.SNMPAgent
    -password foo
    -serverURLs t3://dns_host_name:7001 "
    where 'foo' is the 'system' password, and after replacing appropriate values
    for your setup.
    Also, if you prefer you can use - startSNMPAgent.cmd /sh which is in
    <install_dir>/weblogic, after filling in the blanks.
    2. Documentation examples do not seem to work.
    3. I presume that snmp.mycompany.com reference is an error,
    snmp.weblogic.com is probably correct (?)
    Can anyone suggest how to make this thing work It's driving me nuts :-)
    Thanks,
    Vadim

  • Problem with running example 'Generating Live Audio/Video Data'

    Hello,
    Concerning the example 'Generating Live Audio/Video Data', I'm having trouble with the run instructions.
    http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/LiveData.html
    How does JMFRegistry know about the location of jmfsample?
    How is 'live' resolved as a URL?
    2.Register the package prefix for the new data source using JMFRegistry
    - Run JMFRegistry
    - In the Protocol Prefix List section add "jmfsample" and hit Commit.
    4.Select File->Open URL and enter "live:"
    Much thanks,
    Ben

    I'm getting the following error message: "Could not create player for live"Implies you've either not registered the "live:" protocol prefix in the JMF Registry, or, it couldn't load the class you registered for it...or it might be erroring out inside the actual live protocol, I'm not sure what that would look like, but a System.err.println statement in the constructor of both of those classes might be a good idea.
    I added the output of javac (DataSource.class and LiveStream.class) to a directory on the classpath.
    C:\Program Files\JMF2.1.1e\lib\jmfsample\media\protocol\liveEh, that looks a little questionable to me. I'm not 100% sure that the JRE will automaticlly descend into the package subdirectories like that, looking for classfiles, for every folder on the path. I am, of course, fully open to the idea that it does and I just never thought about it...but I guess I just thought it only did that for JAR files, not CLASS files. Regardless, I'd recommend:
    1) Make sure you've registered the protocol prefix "live:" correctly in JMF Registry
    2) Try to run it with the 2 compiled class files in the same folder as your project
    3) Try to run it with the 2 compiled class files in the lib directory, if that's on the classpath
    4) Try to run it with the 2 compiled class files installed in the JRE as an extension (google for how to do this because I don't remember off the top of my head)
    5) Reinstall JMF and see if that helps

Maybe you are looking for