Eclipse WTP + JWSDP + Tomcat

Hi,
I am trying to setup eclipse WTP with Java WSDP (1.6) and Tomcat for JWSDP
(http://java.sun.com/webservices/containers/tomcat_for_JWSDP_1_5.html)
Any idea whether it is possible to have such development environment or
would I have to use Netbeans?
Wouldn't I require a server runtime for (J)WSDP instead of Tomcat's deault
Axis runtime? Is there such a runtime available?
Thanks!

I guess you could say that using Tomcat+WSDP in WTP would "work", but
not with the same level of integration that you get using the WTP
supplied Axis. I'm not familiar with JSDP, but I don't think WTP would
get in the way. However, I can't say if it will provide as much
"developmental help" as you are looking for.
Larry
Neeraj Mahajan wrote:
> Hi Larry,
>
> By "development environment" I mean an intelligent IDE i.e. something
> like eclipse+WTP that would help me develop/build/deploy/debug Web
> Services. As you mentioned Tomcat doesnt include Axis runtime, and that
> is the reasin why, I think, it can be used with Java WSDP too. But AFAIK
> WTP includes Axis runtime to be used with Tomcat. So the question is,
> can I use WTP to develop WebServices for Tomcat+WSDP. If yes, then what
> plugins do I need to use for this.
>
> Cheers,
> Neeraj
> PS: The reason for using WSDP is beyond my control :(
>
> Larry Isaacs wrote:
>
>> I'm not sure exactly what you are asking for in the way of a
>> "development environment". Tomcat doesn't include a default Axis
>> runtime. I assume the Java WSDP would somehow provide that. WTP has
>> its own support for developing web services that doesn't involve the
>> Java WSDP. Have you investigated this support and decided to use Java
>> WSDP instead?
>
>> Cheers,
>> Larry
>
>> Neeraj Mahajan wrote:
>>> Hi,
>>>
>>> I am trying to setup eclipse WTP with Java WSDP (1.6) and Tomcat for
>>> JWSDP
>>> ( http://java.sun.com/webservices/containers/tomcat_for_JWSDP_ 1_5.html)
>>> Any idea whether it is possible to have such development environment
>>> or would I have to use Netbeans?
>>> Wouldn't I require a server runtime for (J)WSDP instead of Tomcat's
>>> deault Axis runtime? Is there such a runtime available?
>>>
>>> Thanks,
>>> Neeraj
>>>
>>>
>

Similar Messages

  • Apache Axis and Eclipse WTP

    I've just started to use java recently and now trying to develop SOAP web services. I've installed Eclipse and Eclipse Web Tools Platform (Eclipse WTP) as my IDE, and Apache Tomcat as my web container.
    In order to develop java web services, I think I need Apache Axis which is basically a SOAP engine that parses java objects into SOAP messages. And included in Eclipse WTP are java web services tools built upon Apache Axis. Therefore I can start developing web services without installing Apache Axis for my Apache Tomcat.
    The question here is when I need to deploy my web services in a real-world Apache Tomcat server (which also includes Apache Axis), what should I do?

    Hi,
    All that you want to do is trying to call a web service and get the response from it, you can use the WSDLs from any weather or lets say google. From XI you can call it and you would get response in SOAP format.
    If you want to create a web service, create a SOAP to RFC scenario in XI where RFC returns you some thing that you wanted in sync fashion. Now use the WSDL genrated from this scenario and import in XI for another scenario.. where it could be a HTTP to SOAP. Now you would get the response of RFC in SOAP format it self..
    VJ

  • Deploying JAXRPC service on NON-JWSDP Tomcat

    Hi,
    I saw a similar question earlier, but not an answer..
    I'm in a situation where I want to deploy a JAXRPC service on a Tomcat 4.1.12. I use the JSWDP kit from Sun to develop and test, and then I would like to be able to package my service as a .war file and deploy in on a Tomcat 4.1.12 - and still be able to use it as when its deployed in the JWSDP Tomcat. That should not be a problem - right?!
    Unfortunatly (for me) I can't make it work.....not even with the veeery simple JAXRPC hello example program included in the JWSDP tutorial.
    Under the JWSDP Tomcat everything is fine..
    Then I try to use the Tomcat 4.1.12: I copy the .war file to the /webapps directory and restarts Tomcat - it shows up in the Manager as deployed, but I can't create a communication to it from the client!! I get a RemoteException: "Cannot connect to server: /hello-jaxrpc/hello..".
    Can someonegive me a pointer on this one??
    Thanks in advance,
    Kim Vestergaard

    Hi again,
    I did try for a few days without getting near to a solution.
    Instead I started to look at the Apache Axis kit (http://xml.apache.org/axis) - In the latest version it includes support for JAXRPC, and thats what I need. The kit is easier (for me anyway ;-) to figure out, because it is not tight bundled with Tomcat as JWSDP is - Tomcat is still the servletengine-of-choice.
    When I found http://www.javaworld.com/javaworld/jw-01-2002/jw-0125-axis-p3.html the installation and setup was straight forward. I now have Tomcat 4.1.12 / Axis 1.0 running my JAXRPC based webservice....
    /Kim

  • Eclipse-Wtp/Subversion --- jDev 10.1.32

    First, congrats on a useful ide. (Has come a long way since ver 9.)
    Coming from Eclipse/wtp/jboss, I want to migrate a j2ee workspace that has projects:
    1. LIBS (a jar file used by both, web/war and ejb projects).
    2. EJB's (a j2ee ejb jar file using session, mdb's, and cmp2.1 entitys.)
    3. WEB (a war file with html's & servlets that call methods in the session beans.)
    The good news is that all the code is in a subversion repos and that I can access it from the jDev plugin. But I need some specific 'handholding' please.
    A. In Eclipse I have an option to start a new project from a project in the repos. (Check out as new project.) How do I accomplish this in jDev?
    B. I would like to deploy these to oc4j. Will jDev generate oc4j dd's based on the jboss and j2ee dd's?
    B1. Message ques need to be created in oc4j AND assigned to mdb's via jndi.
    B2. JNDI calls in general, used thruout the code, should be oc4j compatible.
    The ideal scenario, of course would be that I simply import the projects, press a button, and all deploys and runs(!) on oc4j. The question is, how close can I get to this?
    Thank you.
    nat

    Try to first create a project in JDeveloper and then while in it check-out the code from subversion into its directory.
    You'll then need to go into project properties->project content and also the sub nodes there to set the various directories that are used for you web app and ejb app.
    One other way that might be easier is if you have a WAR file - then you can do create project from WAR file.
    For the libs directory you might want to go into project properties->libraries and create a new library with all your jar files.
    JDeveloper can help you create OC4J specific deployment descriptors through code insight in the editor but it doesn't have a "convert from jboss" button.
    Also note that the embedded OC4J in JDev can run entity and session beans but not mdb. You'll need a stand alone OC4J to run those on. You can deploy from JDeveloper to that OC4J directly and you can also set remote debugging for it.

  • Parent Applications with Eclipse WTP

    Hello,
    I have an question upon Eclipse WTP and Oracle 10.1.3.
    In my project we have 4 EJB Modules which are in 4 EAR Files and are deployed on the Oracle 10.1.3 application server. One EAR is the parent for all the others. So I configured the server.xml like this:
    <application name="Server" path="server.ear" />
    <application name="Server2" parent="Server" path="server2.ear" />
    <application name="Server3" parent="Server" path="server3.ear" />
    <application name="Server4" parent="Server" path="server4.ear" />
    What must I do to tell Eclipse WTP that the projects depend from "Server" when they are deployed by Eclipse to the application server?
    Anyone any ideas?
    Greetings
    Marcel

    The deployment task doesn't expose the parent attribute as an out of the box capability in WTP.
    Under the covers it's invoking an Ant build script which uses the <oracle:deploy> Ant task. This Ant task does expose the parent attribute for the application being deployed.
    I just mucked around with a little and have a 'sorta' solution.
    The OC4J WTP plugin is defined in a file called: servers\oracle.10.1.3.serverdef.
    This defines the details for an OC4J server definition.
    What I did was to add a new property called application.parent.
         <property id="application.parent"
              label="%label.application.parent"
              type="string"
              context="server"
              default="default" />
    And in plugin.properties added the label text
    label.application.parent=Parent Application:
    Then I modified the buildfiles\oracle.10.1.3.xml file and added the parent attribute to the deploy.j2ee.ear target:
    <target name="deploy.j2ee.ear" depends="check.skip.ear.deploy"
    unless="skip.deploy">
    <antcall target="package.module.ear"/>
         <oracle:deploy
              deployerUri="${deployer.uri}"
              userId="${oc4j.admin.user}"
              password="${oc4j.admin.password}"
              file="${server.publish.dir}/${module.name}.ear"
              deploymentName="${module.name}"
              parent="${application.parent}"
              bindAllWebApps="${oc4j.bind.website}"/>
    </target>
    Now fire up eclipse.
    What you should now see is when you define an OC4J 10.1.3 instance you can set the "Application Parent:" value and this is then supplied to application when it is deployed.
    Voila!
    Now the small usage wrinkle here is that this property is set per OC4J server instance definition -- so in your case, you'd need define 2 OC4J server instances. One server definition where the parent is the "default" application and use that deploy "Server" and another where the parent application is set to "Server" and use that to deploy Server 2-4.
    If you want the changes I made to the file, then send me an email at steve dot button at oracle dot com and I'll send them to you.
    I put a few screen shots and a bit of a discussion here:
    http://buttso.blogspot.com/2006/11/hacking-eclipse-wtp-oc4j-to-add-parent.html
    cheers
    -steve-

  • Flash Builder 4 and Eclipse WTP Plug-in

    I need someone to help put me in the right direction as to how configure Eclipse WTP Plug-in in Flash Builder 4. I have the plug-in downloaded on my desktop with 2 main folders (features and plug-ins) in it. At this point I am stuck as to where to go from here to get WTP into, and/or work with Flash Builder 4. I running the standalone version of FB4. Someone please help me.
    Bliss

    Praveen
    Please accept my sincere gratitude for your advice. Because for the time, after countless attempts to install this plug-in that I am noticing that even for a beginner something is beginning to make sense in the installation process. Now, I am NOT confirming completion because I am no sure of it. I am just saying I like what I see so far. That said, please advise as to what next  on what about to narrate to you. That is:
    I followed the recommended method (Help --> Install New Software). I did several plug-ins filtering along the way on installation prompts. After which the installation completed. FB4 restarted and for the first time there is emerged among the menus in the menu bar "WTP Tests". But as try to test-create a new Flex project I realized that the "combined Java and Flex projects" does not show up under the J2EE Application Server Type. Meanwhile, when I hover over the "WTP Tests" I see an "open" option. When clicked, I get a dialog captioned "Test Collector" listing many test suites to be ran/tested.
    Question:
          1.     What must i do to make the "combined Java and Flex projects" show up under the J2EE Application Server Type?
          2.     Do I need to run the tests on these Test Suites?
    Please advise. Once again, I appreciate your advice a great deal. Thanx in advance.
    Bliss_0

  • Do we need to have build.xml for a project created in Eclipse WTP

    Hi^^,
    I had created a project in struts some time back. I remember that the classes wern't compiling until we added the build.xml to the project in the WEB-INF folder.
    Now I have cretaed a "dynamic web project" in eclipse WTP. When I right click on the project I get the option of build project. When I select the option the java classes do get compiled. My question is how does that happen without the build.xml being included in the project folder. There is a build folder but it only has the classes folder when we get the .class files after compiling.
    thanks and Regards,

    hi^^,
    I will rephrase the question. How does Eclipse build the project so that all the java files are converted to class files without using build.xml.
    ?????????

  • I Can't run OCMS SipAS - OC4J 10.1.3 from eclipse WTP 1.5

    Hello
    I Installed OCMS coorectly , and its pluging for eclipse WTP 1.5
    I succefuly created in this eclipse a new server OCMS SipAS - OC4J 10.1.3
    also , I succefuly created a new SIP servlet project to perform a test
    BUT THE PROBLEME THAT WHENE I TRY TO RUN THE SERVER , A TIME OUT BREAK ALL ....
    Plz some one can Help me ?
    Plz , this is the message witch eclipse throws :
    Timeout waiting for OCMS SipAS - OC4J 10.1.3 to start. Server did not start after 240s.
    I'm realy blocked !!!

    Hi
    When you crated the "server" in Eclipse did you specify 5060 as the SIP port and
    8888 as the HTTP port?
    In that case have you configured OCMS/OC4J to use 5060 and 8888?
    The Eclipse plugin only checks if the launched process listens to the ports given when you created the "server" in Eclipse.
    Cheers
    Lucas

  • Cant run OCMS SipAS - OC4J 10.1.3 from eclipse WTP 1.5

    Hello
    I Installed OCMS coorectly , and its pluging for eclipse WTP 1.5
    I succefuly created in this eclipse a new server OCMS SipAS - OC4J 10.1.3
    also , I succefuly created a new SIP servlet project to perform a test
    BUT THE PROBLEME THAT WHENE I TRY TO RUN THE SERVER , A TIME OUT BREAK ALL ....
    Plz some one can Help me ?

    Hi All ,
    Plz , this is the message witch eclipse throws :
    Timeout waiting for OCMS SipAS - OC4J 10.1.3 to start. Server did not start after 240s.
    I'm realy blocked !!!

  • Facelets example numberguess with Tomcat 6 and Eclipse WTP

    Hello
    I�m new with facelets (1.1.3) so I wanted to start the example that was in the download directory "numberguess".
    I imported the *.war-file in Eclipse. I have both, Tomcat 5.5 and Tomcat 6 but the error message is the same:
    INFO: validateJarFile(C:\Programme\Apache Software Foundation\Tomcat 5.5\wtpwebapps\numberguess\WEB-INF\lib\servlet-api-2.4.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    22.02.2008 16:49:43 org.apache.catalina.core.StandardContext listenerStart
    SCHWERWIEGEND: Error configuring application listener of class com.sun.faces.config.ConfigureListener
    java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1362)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1208)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3712)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:448)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
         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:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    22.02.2008 16:49:43 org.apache.catalina.core.StandardContext listenerStart
    SCHWERWIEGEND: Error configuring application listener of class com.sun.faces.application.WebappLifecycleListener
    java.lang.ClassNotFoundException: com.sun.faces.application.WebappLifecycleListener
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1362)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1208)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3712)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:448)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
         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:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    22.02.2008 16:49:43 org.apache.catalina.core.StandardContext listenerStart
    SCHWERWIEGEND: Skipped installing application listeners due to previous error(s)
    22.02.2008 16:49:43 org.apache.catalina.core.StandardContext start
    SCHWERWIEGEND: Error listenerStart
    22.02.2008 16:49:43 org.apache.catalina.core.StandardContext start
    SCHWERWIEGEND: Context [/numberguess] startup failed due to previous errors
    22.02.2008 16:49:44 org.apache.coyote.http11.Http11BaseProtocol startCan anyone help me? That would be great!
    Thanks,
    N.

    Now I�m sure that my tomcat is running in a right way.
    I tried it now without eclipse.
    I only put the numberguess.war, the starterkit.war and the hangman.war from the demo-folder from facelets (now: 1.1.14) into the tomcats webapp folder.
    I get following error if I try to start numberguess with http://localhost:8080/numberguess/index.html (-->http://localhost:8080/numberguess/guess.jsf)
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Servlet.init() for servlet Faces Servlet threw exception
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         java.lang.Thread.run(Unknown Source)
    root cause
    java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.context.FacesContextFactory
         javax.faces.FactoryFinder.getFactory(FactoryFinder.java:256)
         javax.faces.webapp.FacesServlet.init(FacesServlet.java:142)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
         org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)The same with hangman (http://localhost:8080/hangman)
    What is wrong here?
    Tomcat version is 6.0.16. The only thing I changed in the tomcat installation is that I added the jstl.1.2.jar to the lib-folder.
    Has anyone an idea?
    Thank you very much.

  • Eclipse WTP, PropertyNotFoundException

    Hi,
    i have a problem running a faces project on tomcat inside eclipse.
    I always get this exception:
    javax.servlet.ServletException: Base is null: Liste     javax.faces.webapp.FacesServlet.service(FacesServlet.java:202)
    If i export the project's .war file and deploy it in the same tomcat in the filesystem and start the server from there, everythings is working fine.
    Does anyone know how to fix this?
    Thanks cb
    The full stack trace:
    javax.servlet.ServletException: Base is null: Liste     javax.faces.webapp.FacesServlet.service(FacesServlet.java:202) root cause javax.faces.el.PropertyNotFoundException: Base is null: Liste     org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:455)     org.apache.myfaces.el.ValueBindingImpl.getType(ValueBindingImpl.java:169)     com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:111)     javax.faces.component.UIInput.getConvertedValue(UIInput.java:702)     javax.faces.component.UIInput.validate(UIInput.java:627)     javax.faces.component.UIInput.executeValidate(UIInput.java:838)     javax.faces.component.UIInput.processValidators(UIInput.java:412)     javax.faces.component.UIForm.processValidators(UIForm.java:170)     javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:904)     javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:342)     org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:240)     org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)     javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)javax.servlet.ServletException: Base is null: Liste     javax.faces.webapp.FacesServlet.service(FacesServlet.java:202) root cause javax.faces.el.PropertyNotFoundException: Base is null: Liste     org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:455)     org.apache.myfaces.el.ValueBindingImpl.getType(ValueBindingImpl.java:169)     com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:111)     javax.faces.component.UIInput.getConvertedValue(UIInput.java:702)     javax.faces.component.UIInput.validate(UIInput.java:627)     javax.faces.component.UIInput.executeValidate(UIInput.java:838)     javax.faces.component.UIInput.processValidators(UIInput.java:412)     javax.faces.component.UIForm.processValidators(UIForm.java:170)     javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:904)     javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:342)     org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:240)     org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)     javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)javax.servlet.ServletException: Base is null: Liste     javax.faces.webapp.FacesServlet.service(FacesServlet.java:202) root cause javax.faces.el.PropertyNotFoundException: Base is null: Liste     org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:455)     org.apache.myfaces.el.ValueBindingImpl.getType(ValueBindingImpl.java:169)     com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:111)     javax.faces.component.UIInput.getConvertedValue(UIInput.java:702)     javax.faces.component.UIInput.validate(UIInput.java:627)     javax.faces.component.UIInput.executeValidate(UIInput.java:838)     javax.faces.component.UIInput.processValidators(UIInput.java:412)     javax.faces.component.UIForm.processValidators(UIForm.java:170)     javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:904)     javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:342)     org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:240)     org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)     javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)

    Hi, we are busy doing a proof of concept with WTP 1.5/Eclipse Callisto.
    While it is true that the Server definition file for OC4J 10.1.3 is included in Callisto, this server definition file does not completely work.
    We are able to start/stop the server but deployment via the "Run On Server" or any other Eclipse wizard fails for a stupid J2EE hello world application.
    It just stops in the middle of the publishing by saying "Could not find the main class" in a pop-up window.
    I have looked at the version of the Oracle server definition file plug-in and it is still the OC4J 10.1.3 DP4 version. I don't know if this is the reason why the deployment fails but it simply does not work at the moment.
    Any clue what's the problem.
    Best regards.
    Robin

  • Publishing Problem with WTP and Tomcat 5.5

    Hello you all,
    I've got the problem that my Eclipse does not publish my Hibernate (*.hbm.xml) files.
    In the concerning folder, I do only find the .class-files.
    We're using Eclipse (3.3.2), Maven 2, Tomcat 5.5
    Urgend help is needed as we have to distribute our Software till the end of the week :(
    Thanks in advance

    I'll try reposting, now that I figured out how to format it:
    import java.util.ArrayList;
    import java.util.List;
    import java.util.concurrent.SynchronousQueue;
    import java.util.concurrent.ThreadPoolExecutor;
    import java.util.concurrent.TimeUnit;
    public class ThreadTest {
         private static final int MAX_RUNNABLES = 1;
         private final List<Runnable> runnableBuffer = new ArrayList<Runnable>(MAX_RUNNABLES);
         private final ThreadPoolExecutor myThreadPool =
              new ThreadPoolExecutor(MAX_RUNNABLES,
                   MAX_RUNNABLES,
                0L, TimeUnit.SECONDS,
                new SynchronousQueue<Runnable>());
         public ThreadTest() {
            //myThreadPool.prestartAllCoreThreads();
            for (int i=0; i<MAX_RUNNABLES; i++) {
                runnableBuffer.add(new Runnable() {
                    public void run() {
        public void start() {
            for (Runnable r : runnableBuffer) {
                System.out.println("corePoolSize: " + myThreadPool.getCorePoolSize());
                System.out.println("maxPoolSize: " + myThreadPool.getMaximumPoolSize());
                System.out.println("poolSize: " + myThreadPool.getPoolSize());
                System.out.println("taskCount: " + myThreadPool.getTaskCount());
                System.out.println("Starting runnable ");
                System.out.println("");
                myThreadPool.execute(r);
            System.out.println("All runnables have started");
        public static void main(String[] args) {
            ThreadTest t = new ThreadTest();
            t.start();
    }

  • Server definitation files (OC4J 10.1.2) for Eclipse WTP

    Hi all,
    May I know where can we find the server definitation file (OC4J 10.1.2) for Eclipse's WTP?
    Thanks and regards,
    William

    Hi All ,
    Plz , this is the message witch eclipse throws :
    Timeout waiting for OCMS SipAS - OC4J 10.1.3 to start. Server did not start after 240s.
    I'm realy blocked !!!

  • Eclipse, WTP, Servlets and Web.xml

    I wonder if you could help me.
    I am using Eclipse and Web Tools Platform.
    In eclipse, when I create a Servlet, I believe the servlet details (such as name, class, url-pattern) should be included into web.xml file automatically. However, this is not happening.
    Would you know how I can configure Eclipse and WTP to automatically write Servlets details into web.xml files.
    Thanls

    Thanks for the reply
    I have Eclipse 3.2 and WTP 1.5
    Yes, I am creating my Servlet in a project under the Dynamic Web Projects.
    I deploy my WAR file using the 'Export' menu.
    Now, I have manually added the servlet details into the web.xml file:
    <servlet>
    <servlet-name>HelloWorld</servlet-name>
    <servlet-class>com.mycom.HelloWorld</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>HelloWorld</servlet-name>
    <url-pattern>/HelloWorld</url-pattern>
    </servlet-mapping>
    I am accessing the servlet as:
    http://localhost:9090/MyFirstServlet/HelloWorld
    But I still get HTTP 404 error when accessign HelloWorld servlet. I am not sure what I am missing.
    Thanks

  • Eclipse problem with Tomcat when running jsp

    when I start tomcat from CMD, it starts normally and display http://localhost:8080/ properly
    but when I start tomcat from Eclipse, it starts the server normally,
    but it can't display http://localhost:8080/ properly,
    I guess that the problem with the java classpath isn't defined correctly in Eclipse
    but but I've tried it before, and it doesn't work
    here the error msg from Eclipse console:
    [INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on http-8080
    Starting service Tomcat-Standalone
    Apache Tomcat/4.1.31
    [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    [INFO] PropertyMessageResources - -Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    [INFO] PropertyMessageResources - -Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
    [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on http-8080
    [INFO] ChannelSocket - -JK2: ajp13 listening on /0.0.0.0:8009
    [INFO] JkMain - -Jk running ID=0 time=0/120 config=C:\jakarta-tomcat-4.1.31\conf\jk2.properties
    Error compiling file: C:\jakarta-tomcat-4.1.31\work\Standalone\localhost\_\/index_jsp.java [javac] Compiling 1 source file
    [javac] Modern compiler not found - looking for classic compiler
    Info: Compile: javaFileName=C:\jakarta-tomcat-4.1.31\work\Standalone\localhost\_\/index_jsp.java
    classpath=C:/jakarta-tomcat-4.1.31/shared/classes/;C:/jakarta-tomcat-4.1.31/common/classes/;C:/jakarta-tomcat-4.1.31/common/endorsed/xercesImpl.jar;C:/jakarta-tomcat-4.1.31/common/endorsed/xmlParserAPIs.jar;C:/jakarta-tomcat-4.1.31/common/lib/activation.jar;C:/jakarta-tomcat-4.1.31/common/lib/ant-launcher.jar;C:/jakarta-tomcat-4.1.31/common/lib/ant.jar;C:/jakarta-tomcat-4.1.31/common/lib/commons-collections.jar;C:/jakarta-tomcat-4.1.31/common/lib/commons-dbcp-1.1.jar;C:/jakarta-tomcat-4.1.31/common/lib/commons-logging-api.jar;C:/jakarta-tomcat-4.1.31/common/lib/commons-pool-1.1.jar;C:/jakarta-tomcat-4.1.31/common/lib/jasper-compiler.jar;C:/jakarta-tomcat-4.1.31/common/lib/jasper-runtime.jar;C:/jakarta-tomcat-4.1.31/common/lib/jdbc2_0-stdext.jar;C:/jakarta-tomcat-4.1.31/common/lib/jndi.jar;C:/jakarta-tomcat-4.1.31/common/lib/jta.jar;C:/jakarta-tomcat-4.1.31/common/lib/mail.jar;C:/jakarta-tomcat-4.1.31/common/lib/naming-common.jar;C:/jakarta-tomcat-4.1.31/common/lib/naming-factory.jar;C:/jakarta-tomcat-4.1.31/common/lib/naming-resources.jar;C:/jakarta-tomcat-4.1.31/common/lib/servlet.jar
    cp=C:\jakarta-tomcat-4.1.31\shared\classes
    cp=C:\jakarta-tomcat-4.1.31\common\classes
    cp=C:\jakarta-tomcat-4.1.31\common\endorsed\xercesImpl.jar
    cp=C:\jakarta-tomcat-4.1.31\common\endorsed\xmlParserAPIs.jar
    cp=C:\jakarta-tomcat-4.1.31\common\lib\activation.jar
    cp=C:\jakarta-tomcat-4.1.31\common\lib\ant-launcher.jar
    cp=C:\jakarta-tomcat-4.1.31\common\lib\ant.jar
    cp=C:\jakarta-tomcat-4.1.31\common\lib\commons-collections.jar
    cp=C:\jakarta-tomcat-4.1.31\common\lib\commons-dbcp-1.1.jar
    cp=C:\jakarta-tomcat-4.1.31\common\lib\commons-logging-api.jar
    cp=C:\jakarta-tomcat-4.1.31\common\lib\commons-pool-1.1.jar
    cp=C:\jakarta-tomcat-4.1.31\common\lib\jasper-compiler.jar
    cp=C:\jakarta-tomcat-4.1.31\common\lib\jasper-runtime.jar
    cp=C:\jakarta-tomcat-4.1.31\common\lib\jdbc2_0-stdext.jar
    cp=C:\jakarta-tomcat-4.1.31\common\lib\jndi.jar
    cp=C:\jakarta-tomcat-4.1.31\common\lib\jta.jar
    cp=C:\jakarta-tomcat-4.1.31\common\lib\mail.jar
    cp=C:\jakarta-tomcat-4.1.31\common\lib\naming-common.jar
    cp=C:\jakarta-tomcat-4.1.31\common\lib\naming-factory.jar
    cp=C:\jakarta-tomcat-4.1.31\common\lib\naming-resources.jar
    cp=C:\jakarta-tomcat-4.1.31\common\lib\servlet.jar
    work dir=C:\jakarta-tomcat-4.1.31\work\Standalone\localhost\_
    srcDir=C:\jakarta-tomcat-4.1.31\work\Standalone\localhost\_
    include=index_jsp.java
    Exception compiling Cannot use classic compiler, as it is not available. A common solution is to set the environment variable JAVA_HOME to your jdk directory.
    Exception:
    Cannot use classic compiler, as it is not available. A common solution is to set the environment variable JAVA_HOME to your jdk directory.
         at org.apache.tools.ant.taskdefs.compilers.Javac12.execute(Javac12.java:72)
         at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:942)
         at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:282)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:328)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:479)
    Cannot use classic compiler, as it is not available. A common solution is to set the environment variable JAVA_HOME to your jdk directory.
         at org.apache.tools.ant.taskdefs.compilers.Javac12.execute(Javac12.java:72)
         at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:942)
         at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:282)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:328)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:479)
    Here are my system settings :
    Eclipse 2.1.3
    plugin : tomcatPluginV21, lomboz.213
    Jakarta-tomcat-4.1.31
    JAVA_HOME      : C:\jdk1.3.1_15
    CATALINA_HOME : C:\jakarta-tomcat-4.1.31
    Here are my Eclipse settings :
    http://server2.uploadit.org/files/marvelousgame-01.JPG
    http://server3.uploadit.org/files/marvelousgame-02.JPG
    http://server2.uploadit.org/files/marvelousgame-03.JPG
    http://server3.uploadit.org/files/marvelousgame-04.JPG
    http://server2.uploadit.org/files/marvelousgame-05.JPG
    http://server3.uploadit.org/files/marvelousgame-06.JPG
    thx!!!

    I would suggest updating your software to the latest versions - java 1.4.2 or higher, tomcat 5 or higher, Eclipse 3. That should fix any incompatibilities you are experiencing.
    As to your problem, it seems the tomcat you are trying to run from Eclipse wants a newer Java version (1.4.2 most likely).

Maybe you are looking for

  • Content of file is different on some machines?!

    Hi, I'm the networkadministrator of a company that uses a couple of macs and macbooks with CS2 & CS3 in a simple network. The data is shared on a network drive and contains all the files we work with. If user A change something in file X and saves it

  • T Code for capitalisation

    Want to know a T code which generates report of pending capitalisation by project no ( not wbs element level as in cjic ). Can any body help ?

  • PLD cant print Country name when I link country code field to OCRY variable

    Dear Experts, I am using PLD, and from the database variable OCRD we have the OCRD.Country field which returns a Country Code, I link it to a OCRY.Name database variable, hoping this variable can print me the country name. However, it doesn't, what a

  • FreeBSD didn't install, i can no longer boot into Windows

    I unsuccessfully installed FreeBSD and I can no longer boot into an OS from the HD.  I attempted to install BSD onto the "G" drive below however the the install gave me some kind of storage error and I can no longer boot into Windows.  While going th

  • What does this name mean in the following form

    Hi guys, Can anyone please tell me abt the name field and also other field onSubmit does in the following form <form method="post" action="IAFDispatcher" name="mainForm2" onSubmit="return checkCustomer()"> Thanks in advance.