Using Berkeley Java Edition with Java Web Start

Hi
Have anyone had any experience using Berkeley Java Edition with Java Web Start?. I need to create an application that will download with the database to a client computer and create the database there

Thanks for your reply Luca-Sanna,
This is my jnlp file
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://localhost:8080/dist" href="launch.jnlp">
<information>
<title>MyApplication</title>
<vendor>My Company</vendor>
<homepage href="/test.html"/>
<description>My Test Application</description>
<description kind="short">My Application</description>
<icon href="test.gif" kind="default"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.5+"/>
<jar href="myapp.jar" main="true" download="eager"/>
<jar href="lib/appframework-1.0.3.jar" download="eager"/>
<jar href="lib/beansbinding-1.2.1.jar" download="eager"/>
<jar href="lib/commons-beanutils.jar" download="eager"/>
<jar href="lib/commons-collections.jar" download="eager"/>
<jar href="lib/commons-digester.jar" download="eager"/>
<jar href="lib/commons-logging.jar" download="eager"/>
<jar href="lib/derby.jar" download="eager"/>
<jar href="lib/derbyclient.jar" download="eager"/>
<jar href="lib/derbynet.jar" download="eager"/>
<jar href="lib/itext-1.3.1.jar" download="eager"/>
<jar href="lib/jasperreports-1.3.0.jar" download="eager"/>
<jar href="lib/jbossall-client-2004-05-11.jar" download="eager"/>
<jar href="lib/jdt-compiler-3.1.1.jar" download="eager"/>
<jar href="lib/poi-2.0-final-20040126.jar" download="eager"/>
<jar href="lib/swing-worker-1.1.jar" download="eager"/>
<jar href="lib/toplink-essentials-agent.jar" download="eager"/>
<jar href="lib/toplink-essentials.jar" download="eager"/>
</resources>
<application-desc main-class="mypackage.Login">
</application-desc>
</jnlp>
I have seen many forums with the same above problem with no reply.
Anyone knows what exactly the problem is?

Similar Messages

  • Java tool (with a web based interface)

    Hello all experts,
    This is what may client has said:
    +"We require a Java tool (with a web based interface) that will+
    +screen scrape or copy the Britannica source content from http://www.britannica.com/ by+
    +category. Then import those pages into confluence+
    +<http://www.matrixian.com/software/confluence/> Britannica . Optimally+
    +this tool will work as a plug-in for confluence+
    +<http://www.matrixian.com/software/confluence/> Britannica."+
    Can anyone please tell me what are the processes (java technology) I should undertake to build the system successfully?
    Thanks and Regards,

    Find a lawyer.
    As it appears, without evidence from you to the contrary that you are asking how to use Java to steal copyrighted content I would humbly suggest that you investigate, whether (a) the activity is illegal (b) whether you feel comfortable legally and ethically in helping someone steal content.
    Happily your actual Java related question is quite trivial and the fact that you had to to ask and couldn't either figure it out on your own nor find a suitable answer through searching suggests that you will be unable to provide the client with what they ask based on your current skill set. Aka the legality won't be an issue since you don't appear competent enough anyway.

  • Using GAP math software with Java 1.4, possible?

    Hello all,
    i work at a tech university and a Prof. has the following question:
    Some of his students want to use a free math software package called GAP with their diploma work. Question is: Can they use the GAP package with Java 1.4 Math Class and how does one interact between using GAP and Java 1.4?
    If anyone can help, i would be much obliged.
    Thank you.
    Raymund

    There does not seem to be any such capability, based on the articles in the GAP forum. You might want to look at this article which mentions a means of using Maple and GAP from Java programs.
    http://www.gap-system.org/~gap/Forum/Solomon.1/Andrew.1/JavaMath.1/1.html
    Chuck

  • Configure CRS2008 to using AD and Kerberos with Java application servers.

    Hi All,
    I have configure CRS2008 to using AD and Kerberos with Java application servers. Domain Controller is installed on W2K3 Server. In addition, CRS2008 is installed on another W2k3 Server.
    I have create service account in domain controller: CMSACC
    I have create two user account: CRuser1 and CRuser2
    I have create domain group: CRSGroup
    After I had run the setspn in domain controller,I got the message at below:
    Registered ServicePrincipalNames for CN=CMSACC, OU=TEST, DC=BD, DC=com:
        BOBJCentralMS/BDMGTSRV.BD.com
    CMC Setting:
    AD Administration Name: BD\administrator
    Default AD Domain: BD.com
    Add AD Group(Domain\Group): secWinAD:CN=CRSGroup,OU=TEST,D=BD,DC=com
    Service principal name:BOBJCentralMS/CMSACCatBD.com
    I have create a WINNT folder in root directory.Moreover and save bcsLognin.conf and Krb5.ini at here.
    bscLogin.conf:
    com.businessobjects.security.jgss.initiate {
    com.sun.security.auth.module.Krb5LoginModule required;
    krb5.ini:
    [libdefaults]
    default_realm = BD.com
    dns_lookup_kdc = true
    dns_lookup_realm = true
    [realms]
    forwardable = true
    BD.com = {
    default_domain = BD.com
    kdc = BDMGTSRV.BD.com
    I have tested the Kerberos,using kinit CMSACCatBD.com password, and got error message at below:
    Exception: krb_error 41 Message stream modified (41) Message stream modified
    KrbException: Message stream modified (41)
            at sun.security.krb5.KrbKdcRep.check(KrbKdcRep.java:53)
            at sun.security.krb5.KrbAsRep.<init>(KrbAsRep.java:96)
            at sun.security.krb5.KrbAsRep.getReply(KrbAsRep.java:486)
         at sun.security.krb5.KrbAsRep.getReply(KrbAsRep.java:444)
         at sun.security.krb5.internal.tools.Kinit.sendASRequest(Kinit.java:310)
         at sun.security.krb5.internal.tools.Kinit.<init>(Kinit.java:259)
         at sun.security.krb5.internal.tools.Kinit.main(Kinit.java:106)
    My problem is failed to logon CMC and infoview and got error message at below:
    Account Information Not Recognized: Active Directory Authentication failed to log you on. Please contact your system administrator to make sure you are a member of a valid mapped group and try again. If you are not a member of the default domain, enter your user name as UserNameatDNS_DomainName, and then try again.
    Actually, I am sucessful to logon Business View manager with CRuser1. However, I fail to logon CMC and infoview and got the above error. Have you any suggestion to solve this problem?
    Ken.

    if you can logon with client tools then that should be an indication that the service account running the CMS IS working! Good news.
    So the problem is likely with the java portion (krb5/bsclogin or java options)
    If the files are in c:\winnt\ (if not copy them there) and perform c:\program files\business objects\javasdk\bin\kinit username
    then enter and password/enter again
    Probably get the same message. To note in your krb5.ini all domain info must be in CAPS (the .com appears to be in lower case)
    kinit works with just the krb5.ini, java SDK and AD (removing BO config and the service account from the picture). Once that works if your java options are specified properly you should be able to login to CMC/infoview.
    also 1 last point. Add udp_preference_limit = 1 to the krb5 lib defaults section
    libdefaults
    default_realm = BD.com
    dns_lookup_kdc = true
    dns_lookup_realm = true
    udp_preference_limit = 1
    Regards,
    Tim

  • Use DB Sequence/Trigger with Java types

    The documentation(Fusion Dev Guide 4.10.10) covers using triggers to assign DB primary keys. This does not seem to apply when using java types.
    I have a create button on a master level page which should take the user to a detail level page to fill in the item properties.
    How can I use the DBSequence type with java typed variables?

    This chapter tess you that you can use the trigger assigned PK only for the db sequence type.
    Still you can use a db sequence to get a unique number and assign it (after converting it to the right type) to a java type. This you have to do yourself.
    this is the javadoc for the class [http://download.oracle.com/docs/cd/E15051_01/apirefs.1111/e10653/oracle/jbo/client/remote/SequenceImpl.html|http://download.oracle.com/docs/cd/E15051_01/apirefs.1111/e10653/oracle/jbo/client/remote/SequenceImpl.html]
    Timo

  • Uhmmm what happened to the Sneak Preview Full Edition with Java AddIn?

    Anyone knows if the anouncement of the new Full ABAP edition 2004s is also the silent dead of the Full edition with Java stack add-in? It has mysteriously disappeared from the page...

    No

  • Can  i use SLE4428 smart card with java card developmentkit 2.1.2

    Can i use SLE4428 smart card with java card developmentkit 2.1.2
    plz reply

    No. SLE4428 is memory card and not Java Card.

  • Deploying a Java CORBA application in Web Start

    I am a novice to Java Web Start. I have a sample Client-Server application with CORBA as a middle ware. The front end (Client) is in Java and back end (Server) is in C++. The application is run and tested with jar and batch file. Now I want to deploy that application in Java Web Start and JNLP.
    I have configured the same by creating a JNLP file and signed jars.
    Now as all knows any CORBA application needs a domain file ( .cfg ) and some org.omg classes to communicate with the server by RPC.
    I am stuck with how to specify these domain file name, path, CORBA classes etc in my JNLP. Not even that, I can't understand exactly what configuration will make the CORBA apps work properly in Java Web Start so that it can communicate with the server as well. All the Orbix jars's, IDL Stub jars are present and signed. I am giving my JNLP file as a reference. Actually I have tried adding these domain files and CORBA classes as parameters. But as usual it is not working and after running the JNLP the Java console suddenly gets disappeared.
    CORBADemo.jnlp
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://172.28.1.139:8400/Test_CORBA_App" href="CORBADemo.jnlp">
    <information>
         <title>CORBA Demo</title>
         <vendor>Ushacomm</vendor>
    </information>
    <resources>
         <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
         <jar href="lib_6.3-Signed/UI_Fall_Test63.jar" main="true" download="eager" />
         <jar href="lib_6.3-Signed/ConfigurationService.jar" download="eager" />
         <jar href="lib_6.3-Signed/IDLStub.jar" download="eager" />
         <jar href="lib_6.3-Signed/art-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/art.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip_cio-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip_cio.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip_nio-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip_nio.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_tls-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_tls.jar" download="eager" />
         <jar href="lib_6.3-Signed/codeset.jar" download="eager" />
         <jar href="lib_6.3-Signed/concurrency-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/concurrency.jar" download="eager" />
         <jar href="lib_6.3-Signed/ifc-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/ifc.jar" download="eager" />
         <jar href="lib_6.3-Signed/iiop.jar" download="eager" />
         <jar href="lib_6.3-Signed/java_management_logging-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/java_mgmt_plugin-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/java_portable_interceptor-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/management-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/management.jar" download="eager" />
         <jar href="lib_6.3-Signed/mgmt.jar" download="eager" />
         <jar href="lib_6.3-Signed/omg-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/omg.jar" download="eager" />
         <jar href="lib_6.3-Signed/perf_logging.jar" download="eager" />
         <jar href="lib_6.3-Signed/portable_interceptor.jar" download="eager" />
         <property name="Dorg.omg.CORBA.ORBClass" value="com.iona.corba.art.artimpl.ORBImpl"/>
         <property name="Dorg.omg.CORBA.ORBSingletonClass" value="com.iona.corba.art.artimpl.ORBSingleton"/>
         <property name="ORBdomain_name" value="VOIAMODOMAINNEW"/>
    </resources>
    <application-desc name="CORBADemo Demo Application" main-class="Launch" width="300" height="300">
    </application-desc>
    <update check="background"/>
    <argument>1</argument>
    <security>
         <all-permissions/>
    </security>
    </jnlp>
    .

    *@ gimbal2 and EJP :*
    The firewall is present and allowed to access apps. When I am running the jar of my application from batch file then everything is running fine. The CORBA Server is a remote RHEL5 (Enterprise Linux 5) machine whose 'IP' and 'Hostname' is specified in *"C:\WINDOWS\system32\drivers\etc\hosts"* file. Server is running fine and after starting the Client the Server side remote method is invoked. Data fetched properly and everything is working like a charm.
    When running from batch (.bat) file using jar My applications folder hierarchy is something like this.
    Test_CORBA_App
    ------+config ( contains resources file and domain file )
    ------+lib_6.3 ( contains all Jars)
    ------+log ( will contaiin the generated log files )
    -------runCORBA_App.bat ( the batch file I am running )
    As depicted above the folder hierarchy, my domain file resides in "config" folder. The contents of the batch file are as follows :
    runCORBA_App.bat
    C:\jdk1.6.0_14\bin\java -Xms64M -Xmx512M -Dorg.omg.CORBA.ORBClass=com.iona.corba.art.artimpl.ORBImpl -Dorg.omg.CORBA.ORBSingletonClass=com.iona.corba.art.artimpl.ORBSingleton -jar lib_6.3\UI_Fall_Test63.jar -ORBdomain_name VOIAMODOMAINNEW 1
    pause
    The following things are specified in the batch file :
    1. JDK path : ( C:\jdk1.6.0_14\bin\java )
    2. Java VM arguments for max and min memory : ( -Xms64M -Xmx512M )
    3. ORB class name: ( -Dorg.omg.CORBA.ORBClass=com.iona.corba.art.artimpl.ORBImpl )
    4. ORB singleton class name : ( -Dorg.omg.CORBA.ORBSingletonClass=com.iona.corba.art.artimpl.ORBSingleton )
    5. Jar file name to run : ( -jar lib_6.3\UI_Fall_Test63.jar )
    6. Domain Name : ( -ORBdomain_name VOIAMODOMAINNEW )
    7. Main function args : ( 1 )
    I am trying to deploy this simple CORBA application in Java Web Start and JNLP. I kept this in my tomcat server web apps. The folder hierarchy is as follows :
    tomcat
    ---+ bin
    ---+ conf
    ---+ ..
    ---+ ..
    ---+ ..
    ---_ webapps
    ----------+ host-manager
    ----------+ manager
    ----------+ ..
    ----------+ ..
    ----------_ Test_CORBA_App
    -------------------+ config
    -------------------+ lib_6.3
    -------------------+ lib_6.3-Signed
    -------------------+ log
    --------------------CORBADemo.jnlp (.jnlp file)
    --------------------index.html (.html file)
    As you can see I maintained the same folder structure as it was when running from batch file. The jars I am using is signed and kept in lib_6.3-Signed folder.
    My updated "CORBADemo.jnlp" is :
    CORBADemo.jnlp
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://172.28.1.139:8400/Test_CORBA_App" href="CORBADemo.jnlp">
    <information>
         <title>CORBA Demo</title>
         <vendor>Ushacomm</vendor>
    </information>
    <resources>
         <j2se version="1.6" href="http://java.sun.com/products/autodl/j2se" java-vm-args="-Xms64M -Xmx512M 1" />
         <jar href="lib_6.3-Signed/UI_Fall_Test63.jar" main="true" download="eager" />
         <jar href="lib_6.3-Signed/ConfigurationService.jar" download="eager" />
         <jar href="lib_6.3-Signed/IDLStub.jar" download="eager" />
         <jar href="lib_6.3-Signed/art-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/art.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip_cio-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip_cio.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip_nio-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_ip_nio.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_tls-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/atli2_tls.jar" download="eager" />
         <jar href="lib_6.3-Signed/codeset.jar" download="eager" />
         <jar href="lib_6.3-Signed/concurrency-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/concurrency.jar" download="eager" />
         <jar href="lib_6.3-Signed/ifc-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/ifc.jar" download="eager" />
         <jar href="lib_6.3-Signed/iiop.jar" download="eager" />
         <jar href="lib_6.3-Signed/java_management_logging-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/java_mgmt_plugin-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/java_portable_interceptor-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/management-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/management.jar" download="eager" />
         <jar href="lib_6.3-Signed/mgmt.jar" download="eager" />
         <jar href="lib_6.3-Signed/omg-rt.jar" download="eager" />
         <jar href="lib_6.3-Signed/omg.jar" download="eager" />
         <jar href="lib_6.3-Signed/perf_logging.jar" download="eager" />
         <jar href="lib_6.3-Signed/portable_interceptor.jar" download="eager" />
         <property name="Dorg.omg.CORBA.ORBClass" value="com.iona.corba.art.artimpl.ORBImpl"/>
         <property name="Dorg.omg.CORBA.ORBSingletonClass" value="com.iona.corba.art.artimpl.ORBSingleton"/>
         <property name="ORBdomain_name" value="VOIAMODOMAINNEW"/>
    </resources>
    <application-desc name="CORBADemo Demo Application" main-class="Launch" width="300" height="300">
    </application-desc>
    <update check="background"/>
    <argument>1</argument>
    <security>
         <all-permissions/>
    </security>
    </jnlp>
    N.B
    *1. I am running the Tomcat server in my own machine on port 8400 ( for sure, as I have deployed many .war files using this tomcat and all worked ). And using the URL below running the WebStart application.*
    *2. I am running the JNLP from my own machine.*
    *3. CORBA server is running on a remote RHEL 5 machine as I mentioned before also.*
    URL : http://<My Machine IP>:8400/Test_CORBA_App/
    As desired the Web Start application will make a call to the remote CORBA server on RHEL5 machine by initializing the ORB and resolving the CORBA NamingService. But exception is occurring as I posted in previous post i.e exception while resolving NamingService.
    Now my query is whether the domain file ( DOMAIN.cfg ) is reading/ accessing properly from my machine while running the JNLP or not. Because I presume in Java Web Start special attention is required to read any .cfg file. If everything is fine why the error is occurring.
    *@ EJP :* The ORB is desired to run and running on the CORBA Server remote macine i.e RHEL5 machine, because from batch file it is working fine.
    Is it so that I need to run the Tomcat Web Server and CORBA Server from the same machine.

  • Problems using JavaMail and activation with Java 1.6

    Hi,
    I have developed an application with a SOAP architecture using Axis. Everything worked fine until I upgrade the JRE version from 1.5 to 1.6. Since then a "javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/related; type="text/xml" " exception is thrown every time I try to connect to the webservices.
    Debugging the code I've found that the problem is a null value in the "dch" attribute of the ObjectDataContentHandler object returned by the getInputStream method in the DataHandler class.
    When I launch the application using JRE 1.5 this attribute value is "text_plain" and everthing woks ok but when I launch it with JRE 1.6 the attribute has a wonderful "null" value...
    Anybody knows what could be the reason for that "null" value?
    I've looking for this problem in diferent forums and I believe that could be some kind of incompatibility between the activation version provided with the JRE 1.6 and the JavaMail 1.4 version but I'm not sure.
    Thanks in advance!

    My application also stopped working and sadly is a production application (is in a production environment and production depends heavily on it since it contains Standard Operation Procedures documents).
    I've tried so far uninstalling jre 1.6 from server, opening the jnlp with jre 1.5.13 and nothing yet. the curious thing is that the jre 1.6 update took place some time ago and today I'm getting the error. Not sure i the server went down recently which might explain some of it.
    Here's my error:
    java.lang.reflect.InvocationTargetException
            at sun.reflect.GeneratedConstructorAccessor4.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) 
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
            at org.apache.axis.Message.setup(Message.java:352)
            at org.apache.axis.Message.<init>(Message.java:235)
            at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:779)
            at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
            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:2784)
            at org.apache.axis.client.Call.invoke(Call.java:2767)
            at org.apache.axis.client.Call.invoke(Call.java:2443)
            at org.apache.axis.client.Call.invoke(Call.java:2366)
            at org.apache.axis.client.Call.invoke(Call.java:1812)
            at com.bluecubs.xinco.client.XincoExplorer.doDataWizard(XincoExplorer.java:2788)
            at com.bluecubs.xinco.client.XincoExplorer$8.mousePressed(XincoExplorer.java:1437)
            at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:263)
            at java.awt.Component.processMouseEvent(Component.java:6035)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
            at java.awt.Component.processEvent(Component.java:5803)
            at java.awt.Container.processEvent(Container.java:2058)
            at java.awt.Component.dispatchEventImpl(Component.java:4410)
            at java.awt.Container.dispatchEventImpl(Container.java:2116)
            at java.awt.Component.dispatchEvent(Component.java:4240)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3983)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
            at java.awt.Container.dispatchEventImpl(Container.java:2102)
            at java.awt.Window.dispatchEventImpl(Window.java:2429)
            at java.awt.Component.dispatchEvent(Component.java:4240)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Caused by: Error reading data stream:  Error in MIME data stream, start boundary not found, expected:  ------=_Part_5_13931643.1192823865125
            at org.apache.axis.attachments.MultiPartRelatedInputStream.<init>(MultiPartRelatedInputStream.java:339)
            at org.apache.axis.attachments.AttachmentsImpl.<init>(AttachmentsImpl.java:119)
            ... 39 more
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.RuntimeException
    faultActor:
    faultNode:
    faultDetail:
            {http://xml.apache.org/axis/}stackTrace:java.lang.RuntimeException
            at org.apache.axis.Message.setup(Message.java:361)
            at org.apache.axis.Message.<init>(Message.java:235)
            at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:779)
            at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
            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:2784)
            at org.apache.axis.client.Call.invoke(Call.java:2767)
            at org.apache.axis.client.Call.invoke(Call.java:2443)
            at org.apache.axis.client.Call.invoke(Call.java:2366)
            at org.apache.axis.client.Call.invoke(Call.java:1812)
            at com.bluecubs.xinco.client.XincoExplorer.doDataWizard(XincoExplorer.java:2788)
            at com.bluecubs.xinco.client.XincoExplorer$8.mousePressed(XincoExplorer.java:1437)
            at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:263)
            at java.awt.Component.processMouseEvent(Component.java:6035)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
            at java.awt.Component.processEvent(Component.java:5803)
            at java.awt.Container.processEvent(Container.java:2058)
            at java.awt.Component.dispatchEventImpl(Component.java:4410)
            at java.awt.Container.dispatchEventImpl(Container.java:2116)
            at java.awt.Component.dispatchEvent(Component.java:4240)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3983)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
            at java.awt.Container.dispatchEventImpl(Container.java:2102)
            at java.awt.Window.dispatchEventImpl(Window.java:2429)
            at java.awt.Component.dispatchEvent(Component.java:4240)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
            {http://xml.apache.org/axis/}hostname:PRAII1371900
    java.lang.RuntimeException
            at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
            at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
            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:2784)
            at org.apache.axis.client.Call.invoke(Call.java:2767)
            at org.apache.axis.client.Call.invoke(Call.java:2443)
            at org.apache.axis.client.Call.invoke(Call.java:2366)
            at org.apache.axis.client.Call.invoke(Call.java:1812)
            at com.bluecubs.xinco.client.XincoExplorer.doDataWizard(XincoExplorer.java:2788)
            at com.bluecubs.xinco.client.XincoExplorer$8.mousePressed(XincoExplorer.java:1437)
            at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:263)
            at java.awt.Component.processMouseEvent(Component.java:6035)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
            at java.awt.Component.processEvent(Component.java:5803)
            at java.awt.Container.processEvent(Container.java:2058)
            at java.awt.Component.dispatchEventImpl(Component.java:4410)
            at java.awt.Container.dispatchEventImpl(Container.java:2116)
            at java.awt.Component.dispatchEvent(Component.java:4240)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3983)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
            at java.awt.Container.dispatchEventImpl(Container.java:2102)
            at java.awt.Window.dispatchEventImpl(Window.java:2429)
            at java.awt.Component.dispatchEvent(Component.java:4240)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Caused by: java.lang.RuntimeException
            at org.apache.axis.Message.setup(Message.java:361)
            at org.apache.axis.Message.<init>(Message.java:235)
            at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:779)
            at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
            ... 32 moreAnd the related code:
    Message m = null;
                                MessageContext mc = null;
                                AttachmentPart ap = null;
                                Call call = (Call)xincoClientSession.xinco_service.createCall();
                                call.setTargetEndpointAddress(new URL(xincoClientSession.service_endpoint));
                                call.setOperationName(new QName("urn:Xinco", "downloadXincoCoreData"));
                                Object[] objp = new Object[2];
                                objp[0] = (XincoCoreData)newnode.getUserObject();
                                objp[1] = xincoClientSession.user;
                                //tell server to send file as attachment
                                //(keep backward compatibility to earlier versions)
                                ap = new AttachmentPart();
                                ap.setContent(new String("SAAJ"), "text/string");
                                call.addAttachmentPart(ap);
                                //invoke actual call
                                byte_array = (byte[])call.invoke(objp);
                                //get file from SOAP message or byte array
                                mc = call.getMessageContext();
                                m = mc.getResponseMessage();
                                if (m.getAttachments().hasNext()) {
                                    ap = (AttachmentPart)m.getAttachments().next();
                                    in = (InputStream)ap.getContent();
                                } else {
                                    in = new ByteArrayInputStream(byte_array);
                                }The stack trace point the error to the line:
    *byte_array = (byte[])call.invoke(objp);*
    Edited by: javydreamercsw on Oct 19, 2007 1:08 PM

  • Berkeley DB Java Edition and Java 1.4

    As a Berkeley DB Java Edition user we place a very high value on your input. We need your feedback regarding a product requirement for Java 1.5.
    As time goes on we find ourselves implementing more and more performance enhancements based on facilities found only Java 1.5, primarily in the java.util.concurrent package. When we make these enhancements, we currently also maintain support for Java 1.4 although not at the same level of performance. Maintaining and testing this dual mode operation is beginning to slow down our development process. We would like to move as quickly as possible to take advantage of Java 1.5 performance features, but we are constrained by maintaining support for Java 1.4.
    We are therefore planning to require Java 1.5 in the next major release of Berkeley DB Java Edition. Before finalizing this plan, we need your input on whether Java 1.4 support is important to you. Please let us know what your needs are by replying to this forum message.
    Thanks.
    The Java Edition team

    Morgan,
    Yes, we currently plan to only offer replication for Java 1.5. Our motivations are split between the speed consideration and the codeline issues. We've seen better performance with 1.5. Also taking full advantage of the type safety and concurrent support in 1.5 can end up affecting implementation choices significantly, and can make 1.4 code and 1.5 code diverge a lot.
    As for bug fixing on the 1.4 releases, we don't yet have an official plan. We care very much about supporting our open source users and have been able to provide backwards patches where critical in the past. However, the cost of backporting between 1.5 and 1.4 may be high for some bug fixes, and we'll probably have to decide case by case.
    Regards,
    Linda

  • Using SQL reporting services with java

    how can i use Microsoft SQL Server reporting services with java? The idea is that we create the reports using Microsoft SQL Server reporting services. Then we have our web application where user will select one of those report, pass 0 or more arguments and then we will show the report.

    nobody is using Microsoft SQL Server reporting
    services with java?Found this in 0.01 seconds with Google http://www.javaworld.com/javaworld/jw-01-2005/jw-0110-sqlrs.html
    Handy tool that Google.

  • How to use the Rc4DLL.dll with java (jre1.4 )

    I am not able to use Rc4DLL.dll with java, there are some characters (encrypted using Rc4DLL.dll) that java is not able to identify. So while decrypting in java using Rc4DLL I am not getting the desired output (as some character java tries to decrypt are not supported with java). Could some one give a solution of using Rc4DLL with java jre 1.4

    RC4 cipher is supported by 1.4.
    And surely you can turn a link to the 1.5.0 JCE Reference Guide into a link to the 1.4.2 Reference Guide? I did. Took me 5 seconds to check that. As opposed to wasting a day and a half in forums like you just did.

  • SQLEception using Complex SQL Query with Java Studio Creator2 Build(060120)

    I am evaluating Java Studio Creator2 for a WEB base application project that will be making SQL queries to an Oracle Database but I have stumble into a problem using complex SQL queries.
    I am getting an SQLException "org.apache.jasper.JasperException: java.lang.RuntimeException: java.sql.SQLException: [sunm][Oracle JDBC Driver][Oracle]ORA-00923: FROM keyword not found where expected". I looks like it cut my sql.
    The SQL that I am trying to execute is
    Select part_name
    from table1, table2
    where table1.part_nbr = table2.part_nbr
    and table2.row_add_dt = (select max(table3.row_add_dt)
    from table3
    where table3.ser_part_id =table2.ser_part_id)
    This is a valid query that it is using 2 different selects to get a part number.
    If posible, point me to the best solution were I will be able to make complex SQL queries like the one above and bigger.
    Is there any way that I can read an SQL query file instead of inserting the SQL query string into the setCommand()?

    I have read that document looking for some anwsers on how to make this kind of query. If I try the query that I have above in the query editor ,the query editor will cut off from the last select that is between ().
    I beleave, there is a work around using the inner joint or outter join command. I will try them to see If I get the corrent result. If not, then I have to keep on asking for possible solutions.
    Anyway, someone in the Creator Team should take a note in adding something like a special criteria in the Add Query Criteria Box for cases like the one I have. The special criteria will be like using another select/from/where to get some result that will be compare.
    Girish, Are you in the Sun Creator Team?

  • How to use a progress bar with java mail?

    Hi, i'm new here.
    I want if someone can recommend me how to show a progress bar with java mail.
    Because, i send a message but the screen freeze, and the progress bar never appear, after the send progress finish.
    Thanks

    So why would the code we post be any different than the code in the tutorial? Why do you think our code would be easier to understand? The tutorial contains explanations about the code.
    Did you download the code and execute it? Did it work? Then customize the code to suit your situation. We can't give you the code because we don't know exactly what you are attempting to do. We don't know how you have changed to demo code so that it no longer works. Its up to you to compare your code with the demo code to see what the difference is.

  • Problem when exiting an app that was launched with Jawa web start

    Hey
    Using java web start my jdk/jre is 1.6 u1. I can deploy and launch/install my apps fine, but when i exit them a instance of javaw.exe is eating memory. With a few stops/starts of my app i finnally crashed the computer with about 15 javaw.exe processes up and running.
    The app terminates fine if i launch it from command line or eclipse.
    Using SWT if that can have anythign to do with it
    Thomas
    Message was edited by:
    thfs

    I spotted this
    http://lopica.sourceforge.net/faq.html#linger
    which says that for some reason you have to call System.exit for Swing apps and for some reason webstart turns all apps into Swing apps!
    I'm using SWT and thought that closing the shell should shutdown the JVM correctly, perhaps Swing has some nasty non-daemon threads hanging around ? I'd love to know more so if anyone has got any detailed information, that'd be great.
    Cheers

Maybe you are looking for

  • How can I convert Pdf from RGB to CMYK, keeping font color 100% K while working in Illustrator?

    How can I convert Pdf from RGB to CMYK, keeping font color 100% K while working in Illustrator? When I try to open the document in Illustrator and I convert to CMYK the black font converts to rich black, but to set up for Offset printintg I need the

  • Can I connect a thumb drive to my Mac on a Guest Account?

    My dad needs to use my Mac for an office presentation. He will use the guest account and present from a thumbdrive. Problem is, the Mac can't seem to detect it. Is the guest acount programmed that way? He really needs this.

  • How to Inactivate changes made by Change Master

    Hi Guru's, We use Change Master (no system status & release approach in use). If a BOM is changed with CM & data manager wants the change to be inactive (Planned Orders/ process orders should not copy the data of this CM), what could be the solution.

  • PO Condition currency for freights and insurance

    Dear All, In case of Import POs we are maintaining doc currency in USD in PO header as currency of goods supplier but we are also maintaing the forwarder chages and duty clearance charges for other vendor BUT with indian Rupees so please guide me how

  • Automatic redeployment when debugging

    Hi, I am trying to debug a JSP using JBoss 3.2.5 with auto-deployment. I am able to run the application, and set breakpoints in the JSP. Is it possible to change the code in the JSP and have the changes reflected immediately in the browser? I have to