Tomcat + axis + netbeans 4.1 problem

hi all
i'm currentky developing a school project that requires web services, the problem is that i can�t get a working example on my machine.
i'm using tomcat 5.5, axis 1.2 and netbeans 4.1
and i have followed this tutorial (first example) : http://cropcrusher.web.infoseek.co.jp/shufujava/wserv/axisnb4_en.html
everything was running good until when i run the client application. It gives me the following error:
init:
deps-jar:
compile:
run:
- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (404)/axis/wsone.jws
faultActor:
faultNode:
faultDetail:
{}:return code: 404
<html><head><title>Apache Tomcat/5.5.7 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /axis/wsone.jws</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/axis/wsone.jws</u></p><p><b>description</b> <u>The requested resource (/axis/wsone.jws) is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/5.5.7</h3></body></html>
{http://xml.apache.org/axis/}HttpErrorCode:404
(404)/axis/wsone.jws
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:732)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
at org.apache.axis.client.Call.invoke(Call.java:2748)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:2347)
at org.apache.axis.client.Call.invoke(Call.java:2372)
at client.ClientOne.getOutputString(ClientOne.java:34)
at client.ClientOne.inputButtonActionPerformed(ClientOne.java:87)
at client.ClientOne.access$000(ClientOne.java:17)
at client.ClientOne$1.actionPerformed(ClientOne.java:68)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
i'm kind of desperate, knoking with my head on the wall so any help would by apreciated.
thanks in advance

Hey, Chech your URL in the client java program specified.
I faced the same problem, most probably you need to append \axis in your URL.

Similar Messages

  • Errors when using tomcat and netbeans combo.[Solved]

    Hi I'm trying to set up a netbeans/tomcat7 development environment for servlet development.
    I have tried this on 2 machines without any success.
    The steps I have followed are as follows.
    First I installed tomcat7 and netbeans from using pacman, then to be able to configure tomcat from netbeans I made the config files write permission 777, as it's just a development server security is not an issue.
    From there I started up netbeans started a new project and set the server to tomcat and pointed the Catalina home dir to /usr/share/tomcat7.
    When I try to run the example jsp project I get the following error:
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: java.lang.IllegalStateException: No Java compiler available
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:584)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:392)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    root cause
    java.lang.IllegalStateException: No Java compiler available
    org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:226)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:636)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    I've spent the last couple of days trying to find any information on this but I cant find anything, so any advice would be much appreciated.
    Last edited by darkclown (2011-12-01 05:15:23)

    From the error, it appears that there is no JDK installed - only a JRE, could that be the case? If you do have a JDK installed, then Tomcat is not finding it.
    I would also not run this on the openJDK, in case you are doing that. I would use the proprietary Oracle/Sun JDK. It's in the AUR, or simply download it from Oracle.
    I was not even aware that netbeans and tomcat are available from pacman. I always "install" those myself manually (i.e. unpack them into a folder). They are simply Java apps that can be installed anywhere, as long as you point them to a valid JDK.

  • Java ME SDK 8.0 EA Netbeans plugin installation problem

    We have been getting reports that some developer had trouble installing the Java ME SDK 8 EA plugins into NetBeans. We are working on fixing the issue, in the meantime please try the workaround posted in the Java ME SDK forum:
    Java ME SDK 8.0 EA Netbeans plugin installation problem
    Also be sure to check the latest ME SDK 8 EA Release Notes for late-braking information:
    http://docs.oracle.com/javame/dev-tools/jme-sdk-8/release-notes/html/Release_Notes/Release_Notes.html
    Sorry for the inconvenience.
    Best,
    -- Terrence

    Hi,
    For the Raspberry Pi, tooling over serial port is not supported. The simplest solution is to use standard IP networking over Ethernet. This can be a direct connection between the PC and the Raspberry Pi, as long as the cable is twisted and the IP addressing is correct (e.g. manual IP addressing or DHCP server on the PC).
    Regarding "Connecting to a UART Device": This is meant for attaching and controlling serial devices from the Raspberry Pi, not for tooling connections between the Raspberry Pi and the PC.
    Hope this helps,
    -- Terrence

  • Starting bundled Tomcat without Netbeans

    Hi,
    I need to start the bundled Tomcat with Netbeans without actually starting Netbeans and rightcliking in Servers->Start Server eventually even put it at the startup of my computer. Anybody can help me do that?

    Bundled tomcat is usually installed within the ide installation directory structure. For instance, if you are using Java Studio Enterprise 8.1, it is installed under <ide_install>/ide/enterprise2/jakarta-tomcat-5.5.9. For other ide versions, you can search the install dir for 'catalina.sh' to find out the directory.
    To start the server outside the ide, move to the <tomcat_in_ide_install_dir>/bin. You should see the startup scripts/executables there.

  • Io Exception connecting to Oracle from apache-tomcat-6.0.14 - weird problem

    Hi all,
    I'm in a desperate situation here. Trying to solve this problem for a week now. I have searched all over the internet but coul not find any solution. I developed an application using netbeans 5.5.1 with VWD pack and it works fine. The application accesses an oracle db on another server which works fine on my development machine. Now I deployed to oracle 9i and apache-tomcat-6.0.14 on a solaris machine and encountered this error :
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    on further troubleshooting I tried this code on the server.
    java.sql.DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    java.sql.Connection conn = java.sql.DriverManager.getConnection("jdbc:oracle:thin:@servername:1521:sid", "username", "pswd");
    and it works alright. The connection was established wothout error.
    But when I try
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    javax.naming.Context init new javax.naming.Context();
    javax.naming.Context ctx = (javax.naming.Context)init.lookup("java:comp/env");
    javax.sql.DataSource ds = (javax.sql.DataSource) ctx.lookup("jdbc/dataSource");
    java.sql.Connection conn = ds.getConnection();
    I still get the same io Exception error.
    Now I need to fetch the values from the context file, because my application uses :-
    CachedRowSetXImpl portal_tabsRowSet= new CachedRowSetXImpl();
    CachedRowSetDataProvider portal_tabsDataProvider= new CachedRowSetDataProvider();
    as follows :-
    portal_tabsRowSet.setDataSourceName("java:comp/env/jdbc/dataSource");
    portal_tabsRowSet.setCommand("SELECT * FROM PORTAL_TABS");
    portal_tabsRowSet.setTableName("PORTAL_TABS");
    portal_tabsDataProvider.setCachedRowSet((javax.sql.rowset.CachedRowSet)getValue("#{SessionBean1.portal_tabsRowSet}"));
    here is my context.xml
    <Context path="/AppPortal">
    <Resource auth="Container" driverClassName="oracle.jdbc.driver.OracleDriver" m
    axActive="20" maxIdle="10" maxWait="-1" name="jdbc/dataSource" password="pswd" ty
    pe="javax.sql.DataSource" url="jdbc:oracle:thin:@servername:1521:sid" username="username"/>
    </Context>
    here is my web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"><context-param><param-name>javax.faces.STATE_SAVING_METHOD</param-name><param-value>server</param-value></context-param><context-param><param-name>javax.faces.CONFIG_FILES</param-name><param-value>/WEB-INF/navigation.xml,/WEB-INF/managed-beans.xml</param-value></context-param><context-param><param-name>com.sun.faces.validateXml</param-name><param-value>true</param-value></context-param><context-param><param-name>com.sun.faces.verifyObjects</param-name><param-value>false</param-value></context-param><filter><filter-name>UploadFilter</filter-name><filter-class>com.sun.rave.web.ui.util.UploadFilter</filter-class><init-param><description>
    The maximum allowed upload size in bytes. If this is set
    to a negative value, there is no maximum. The default
    value is 1000000.
    </description><param-name>maxSize</param-name><param-value>1000000</param-value></init-param><init-param><description>
    The size (in bytes) of an uploaded file which, if it is
    exceeded, will cause the file to be written directly to
    disk instead of stored in memory. Files smaller than or
    equal to this size will be stored in memory. The default
    value is 4096.
    </description><param-name>sizeThreshold</param-name><param-value>4096</param-value></init-param></filter><filter-mapping><filter-name>UploadFilter</filter-name><servlet-name>Faces Servlet</servlet-name></filter-mapping><servlet><servlet-name>Faces Servlet</servlet-name><servlet-class>javax.faces.webapp.FacesServlet</servlet-class><load-on-startup> 1 </load-on-startup></servlet><servlet><servlet-name>ExceptionHandlerServlet</servlet-name><servlet-class>com.sun.errorhandler.ExceptionHandler</servlet-class><init-param><param-name>errorHost</param-name><param-value>localhost</param-value></init-param><init-param><param-name>errorPort</param-name><param-value>24444</param-value></init-param></servlet><servlet><servlet-name>ThemeServlet</servlet-name><servlet-class>com.sun.rave.web.ui.theme.ThemeServlet</servlet-class></servlet><servlet-mapping><servlet-name>Faces Servlet</servlet-name><url-pattern>*.jspx</url-pattern></servlet-mapping><servlet-mapping><servlet-name>ExceptionHandlerServlet</servlet-name><url-pattern>/error/ExceptionHandler</url-pattern></servlet-mapping><servlet-mapping><servlet-name>ThemeServlet</servlet-name><url-pattern>/theme/*</url-pattern></servlet-mapping><session-config><session-timeout>5</session-timeout></session-config><welcome-file-list>
    <welcome-file>JSCreator_index.jsp</welcome-file>
    </welcome-file-list><error-page><exception-type>javax.servlet.ServletException</exception-type><location>/error/ExceptionHandler</location></error-page><error-page><exception-type>java.io.IOException</exception-type><location>/error/ExceptionHandler</location></error-page><error-page><exception-type>javax.faces.FacesException</exception-type><location>/error/ExceptionHandler</location></error-page><error-page><exception-type>com.sun.rave.web.ui.appbase.ApplicationException</exception-type><location>/error/ExceptionHandler</location></error-page><jsp-config><jsp-property-group><url-pattern>*.jspf</url-pattern><is-xml>true</is-xml></jsp-property-group></jsp-config><resource-ref><description>Creator generated DataSource Reference</description><res-ref-name>jdbc/dataSource</res-ref-name><res-type>javax.sql.DataSource</res-type><res-auth>Container</res-auth></resource-ref></web-app>
    This is really strange to me.
    Please help!

    I haven't studied your problem in detail and don't actually use Tomcat 6, but in earlier versions of Tomcat the handling of JNDI leaves a lot to be desired. If you search this forum for posts about Tomcat and JNDI, you will find some useful information.
    One thing I found was that you really need to use the context.xml file in your Meta-inf directory, putting the datasource anywhere else gets into one kind of trouble or another. I tried using server.xml, a context file for the application and the web-inf file.

  • Tomcat & Axis - Best Practice

    Hi all,
    I have installed Tomcat 6.x and Axis 2, both working perfectly. I'm creating a web application that I call fred. I want this application to have one web service in it and it in turn needs to access another web service (.NET webservice hosted on an IIS server).
    Question 1.
    What is the official way for my application (fred) to use Axis? Do I rename the Axis folder to fred and install my application (servlet) there? Or do I leave Axis where it is, install fred in its own directory and then somehow reference Axis?
    Question 2.
    Are there any known problems with using Axis 2 to access a .NET web service? I ran a test on my local machine and I could not get it working, I kept getting the error message: "Server did not recognize the value of HTTP Header SOAPAction" - Is this a known issue? or am I doing something wrong?
    Cheers,

    Axis comes with a good tutorial that explains how to create a new web application using Axis template application or how to include axis to an existing web application. Did you refer that.
    You should also be able to find all the information that you need to use Axis to create a web service client for any web service.

  • Tomcat 5.0.28 Installation Problem

    Hi everybody,
    I'm running tomcat 5.0.28 as a service on windows XP and I'm getting a message that the module javajni.c can not be found.
    Where should this module be??
    Thanks for any hints

    Hello!
    Never had any problem...
    Tomcat 5.0.27
    in my WEB-INF\lib
    118,757 commons-beanutils.jar
    170,902 commons-collections.jar
    109,131 commons-digester.jar
    31,638 commons-logging.jar
    364,647 jsf-api.jar
    696,995 jsf-impl.jar
    20,682 jstl.jar
    393,142 standard.jar
    web.xml
    <web-app version="2.4"
    xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>server</param-value>
    </context-param>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>faces/index.jsp</welcome-file>
    </welcome-file-list>
    D.

  • NetBeans 4.1 Problem

    Well, the good news is that I got my bot working (hurrah!).
    The bad news is that I can't open my JAR >< !!! (angry face).
    I know that a lot of people have had this problem and posted here about it, but I couldn't find a good answer to this question. The problem is that when I build my project and open my JAR it says "Failed to load Main-Class manifest attribute from [directory]." Yet when I extract my JAR I get a folder that contains the manifest.mf file.
    If this helps, this is the contents of my manifest file (when opened with notepad):
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.6.2
    Created-By: 1.5.0_04-b05 (Sun Microsystems Inc.)
    I'm not sure what a manifest file should look like... and I'm not sure if this is even part of the problem... just in the other threads I visited people posted the contents of their manifest file =p
    So, do I need to reinstall/install something? I'm pretty sure I have the latest of everything, but if I have to install something, what would that be? And if not, then what's the problem?

    Well, one of the problems I had is I made a project with existing source files biaccident so I couldn't edit the Main class file. I made a new project and my my JAR semi-works. The one remaining problem is that it doesnt show my image. How do I fix this? When I run it via NetBeans it DOES show my image...

  • Oracle 8i - Tomcat 5.5 - Euro sign problem

    Hello,
    I've this configuration : Oracle 8i - Tomcat 5.5.
    I try to read/write a Euro sign (€) in my database but all I see is a strange sign (like ? inverted).
    I've no problem with accented characters.
    With Tomcat 6 the problem don't exist, but I have some clients with Tomcat 5.5.
    Is it a problem about Oracle JDBC Drivers? ( I've used : ojdbc14.jar and orai18n.jar )
    Thanks.

    1) What is your database characterset?
    2) What is your connection characterset?
    3) How are you verifying the character?
    ad 1: The euro sign is not available in most charactersets (it is available in ISO-8859-15 and UTF-8/16/32 variants).

  • Axis receiver - WS-SECURITY problem

    Hi all,
    we need consume 3th party web service through AXIS adapter. This communication must be secured by certificate. We have imported certificate into keystore. Therefore there are needed WS-addressing and WS-security for SOAP request. We need use UsernameToken Timestamp and next sign following element in SOAP envelope: s:Body, o:UsernameToken, u:Timestamp, a:Action, a:ReplyTo, a:MessageID, a:To. Now we are able add UsernameToken, Timestamp and action addresing by adding modules in AXIS adapter. But we have problem sign needed elements.
    Now we have following SOAP request
    <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
      <soapenv:Header>
        <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soapenv:mustUnderstand="true">
          <wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Timestamp-24">
            <wsu:Created>2010-12-23T16:27:30.889Z</wsu:Created>
            <wsu:Expires>2010-12-23T16:32:30.889Z</wsu:Expires>
          </wsu:Timestamp>
          <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="UsernameToken-23">
            <wsse:Username>user</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Apassword</wsse:Password>
          </wsse:UsernameToken>
        </wsse:Security>
        <wsa:MessageID soapenv:mustUnderstand="false">uuid:8a0e7b40-0eb1-11e0-97ac-8e95546643d1</wsa:MessageID>
        <wsa:To soapenv:mustUnderstand="false">http://www.test.iszo.sk/interfaces/MeasuredValues/Service.svc</wsa:To>
        <wsa:Action soapenv:mustUnderstand="false">http://sfera.sk/ws/xmtrade/iszo/measuredvalues/services/2008/11/01/MeasuredValuesContract/Upload</wsa:Action>
        <wsa:From xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing" soapenv:mustUnderstand="false">
          <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
        </wsa:From>
      </soapenv:Header>
      <soapenv:Body>
    But we need also add Security token to SOAP request to sign needed elements (body, UsernameToken, Timestamp, etc.) as follow:
    <soap:Envelope xmlns:ns="http://sfera.sk/ws/xmtrade/iszo/measuredvalues/services/2008/11/01" xmlns:ns1="http://sfera.sk/ws/xmtrade/iszo/common/types/espv1r1/2008/11/01" xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
      <soap:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
        <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
          <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="CertId-17206535">MIIEgDCCA .... FJSC+w==</wsse:BinarySecurityToken>
          <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="Signature-12725597">
            <ds:SignedInfo>
              <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
              <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
              <ds:Reference URI="#UsernameToken-23996530">
                <ds:Transforms>
                  <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
                </ds:Transforms>
                <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
                <ds:DigestValue>TFzBLZTL5JrDmMJFc2FyJZnVJ3Q=</ds:DigestValue>
              </ds:Reference>
              <ds:Reference URI="#Timestamp-12575106">
                <ds:Transforms>
                  <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
                </ds:Transforms>
                <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
                <ds:DigestValue>7/RY2vugAOvUkBK8PH8zELTUCPI=</ds:DigestValue>
              </ds:Reference>
              <ds:Reference URI="#id-21926836">
                <ds:Transforms>
    Have anybody some idea or example to resolution this issue? Thanks a lot for your answers.
    Regards, Zolo

    Hello Zolo, I hope you are doing wellu2026
    Iu2019m sending you some info that might help you with this matter.
    1)
    Please check:
    Advanced usage questions
    1.     How can I enable the WS-Security features?
    Of note below:
    1039369 - FAQ XI Axis Adapter
    2)
    Please test the SSL connection with "https://<servername>:<SSL port>".
    If SSL is configured correctly, then the SAP J2EE Engineu2019s start page appears in your Web browser.
    There shouldnu2019t be any "Security Alert" or warnings related with security.
    3)
    Please check the links below to gather further info in how to set up this scenario with certificates.
    (The below links are for 7.1 systems, if you are on 7.0, just change /saphelp_nwpi71/ by /saphelp_nw70/).
    Axis Framework in the SOAP adapter
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/45/a4f8bbdfdc0d36e10000000a114a6b/frameset.htm
    Message-Level Security
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/a8/882a40ce93185de1000000
    0a1550b0/frameset.htm
    Security Configuration at Message Level
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/ea/c91141e109ef6fe1000000
    0a1550b0/frameset.htm
    HTTPS Configuration for Messaging
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/e8/1f1041a0f6f16fe1000000
    0a1550b0/frameset.htm
    4) go to:
    http://host:port/XIAxisAdapter/MessageServlet
    The page will display the versions of the deployed components, whether the required libraries are also deployed and if Axis adapter was successfully deployed in the system.
    For more specific scenarios, e.g., WS-Security, WS-ReliableMessaging, it is also necessary to have the relevant optional components deployed. The page should show status OK when all the required components are available and otherwise status Error.
    Cheers,
    Jorge Eidelwein

  • HELP PLEASE: Tomcat 3 - Sun ONE Migration Problems

    Hi everybody. We are new Sun One users. We are trying unsuccessfully to migrate our tomcat application to this environment. in order to deploy it we have created a WAR file from the Netbeans Ide and we are trying to load it into Sun One AS... but it seems there is something wrong with the process becouse we don't have access to the defined jdbc resources. Any help would be very apreciated... and please, excuse my English.
    Javier Moreno

    Thanks a lot of for your fast answer, but we haven't don't too much progress...
    dbping shows a message about "java.lang.NoSuchMethodException: setdataSourceName"
    wich probably means mysql driver isn't fully implemented. anyway i will try
    to describe the steps we make to create de pool hoping you will be able to
    help us...
    That's what we do:
         - first, we create a Connection pool:
              name -> MySQLPool
              database vendor -> Other
              datasource class -> com.mysql.jdbc.jdbc2.optional.MysqlDataSource
    serverName -> localhost
    portNumber -> 3306
    user -> test
    password -> test
    databasename -> jdbc:mysql://localhost/pol
    datasourcename -> pol
         - then, we define the resource:
              jndi name -> jdbc/jdbc-pol01
              pool name -> MySQLPool
              data source enabled -> true
         - in the web.xml of the application we got (just before /webapp):
              <resource-ref>
              <description>DB Connection</description>
              <res-ref-name>jdbc/jdbc-pol01</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
    </resource-ref>
         - and we obtain the connection with a chunk of code like this:
    ctx = new InitialContext();
    dsName = "java:comp/env/jdbc/jdbc-pol01";
    ds = (javax.sql.DataSource) ctx.lookup(dsName);
    con = ds.getConnection();
    If we don't write the resource-ref element at web.xml it fails at the lookup
    step (not finding the resource). but when we add the element the appserver
    claims "Error loading new module in virtual server: javax.naming.InvalidNameException: Real jndi name cannot beempty for jdbc/jdbc-polds.
    We don't know what to do and the death line is comming here fast... any help
    would be very much apreciated.          
    Thanks in advance, good karma.
    jv

  • Category Axis for dates display problems

    I am experiencing an odd display behavior in my flex chart.
    The xml for the chart skips some time, for example:
    <item date="10/31/2006" val="57"/>
    <item date="12/27/2006" val="55"/>
    <item date="02/14/2007" val="44"/>
    <item date="02/22/2007" val="43"/>
    <item date="02/28/2007" val="59"/>
    <item date="02/28/2007" val="58"/>
    <item date="03/03/2007" val="35"/>
    But when it displays on the axis, it displays the labels like
    so:
    10/31/2006 2/22/2007 03/03/2007 etc....
    Here is my definition of the CategoryAxis.
    <mx:horizontalAxis>
    <mx:CategoryAxis id="h1" categoryField="date"
    labelFunction="formatLabel"
    dataProvider="{instrument.lastResult.dataset.rightaxis.series.item}"
    title="{instrument.lastResult.dataset.bottomTitle}"/>
    </mx:horizontalAxis>
    Is this a bug? The chart uses two vertical axis as well.
    Maybe this is causing the problem. Ideally I'd just like to define
    a start and end date for the bottom axis and have it display the
    months uniformly. Is there a way to do that or at least fix this
    odd behavior?

    I am experiencing an odd display behavior in my flex chart.
    The xml for the chart skips some time, for example:
    <item date="10/31/2006" val="57"/>
    <item date="12/27/2006" val="55"/>
    <item date="02/14/2007" val="44"/>
    <item date="02/22/2007" val="43"/>
    <item date="02/28/2007" val="59"/>
    <item date="02/28/2007" val="58"/>
    <item date="03/03/2007" val="35"/>
    But when it displays on the axis, it displays the labels like
    so:
    10/31/2006 2/22/2007 03/03/2007 etc....
    Here is my definition of the CategoryAxis.
    <mx:horizontalAxis>
    <mx:CategoryAxis id="h1" categoryField="date"
    labelFunction="formatLabel"
    dataProvider="{instrument.lastResult.dataset.rightaxis.series.item}"
    title="{instrument.lastResult.dataset.bottomTitle}"/>
    </mx:horizontalAxis>
    Is this a bug? The chart uses two vertical axis as well.
    Maybe this is causing the problem. Ideally I'd just like to define
    a start and end date for the bottom axis and have it display the
    months uniformly. Is there a way to do that or at least fix this
    odd behavior?

  • Axis offsets and padding problems

    I am having problems with getting my charts to draw as columns to the right of tick marks.  Here is what the chart should look like:
    But here is what mine looks like in Flex:
    Below  are snippets from my code to draw the chart in Actionscript.  As you can see, I am currently using the padding property on CartesianChart to keep the chart from clipping the columns.  Then I use offset on the columnSeries to get the columns off the labels.  But I am left with a big gap on the left...
    // code
         var genericChart:CartesianChart = new CartesianChart();
         var axisList:ArrayCollection = chart.getAxisList();
         var renderers:ArrayCollection = new ArrayCollection();
         var seriesArray:ArrayCollection = new ArrayCollection();
         var hAxis:LinearAxis = new LinearAxis();      
         hAxis.padding = 100;
        var ar:AxisRenderer = new AxisRenderer();
        ar.axis = hAxis;
        genericChart.horizontalAxisRenderers = [ar];
        genericChart.horizontalAxis = hAxis;
        var vAxis:LinearAxis = new LinearAxis();
        vAxis.baseAtZero = false;
        var axr:AxisRenderer = new AxisRenderer();
        axr.axis = vAxis;
        var columnSeries:ColumnSeries = new ColumnSeries();        
        columnSeries.columnWidthRatio = 90;
        columnSeries.offset = 50;
        columnSeries.verticalAxis = vAxis;
        seriesArray.addItem(columnSeries);
        renderers.addItem(axr);
        genericChart.series = seriesArray.toArray().reverse();
        genericChart.verticalAxisRenderers = renderers.toArray();

    This appears to be a common problem with Axis not specific to Sun ONE Web Server: http://www.google.com/search?q=org.apache.axis.client.Stub.extractAttachments
    You say you tried Axis 1.2, but the NullPointerException you point out appears to have been fixed in Axis 1.2: http://cvs.apache.org/viewcvs.cgi/ws-axis/java/src/org/apache/axis/client/Stub.java?rev=1.32&view=log#rev1.32
    Perhaps you're running into a different, unrelated problem with Axis 1.2?

  • Tomcat 4.1.12 installation problem

    I have installed Tomcat 4.1.12 on windows 98 so I can test my servlets but I am having a slight problem. When I try to start the server I get this message
    The JAVA_HOME environment variable is not defined correctly
    This environment variable is needed to run this program
    Using CATALINA_BASE: ..
    Using CATALINA_HOME: ..
    Using CATALINA_TMPDIR: ..\temp
    Using JAVA_HOME: j2sdk1.4.0_02
    Invalid switch - -DJAVA.ENDORSED.DIRS=
    Now to avoid typical answers, I would like to mention that I have done the folowing
    1. java sdk is in my autoexec.bat file and I can run java from anywhere.
    2. I have added <SET JAVA_HOME=j2sdk1.4.0_02> in my autoexec.bat file
    It seems it can't find the Java_Home environment even after doing this.Am I missing something?
    The version of tomcat is 4.1.12 and I am using j2sdk1.4.0_02
    Any suggestions are appreciated. I believe many of u have encountered the same problem.
    I used instruction from this great site http://www.moreservlets.com/Using-Tomcat-4.html#Enable-Root-Context
    Thanks in advance.
    laxmi

    Problem solved!
    I had forgotten to mention the drive letter in the path settings.
    I have notified the author of the book/web site.
    www.coreservlets.com and www.moreservlets.com kick ass
    `laxmi

  • Tomcat 4.1 Oracle Blob problem using apache commons DBCP

    Hi all,
    We are using Tomcat 4.1.12, Java 1.4.x and trying to take advantage of the connection pooling that comes with Tomcat(the apache commons DBCP).
    We are connecting to a oracle database.
    Works fine for everything EXCEPT Blobs. We have a servlet that serves images from Oracle, that works fine when it doesn't use the connection pooling, but throws an exception when we call the
    ERROR: Class:DisplayGraphic Method:processRequest(HttpServletRequest request, Ht
    tpServletResponse response)
    Exception: org.apache.commons.dbcp.DelegatingResultSet
    DataSource ds = (DataSource)ctx.lookup("jdbc/db_connection");
    Connection conn = ds.getConnection();
    PreparedStatement pstmt = null;
    ResultSet rs = null;
    pstmt = conn.prepareStatement("SELECT graphic FROM graphics WHERE graphic_id = 1");
    rs = pstmt.executeQuery();
    if(rs.next())
        oracle.sql.BLOB oBlob = ((OracleResultSet) oRS).getBLOB("GRAPHIC");
        InputStream oIS =  oBlob.getBinaryStream();
        ... etc etc...
    }Any ideas?
    Cheers,
    Alex.

    solved the problem.. i was using getBLOB instead of
    getBlob
    doh..Hi Alex,
    your problem is very interesting for me because I have a similar problem and your identical configuration...
    the instruction
    oracle.slq.BLOB aBlob = ((OracleResultSet)super.mRs).getBLOB("BLOBBONE")
    causes this:
    java.lang.ClassCastException: org.apache.commons.dbcp.DelegatingResultSet
    To resolve this, I changed, in server.xml , the factory
    <parameter>
                        <name>factory</name>
                        <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
                   </parameter>
    with:
    <parameter>
    <name>factory</name>
    <value>oracle.jdbc.pool.OracleDataSourceFactory</value>
    </parameter>          
    and magically all works fine...
    But the question is... Why doesn't it work with the standard factory???
    There is a problem in the CLASSPATH that I don't see?
    Any suggestions is welcome!
    Thanks in advance!
    Giselda

Maybe you are looking for

  • Select 10000 rows from Oracle in shortest way

    Looking for a good desicions for trasfering more than 10000 rows from oracle to mysql using only jdbc. Connect is mostly slow about 1 row in a second, rights on oracle are just for select, update, insert operations. I think if I can devide 10000 rows

  • Email on my Pre - IMAP username and password not working

    I am trying to set up my work email on my new Palm Pre.  I am using the identical settings as I did (successfully) in my Treo 755p.  IMAP server, SSL, etc.  But on the Pre I always get an error message that my username or password are incorrect.  My

  • HELP! froze when upgrading zen mi

    I was upgrading the firmware. It was on the system was now rebooting. and it was on that for a long time. Anyway now my zen micro is frozen on the shutting down screen. What should i do?

  • Anybody know a guide to revert Snow Leopard Server from php 5.3.1 to 5.2.x

    I need to build a membership database for where I work. I had it working fine on my personal mac, but wanted to host it on a dedicated computer, so last week I went out and bought a Snow Leopard server. The biggest issue I've come across is that Snow

  • Where we can find the dimension exceeds 20% of the fact table

    hi all, we have dimension in cube if i want to make the dimension as the line item dimension. before doing that we need to find the dimension is exceeds the 20% of the fact table. where we can find this option? please let me know ....         thanks