JDK 6 WebServices: publishing with tomcat

Hi people:
JDK 6 WebServices seem to be pretty cool.
According to the JDK 6 Web Services tutorials, it is possible to publish web services in a "built-in lightweight container" that is a standard in JDK 6. However, I could not find the way to publish my JDK 6 WebService in tomcat. Is there any way to do it?

To use servlet-based webservice you will need:
1) Generate wsdl, I use this in my ant script:
<!-- generate portable artifacts Java-to-WSDL (wsgen) -->
<target name="run.wsgen" depends="init, init.wsgen, compile.server">
<echo message="Invoking WsGen task (Java-to-WSDL mapping)" />
<exec executable="wsgen">
<arg value="-verbose"/>
<arg value="-classpath"/>
<arg
value="${build.classes.dir}"/>
<arg value="-d"/>
<arg
value="${build.generated.dir}/wsgen"/>
<arg value="-wsdl" />
<arg value="-keep" />
<arg
value="${impl.class}"/>
</exec>
<copy todir="${build.classes.dir}">
<fileset dir="${build.generated.dir}/wsgen" includes="**/*.xml, **/*.class"/>
</copy>
</target>
${impl.class} -- is your java implementation
2) In web.xml:
<listener>
<listener-class>com.sun.xml.ws.transport.http.servlet.WSServletContextListener</listener-class>
</listener>
<servlet>
<servlet-name>your-mapped-servlert-name-here</servlet-name>
<servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>your-mapped-servlert-name-here</servlet-name>
<url-pattern>/your-url-pattern</url-pattern>
</servlet-mapping>
3) Include sun-jaxws.xml in your WEB-INF:
<?xml version="1.0" encoding="UTF-8"?>
<endpoints version="2.0" xmlns="http://java.sun.com/xml/ns/jax-ws/ri/runtime">
<endpoint implementation="package.class" name="your-mapped-servlert-name-here" url-pattern=/your-url-pattern"/>
</endpoints>
4) you will need the following jars: jaxws-rt, jaxb-impl, jaxb-xjc, stax-ex and streambuffer
5) Build a war file, which includes wsgen-generated classes from step 1.
6) You will need to setup soapUI to test it on Tomcat
Bon chance!

Similar Messages

  • 64 bit on jdk 1.4.2_10 with tomcat 5 - out of memory Xms500M Xmx1000

    Hello,
    I recently toke over an existing project. The production server is an Itanium 64 bit. Jdk 1.4.2_10 is installed, tomcat 5 is used as app server. The problem is that after a few days the tomcat proces runs out of memory after being hardly used. Because it takes some days to happen I rather ask here if somebody knows about problems with this configuration.
    I suspect that using java5 could help out. I started up tomcat with plenty memory (500 / 1000). About 9 webapps are installed on the tomcat server. Any sugesstions are highly appreciated.
    regards,
    Dennis

    Hi,
    You can get the HeapDump Analyzer for analyzing IBM AIX heapdumps from the below mentioned link.
    http://www.alphaworks.ibm.com/tech/heapanalyzer
    http://www-1.ibm.com/support/docview.wss?uid=swg21190608
    Prerequistes for obtaining a heapdump:
    1.You have to add -XX:+HeapDumpOnOutOfMemoryError to the java options of the server (see note 710146,1053604) to get a heap dump on its occurance, automatically.
    2.You can also generate heapdumps on request :
    Add -XX:+HeapDumpOnCtrlBreak to the java options of the server
    (see note 710146).
    Send signal SIGQUIT to the jlaunch process representing the
    server e.g. using kill -3 <jlaunch pid> (see note 710154).
    The heap dump will be written to output file java_pid<pid>.hprof.<millitime> in:
    /usr/sap/<SID>/<instance>/j2ee/cluster/server<N> directory.
    Both these parameters can be set together too to get the benefit of both the approaches.
    Regards,
    Sandeep.
    Edited by: Sandeep Sehgal on Mar 25, 2008 6:51 PM

  • Problems with Tomcat 4.0 and jdk 1.3.1 (jsp:include) Help Gurus...

    Im running examples of the include:
    <jsp:include page="xxx.jsp" flush="true">
    and received error:
    org.apache.jasper.JasperException: No se puede compilar la clase para JSP
    An error occurred at line: 17 in the jsp file: /jsp/include/include.jsp
    Generated servlet error:
    /Programas/Tomcat4/work/localhost/examples/jsp/include/include$jsp.java:79: Method include(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String, javax.servlet.jsp.JspWriter, boolean) not found in class org.apache.jasper.runtime.JspRuntimeLibrary.
    JspRuntimeLibrary.include(request, response, "/jsp/include/foo.html" + jspxqStr, out, true);
    ^
    Please Help me Im running this equal with:
    <%@ include file="xxx.jsp" %>
    and runnig fine....

    The two means of including files are different in their approach.
    Using <jsp:include .../> compilation of the included jsp is done at run -time not during compilation.
    Using <%@ include .../> compiles at compile time.
    Looking at the error it seems that the method JspRuntimeLibrary.include is not being found which suggests that you may have a classpath problem. Check that there is not a servlet.jar in the classpath that is from a earlier spec than the one provided with Tomcat.
    Dave

  • Compiling jsp with tomcat 4

    HTTP 500 server error as follows:
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    An error occurred at line: 2 in the jsp file: /listStore.jsp
    *line#2 is the usebean statement in the jsp...
    NOTE: new machine, new configuration... this same servelt/jsp/bean work great on another machine with tomcat 3...
    so this will have something to do with tomcat configuation... believe that the configuration is set to not compile with deprecation.. would like to know where to change that...

    I guess the problem comes from jdk 1.4 ...deprecation of sun.tools.javac.Main prevents compilation in jasper...

  • Call Webservice published by Biztalk web service wizard failed.

    Dears
    I have met an werid issue when call a webservice publish be biztalk.
    in fact I have publish three web services totally.  the problem is two of them are working, and third is not.
    this is the iis log captured. I found 500 error, has any one met this issue and know about the root cause?
    #Date: 2013-12-12 07:37:45
    #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
    2013-12-12 07:37:45 ::1 GET /EOrdering_Order_Proxy/ - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E)
    200 0 0 1885
    2013-12-12 07:37:53 ::1 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx - 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E)
    200 0 0 1763
    2013-12-12 07:38:01 ::1 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx op=SubmitOrderOrConfirmation 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E)
    200 0 64 5241
    2013-12-12 07:38:01 ::1 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx op=SubmitOrderOrConfirmation 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E)
    200 0 0 680
    2013-12-12 07:38:03 ::1 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx op=SubmitOrderOrConfirmation 80 - ::1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+WOW64;+Trident/6.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+.NET4.0C;+.NET4.0E)
    200 0 0 98
    2013-12-12 07:39:10 10.44.23.216 OPTIONS /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx - 80 - 10.44.23.216 - 200 0 0 0
    2013-12-12 07:39:10 10.44.23.216 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx/_vti_bin/ListData.svc/$metadata - 80 - 10.44.23.216 - 500 0 0 8
    2013-12-12 07:39:10 10.44.23.216 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx/$metadata - 80 - 10.44.23.216 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.18052) 500 0 0 6
    2013-12-12 07:39:10 10.44.23.216 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx - 80 - 10.44.23.216 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.18052) 200 0 0 5
    2013-12-12 07:39:10 10.44.23.216 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx disco 80 - 10.44.23.216 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.18052) 200 0 0 22
    2013-12-12 07:39:10 10.44.23.216 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx/_vti_bin/ListData.svc/$metadata - 80 - 10.44.23.216 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.18052)
    500 0 0 70
    2013-12-12 07:39:10 10.44.23.216 GET /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx wsdl 80 - 10.44.23.216 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.18052) 200 0 0 435
    2013-12-12 07:39:10 10.44.23.216 POST /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx - 80 - 10.44.23.216 - 500 0 0 338
    2013-12-12 07:39:11 10.44.23.216 POST /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx/mex - 80 - 10.44.23.216 - 500 0 0 679
    this issue is samiliar with
    http://social.msdn.microsoft.com/Forums/en-US/8984be48-3221-4ca7-9e60-00cc51e9d46a/request-format-is-unrecognized-for-url-unexpectedly-ending-in-metadata?forum=biztalkgeneral
    I also saw the event log metioned in that artilce. but I don't understand the root casue and solution. can anyone kindly help?

    This is the Event log detail, has any on met this issue before?
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 12/12/2013 4:21:56 PM
    Event time (UTC): 12/12/2013 8:21:56 AM
    Event ID: 7f0cb6e13bc8411e8f9ab5fa4d3c1a50
    Event sequence: 4
    Event occurrence: 1
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/1/ROOT/EOrdering_Order_Proxy-1-130313101166971105
        Trust level: Full
        Application Virtual Path: /EOrdering_Order_Proxy
        Application Path: C:\inetpub\wwwroot\EOrdering_Order_Proxy\
        Machine name: CNSHABPMQADB01
    Process information:
        Process ID: 3660
        Process name: w3wp.exe
        Account name: SNCORP\sgbpm01
    Exception information:
        Exception type: InvalidOperationException
        Exception message: Request format is unrecognized for URL unexpectedly ending in '/_vti_bin/ListData.svc/$metadata'.
       at System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response)
       at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath)
       at System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
       at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    Request information:
        Request URL: .......................
        Request path: /EOrdering_Order_Proxy/WebService_EOrdering_Order.asmx/_vti_bin/ListData.svc/$metadata
        User host address: ::1
        User: 
        Is authenticated: False
        Authentication Type: 
        Thread account name: SNCORP\sgbpm01
    Thread information:
        Thread ID: 6
        Thread account name: SNCORP\sgbpm01
        Is impersonating: False
        Stack trace:    at System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response)
       at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath)
       at System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
       at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    Custom event details:

  • How to use JMS with tomcat and Axis

    Hello
    I'm new in ii, so i'm still a little bit lost. I have been implementing web services with tomcat and Axis. However, these services are synchronous and I would like that some services were asynchronous.
    I've been reading about the topic and I've found that JMS is a good solution for it. I have already downloaded JMS in my computer but now I don't know what else to do. I've been trying to run the SimpleQueueSender.java example but I get the error:
    JNDI API lookup failed: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
    But I have attached all .jar from F:\Sun\MessageQueue\lib
    In addition to this, for my first webservices I used the Java2WSDL, WSDL2Java and AdminClient (axis tool) to create my web services bindings, stubs and skeletons and to deploy the web service on the server. Do I have to use them now with JMS? or now the deployment must be performed in a different way?
    Thank you in advanced,

    The error means that you have to specify the type and location of your jndi store. You could create a jndi.properties file and put two properties in it:
    java.naming.provider.url=file\\\:////var/jndi
    java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
    for a file based jndi store. Then you have to make sure your jndi.properties file is in your CLASSPATH. Then you have to use something like imqadmin to create your jndi store and store in it your administrative objects like Queues and QueueConnectionFactories.

  • Works with tomcat not with bea

    hai i am madav
    when i was working with tomcate it was fine but when i deploy in bea portal server with proper additions i am gettin java.io.FileNotFoundException: Response: '401:
    Unauthorized xxx' for url: 'http://feedsind3.cricinfo.com/live/index.xml'
    for below code
    Authenticator.setDefault(new MyAuthenticator());
    URL url = new URL"http://feedsind3.cricinfo.com/live/index.xml");
                   is=url.openStream();
    File f1=new File("c:\\hai2.xml");
              br = new BufferedReader(new InputStreamReader(is));
              bw1 = new BufferedWriter(new FileWriter(f1),5000);
              while((scoresFileUrl=br.readLine())!=null)
                   System.out.println(scoresFileUrl);
                   bw1.write(scoresFileUrl);
                   bw1.flush();
                   bw1.newLine();
                   bw1.close();
                   br.close();
                   is.close();
                   }catch(Exception e){
                   System.out.println(" exception raised in writeToFile "+e);
         RequestDispatcher rd=req.getRequestDispatcher("/livecric.jsp");
    rd.forward(req,res);     
    exception raised in writeToFile java.io.FileNotFoundException: Response: '401:
    Unauthorized xxx' for url: 'http://feedsind3.cricinfo.com/live/index.xml'

    Exactly my problem too. I read somewhere that JDK 1.5 has modified its Authenticator class but I am not able to find an example of how to handle a website that prompts you for userid/password.
    But I scaled back from JDK 1.5 to JDK 1.4 on Weblogic 8.1.5 but that does not work still. So I sense some issues with Weblogic server.
    Can someone help please? Moderators?

  • How to call webservices publish on PI from SAP BI ?

    All,
    We have few webservices published on SAP PI system. Please let me know the approach to call these webservices from SAP BI system
    Regards,
    Reddy

    Hi,
    Why do you require here Webservice,,,, If you want to communicate with XI From BI means
    Just check these, no need to Expose XI Interfaces as Webservice
    BI integration Using XI
    XI-BI Integration
    How tou2026Push Data into BW from XI
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/18dfe590-0201-0010-6b8b-d21dfa9929c9
    How To u2026Push data from BI to XI (including receiver examples)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e698aa90-0201-0010-7982-b498e02af76b
    http://****************/Tutorials/XI/BI/page1.htm
    REgards
    Seshagiri

  • Nullpointerexception on webservice call with J2SE1.5

    the following code:
            D2DServices service = new D2DServicesLocator();
            D2D = service.getD2DServicesSoap();
            this.logger.debug("conn: "+ D2D.testConnection());Stub classes are generated by WSDL2Java from axis. Webservice is .Net, I have it running on the same machine as the Java client. Should return a 'true'.
    I can access the webservice from my browser, I can successfully call the method.
    I'm sure the classes I use aren't Null.
    Same exception occurs if I set an endpoint.
    It DID work before, which is what frustrates me most.
    I use J2SE1.5 (Well, not anymore! but I'd like to!). I did not get the same error with JDK1.4.2_04
    Also the 'signed namespace.jar' problem does NOT occur with J2SE1.5
    gives me the following exception (abbreviated, original is quite long and repetetive):
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.NullPointerException
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}stackTrace: java.lang.NullPointerException
         at java.util.Hashtable.put(Unknown Source)
         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(Unknown Source)
         at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
         at org.apache.axis.client.Call.invoke(Call.java:2553)
         at org.apache.axis.client.Call.invoke(Call.java:2248)
         at org.apache.axis.client.Call.invoke(Call.java:2171)
         at org.apache.axis.client.Call.invoke(Call.java:1691)
         at org.tempuri.D2DServicesSoapStub.testConnection(D2DServicesSoapStub.java:2197)
         at com.response.xuware.container.D2DContainer.connectToD2D(D2DContainer.java:76)
    ....[CUT]....
    java.lang.NullPointerException
         at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
         at org.apache.axis.client.Call.invoke(Call.java:2251)
         at org.apache.axis.client.Call.invoke(Call.java:2171)
         at org.apache.axis.client.Call.invoke(Call.java:1691)
         at org.tempuri.D2DServicesSoapStub.testConnection(D2DServicesSoapStub.java:2197)
    ....[CUT]....
    Caused by: java.lang.NullPointerException
         at java.util.Hashtable.put(Unknown Source)
         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(Unknown Source)
         at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
         at org.apache.axis.client.Call.invoke(Call.java:2553)
         at org.apache.axis.client.Call.invoke(Call.java:2248)
         ... 38 more
    Who can tell me what I'm doing wrong?

    I�ve tried:
    JDK 1.4.1 with AXIS 1.1
    JDK 1.4.2_06 with AXIS 1.1
    JDK 1.4.2_06 with AXIS 1.2
    And I�ve got the same error:
    Exception in thread "main" AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.NullPointerException
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace: AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.NullPointerException
    faultActor:
    faultNode:
    faultDetail:
    java.lang.NullPointerException
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder
    .java:260)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.
    java:169)
    at org.apache.axis.encoding.DeserializationContextImpl.endElement(Deseri
    alizationContextImpl.java:1015)
    at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source
    at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknow
    n Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
    Dispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
    known Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(Unknown Source)
    at org.apache.axis.encoding.DeserializationContextImpl.parse(Deserializa
    tionContextImpl.java:242)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
    at org.apache.axis.client.Call.invoke(Call.java:2553)
    at org.apache.axis.client.Call.invoke(Call.java:2248)
    at org.apache.axis.client.Call.invoke(Call.java:2171)
    at org.apache.axis.client.Call.invoke(Call.java:1691)
    at testearray01.ws.Testearray01SoapBindingStub.getClientes(Testearray01S
    oapBindingStub.java:142)
    at TesteClient01.main(TesteClient01.java:11)
    Can someone help me?

  • Do we need appache and ssl work together with tomcat

    Hi all,
    I have experience use tomcate+ sql2000 +JDK to develop and web search site.  Now I hope somebody told me
    1) do I need add apache with tomcat?
    2) do I need to add SSL?
    thank you every much

    Hi all,
    I download mod_jk 1.2.5_2.0.47.dll from (http://www.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/win32/) rname it as mod_jk.dll and put it down to apache modules, at this step I still get Syntax Ok when I try c:\apache|apache2\bin|Apache.exe -t. but when I add
    <Listener className="org.apache.ajp.tomcat5.config.ApacheConfig" modJk="c:/Apache/Apache2/modules/mod_jk.dll" /> just below the
    <Server port="8005" shutdown="SHUTDOWN" debug="0">
    I can't not star my tomcat.
    what is wrong??
    I have apache 2.0.50 and tomcat 5.0.25 on my Pc and before I add apache my tomcat work fine.
    Thank you

  • SSL mutual authentication with Tomcat and IE

    Hi,
    I am trying to set up mutual ssl with Tomcat.
    Everything works fine on the server but I cannot authenticate the client.
    The client is my internet explorer browser. This is what I have tried.
    -Generated an ssl server certificate using keytool.
    -Generated a certificate for the client
    -exported it to a .cer file
    -imported it to a truststore and moved it into the cacerts file
    I have verified this because tomcat lists my client certificate as a trusted
    one at start up.
    After this I installed the .cer file into IE and tried accessing the server.
    Handshake fails: "bad_certificate"
    I have searched all around the net trying to find someone who had done something like this, could not find anything. Can anyone please help me through this setup.
    -thanks

    Oh I find that there is different code base of WLS 7.0.0!!
    - WLS 7.0.0 of Mai 2002 is propagating the principal correctly with SSL
    mutual authentication.
    - WLS 7.0.0 of Juli 2002 is NOT propagating anymore! (the patch is appliable
    to this)
    Obviously BEA published different nightly builds of the same WLS 7.0.0 on
    the web.
    Is this normal?
    Regards
    Alain Hsiung
    "Alain Hsiung" <[email protected]> wrote in message
    news:[email protected]..
    I think that SP1 has a bug: it cannot propagate the principal when SSL
    mutual
    authentication is used. I fixed it with a small patch. Now the principalis
    propagated
    correctly with SSL mutual authentication on WLS 7.0.1 (WLS 7.0.0 isworking
    without patch).
    Alain Hsiung
    "Alain Hsiung" <[email protected]> wrote in message
    news:[email protected]..
    Hi all
    I make SSL mutual authentication work between 2 WLS 7.0 servers.
    As I upgrade to WLS 7.0 SP1 the principal propagation doesn't workanymore:
    the principal on the target WLS is always "anonymous"!
    Is this a bug or is there something new to parametrize?
    Regards
    Alain Hsiung

  • Tomcat vs Apache with Tomcat connectors (mod/jk)

    Is there any advantage (security, performance etc.) of running a Java web application on Apache HTTP Server with Tomcat Connectors (mod/jk) rather than directly running it on Tomcat.

    This question is already answered, see here:
    http://tomcat.apache.org/faq/connectors.html
    Also for Tomcat/ Apache related questions, post them to the relevant mailing lists.

  • Integration of BI Publisher with Oracle APEX

    I have developed a small application in Oracle APEX. I want to integrate BI Publisher with that APEX app for my reporting needs. What are the essential steps.

    FYI: This article is up - http://blogs.oracle.com/xmlpublisher/2007/06/06#a209
    I look forward to the continuation of this series of posts - we are having troubles with some more advanced stuff!

  • Integration of BI publisher with E-Business Suite

    Gurus
    Can you please tell me the steps to integrate Bi Publisher with E-business Suite
    Regards
    Nitin

    http://www.oracle.com/technology/products/xml-publisher/docs/XMLEBSRep.pdf

  • Integration of BI Publisher with presentation services

    Hello,
    I have installed and configured OBI Answers and Publisher in a Linux infrastructure and configured thro' Websphere/IHS. Answers/Dashboards is working fine. I am trying to integrate BI publisher with OBI answers/dashboards. This is working fine through OC4J but when I try to integrate through Websphere, I get a crypto error.
    I have to deployed a plug-in in web server and tried to integrate BI publisher with presentation services through "cryptotools" and configuring it through instance config. When I hit http://myserver:port/xmlpserver I get "Error 500: com.phaos.crypto.CipherException ". Similarly when I select more products/BI Publisher through OBI Dashboards/Answers, I get the following
    Reporting Login: java.lang.NoClassDefFoundError: com.phaos.crypto.CipherException; nested exception is: java.lang.NoClassDefFoundError: com.phaos.crypto.CipherException
    I feel this is a common issue across both the end points. Has anyone come across this type of issue or similar issue ?
    Help is greatly appreciated.
    thx
    Dinesh

    I'm installing 10.1.3.4 and YES, i have installed BIP war in Websphere.
    I think I may have resolved my original problem but faced with a different one now. I am able to logon to BI publisher standalone and integrated with OBI Answers (thro websphere). But when i click the dashboards link from BI Publisher, its going to the default OC4J installation and not my websphere. The similar re-direction works fine from OBI - Publisher but not from Publisher - OBI.
    I need to find out, how its finding the server name and port to redirect from BIP -> OBI. Can you guys help please ?
    thx
    dinesh Veera

Maybe you are looking for

  • You cannot make an assignment to make-to-order stock - Message no. CO684

    Hi, During conversion of planned order to production order in variant configuration scenario I am getting following error message.... You cannot make an assignment to make-to-order stock Message no. CO684 Diagnosis The component cannot be allocated t

  • Network Error on SMTP Log

    what does this error mean. Network Error: Client DATA line length exceeded (Max 1024) from 204.255.44.44 [204.255.44.44] Is there a problem on my server. Thank you, Marcello

  • Issue in query transport

    Hi All, I am facing an issue with transporting changed query as below: I made some changes to existing query by adding that query in new transport. Now when i transport that request to production newly added changes/columns are not getting reflected

  • EP6.0 installation on windows server 2003

    I am trying to install EP6.0 on Web AS 6.40 on a windows server 2003 machine with 447MB ram.The setup stops at phase 22 (start SAP J2EE engine). I have seen in the SAP MMC .The instance JC00 has not started fully.It is always yellow.Trying to restart

  • Why won't photos from external drive stay on my computer (iPhoto) once I disconnect the external drive?

    I'm trying to move photos from my external drive to my new computer.  When I connect the external drive, I'm able to view all the photos in iPhoto, and I'm able to drag photos to a desktop folder and/or directly into iPhoto.  But, when I disconnect t