Unrecognized option -a could not create Java Virtual Machine..?

while using "java -classpath <axis jar files> -a <mywsdlfile>
i got the error message as 'Unrecognized option -a could not create Java Virtual Machine"
plz help me how to get rid of this?? i've successfully installed axis1.4 & tomcat6.

Sorry, I thought that you meant to pass "-a" to the java tool and not the WSDL2JAVA tool. "-a" is definitely a valid option for WSDL2Java.
But your error indicates that it is indeed trying to pass "-a" as an option to java, which is why the error is "unable to create Java Virtual Machine".
Try using the long format for the "-a" option which is "--async". (http://ws.apache.org/axis2/tools/1_0/CodegenToolReference.html).
"java –classpath pathToJAR/Filename org.apache.axis.wsdl.WSDL2Java --async pathToWsdl/WsdlFilename"
Edited by: javaguy on Sep 2, 2009 11:46 PM

Similar Messages

  • "Could not create Java virtual machine" for several XP SP3 clients

    Hi,
    In this last year I got the message "could not create java virtual machine",
    (suddenly, after several mounths without any kind of problem),
    on 10-15 XP SP3 clients in our lan, lan in which all the 200 clients (90% XP SP3)
    have this application installed.
    Every time the solution seems to be different:
    sometimes the cause is a virus, sometimes i have to disinstall all Java components
    and reinstall only the Java RE 6.0_23 (used by the application),
    sometimes I have to make also a system registry cleaning for Java components,
    only few times was enough to clear the Java cash, change the kind of Java network connection,
    delete the temporary files...
    In two situations the problem was solved changing UltraVnc with RealVnc
    and only once the user solved himself restarting the computer...
    I'd like to know which is the meaning of this message and which steps is better
    to follow in order to solve the problem in the shortest time.
    Thank You

    Thank you
    for anwering my question !
    Anyway, in all the 10-15 cases I solved this problem, I hadn't to change the amount of RAM...
    never... and, once solved, the computer client is ok and the application works without subsequent problems...
    So, as I said, i can solve the problem without Knowing the real reason, and often after several
    hours... (you can read in my previous comment about a lot of differences solutions...)
    The matter is... that I can't understand "how and why" I solve the problem...
    Bye

  • Error while installing SOA, "Could not create java virtual machine"

    I am trying to install SOA latest release, but am getting an error stating "Could not create java virtual machine" and just that. No log, nothing. Could anybody help me out on this?

    Is JRE installed on your machine?
    If yes it may get corrupted, try to remove and reinstall jre again. Then try to install SOA.

  • Could not create Java Virtual Machine

    Till last evening everything was fine.
    Today morning when I want to open HANA Studio I get error message
    Java Virtual Machine Launcher
    Error: Could not create Java Virtual Machine.
    What is the solution? I checked my system Java version and it seems to be current.
    Regards
    Sathish

    Hello Sathish,
    May be, some files will be missing due to deletion of some files.
    So , Reinstall JDK and JRE..

  • Could Not Create Java Virtual Machine when lauching PS3 Meadis server

    I suddenly get the following error message when trying to launch the PS3 Media Server, " COULD NOT CREATE JAVA VIRTUAL MACHINE". I have tried uninstalling and installing both Java and the PS3 Media Server. Nothing seems to work. Any ideas or advice?

    You changed something on your machine. Might help to remember what.
    But to start with you first figure out if java itself is working. If it is then it is problem with the application and not java.

  • Unrecognized option: -jrockit Could not create the Java virtual machine.

    Hi All,
    I hv running 64bit Linux RedHat 5 , having Peopletools 8.49.19 installed jdk 1.5. weblogic 9.2 .. Installation of Weblogic and PIA done completely without any error .. but when i m gonna start ( ./startPIA ) it gives an error ..
    Attempting to start WebLogic Server PIA
    No activity will be logged to this window.
    Server activity will be logged to /....../pt849/webserv/peoplesoft/servers/PIA/logs/PIA_*
    PID for WebLogic Server PIA is: 5162
    PIA_stderr.log  report
    Unrecognized option: -jrockit
    Could not create the Java virtual machine.
    can you please guide the solution that can help me to resolve this error ..
    Thanx ..

    Configuring Domains to Use the Latest Version of JRockit
    If you are using the JRockit SDK, after you install an upgrade patch or run an Upgrade installer, Oracle recommends that you upgrade your domains to use the latest production version of the JRockit SDK. Although the latest version of the JRockit SDK is installed by the upgrade patch or upgrade installer, your domains are not automatically configured to use it.
    To configure your domains to use the latest production version of the JRockit SDK, edit the following file:
    For Windows:
    MW_HOME\domain_location\domains\domain_name\bin\setDomainEnv.cmd
    For UNIX:
    MW_HOME/domain_location/domains/domain_name/bin/setDomainEnv.sh
    Replace all occurrences of the existing JRockit version with the latest production version of the JRockit SDK.
    For example, if you are upgrading from WebLogic Server 10.3.2 to WebLogic Server 10.3.3, replace
    jrockit_160_14_R27.6.5-32
    with
    jrockit_160_20_D1.0.1-2119
    You can determine the JRockit SDK version number to use for your WebLogic Server version by looking at the JRockit directory name in MW_HOME. The number to use is identical to the directory name.

  • Unrecognized option: -server  Could not create the Java virtual machine.

    Hi
    I'm running JBoss 4.0 with JDK 1.5.0_12 (or could use 1.2.1 or 1.4.2) but when I try run.bat I get the following error
    Unrecognized option: -server Could not create the Java virtual machine.
    IfI try removing -server I get a different message
    Exception in thread "main" java.lang.UnsupportedClassVersionError: org/jboss/Main (Unsupported major.minor version 48.0)
    Hope you can help. Really need to get this going ASAP
    Thanks
    Geri

    Hi all,
    Thanks for responding.
    This is what I get when I did the following:
    $java -version
    java version "1.2.2"
    Solaris VM (build Solaris_JDK_1.2.2_06, native threads, sunwjit)
    $which java
    /usr/bin/java
    The java version was definitely not what I expected as I had installed the Java(TM) 2 Runtime Environment 1.3.1 and no Java hotspot was found even though I had already installed it. Maybe it because I did not install them correctly.
    How do I get rid of the older version and replace it with a newer one?
    I noticed that in later versions of J2SE, Hotspot VM was said to have been incorporated in it. But there are no guides on how to get Hotspot up and running, it will be great if anyone of you can guide me on this or point me to a site that can help me.
    Please bear with me as I am still very new to this. Thanks!

  • Could not create JVM Virtual machine(While starting soa managed server)?

    Hi,
    While starting managed server I am getting following errors:
    Could not commit 1048576KB heap memory at 0x0000000004790000.
    Could not create JVM Virtual machine.
    After above error SOA managed server is to be down.
    Please help me that how can i resolve this issue.
    Thanks
    Dharm

    Hi Dharm,
    This is typically printed when we are short on memory.
    What is OS version and JDK being using here ? 32bit or 64bit ?
    Current Xms and Xmx values ?
    Thanks,
    Sharmela

  • Error: Could not load Java Virtual Machine

    The above error is obtained when I try to run a shortcut placed on Internet link...
    *Strange thing is that, if logged into the machine locally and on launch of the shortcut no error is obtained. \
    *But if Remote access(mstsc) is taken for the same machine, on launch of the shortcut, the above mentioned error is popped up.
    If anyone knows the reason, please prompt me the same.
    Edited by: Pavaman on May 5, 2010 2:41 AM

    Hi
    Glad that you're up and running.
    I haven't tried changing on the fly. I think it's fairly unlikely that it would just work, because you need to create all the database tables (at a miniumum), so you would need to re-run at least part of the config tool. You'd also need to install the correct jdbc drivers, modify the DataSource file, etc, etc.
    My suggestion would be to bite the bullet and re-install - I think you might find it easier in the long run.
    Howard
    Howard Treisman
    Avoka Technologies
    Specializing in Custom QPAC development and LiveCycle Solutions
    http://www.avoka.com/avoka/qpac_library.shtml

  • Error when installing Integration content- Could not create java

    Hi all,
    when i been installing the integration comp. in a server win 2005 32 bits, the installer give the next error: coul not create java virtual machine.
    i try desintaling and installing jvm 1.5 like manual, and i dont know why happens this error.
    help please-
    is bussines one 8.8 pl 19
    regards
    Humberto

    Humberto,
    Try downloading the latest version of the Business One framework for 8.8 or the latest version of B1iSN 8.8 which will load Tomcat 6 and well as Java 6 and see if that helps.
    Eddy

  • Error message: " Couldn't create Java Virtual Machine"

    Hi,
    I recently downloaded from IBM rational application developer for websphere software v 7.5. The installation was successful. But when I try to open it, the error message:"could not create the Java virtual Machine".
    I am working on Windows Xp pro. and java is automatically updated the current version jre 1.6/
    even I tried to run eclipse from the directory c:/programfiles/IBM/SDP still same problem.
    Please some one help me how to fix it.
    Thanks.

    Do you resolve the problem? If so what was the fix?
    I have been getting the Java Virtual Machine Launcher error message “Could not create the virtual machine” when attempting to run an Oracle application that uses JNLP via a browser. Even clicking on componets such as javaw.exe produces the error message. In conjunction with receiving the error message, the application that I am working with will not launch.
    I had JRE 5u10 and J2RE 1.4.2u13 installed and thought that installing JDK 5u17 may resolve the issue. I removed JRE 5u10 and J2RE 1.4.2u13 and installed JDK 5u17 (and the included JRE 5u17.) The error message was still there.
    I have unistalled (via Add/Remove programs) and reinstalled (via both Win off-line and on-line) JDK 5u17 and JRE 5u17 many times.
    During the uninstalls I have received a Java Web Start 1.5.0_17 bad installation – error invoking JVM error message.
    I have restarted the machine also.
    There are some remains of J2RE 1.4.2u13 still on the machine –even after the 1.4.2u13 uninstall. The Java\j2re1.4.2_13\lib folder remains.
    I am running Win XP SP2 and IE6 SP2.
    Note: I cannot use Java 6 since the application that I am working with is Java 5 based.

  • Could not create Java VM to install 8.1.7 on RedHat 9

    I am trying to install 8i 8.1.7 on redhat linux 9. when I start the installer I get this error and nothing happens after it. I do have java installed on the pc. Whats the cause. I did the preinstall steps and am using the oracle account to start the installation. I got the install file from the oracle downloads site.
    [oracle@localhost Disk1]$ ./runInstaller
    Initializing Java Virtual Machine from ../stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/bin/jre. Please wait...
    [oracle@localhost Disk1]$ /usr/local/downloads/Oracle8iLinux/Disk1/stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/lib/linux/native_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link
    time reference (libzip.so)
    Unable to initialize threads: cannot find class java/lang/Thread
    Could not create Java VM

    I did. I found a thread that said I needed to do
    export LD_ASSUME_KERNEL=2.4.1 which I did. Now the installation starts and I get
    [oracle@localhost Disk1]$ ./runInstaller
    Initializing Java Virtual Machine from ../stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/bin/jre. Please wait...
    and then get back to the $prompt after some time and the welcome screen never comes up.
    Whats wrong?

  • Could not create Java VM to start 8.1.7 install on RedHat Linux 9

    I am trying to install 8i 8.1.7 on redhat linux 9. when I start the installer I get this error and nothing happens after it. I do have java installed on the pc. Whats the cause. I did the preinstall steps and am using the oracle account to start the installation. I got the install file from the oracle downloads site.
    [oracle@localhost Disk1]$ ./runInstaller
    Initializing Java Virtual Machine from ../stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/bin/jre. Please wait...
    [oracle@localhost Disk1]$ /usr/local/downloads/Oracle8iLinux/Disk1/stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/lib/linux/native_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link
    time reference (libzip.so)
    Unable to initialize threads: cannot find class java/lang/Thread
    Could not create Java VM

    I found a thread that said I needed to do
    export LD_ASSUME_KERNEL=2.4.1 which I did. Now the installation starts and I get
    [oracle@localhost Disk1]$ ./runInstaller
    Initializing Java Virtual Machine from ../stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/bin/jre. Please wait...
    and then get back to the $prompt after some time and the welcome screen never comes up.
    Whats wrong?

  • Oracle.apps.fnd.framework.OAException: Could not create Java class

    Hi,
    Have created a customization in one environment which works just fine. When I deploy it to the next environment I get the error message:
    oracle.apps.fnd.framework.OAException: Could not create Java class
    Things I have checked:
    1) Imported the personilzations
    2) bounced apache
    3) confirmed the $CLASSPATH
    4) clear the cache
    What else can be causing the this?
    Thanks

    Hi,
    Move the all class files to respective java top. if you moved all class files to java top cross check once.
    Thanks,
    Venkat

  • Could not create Java class: associated with region:

    Hi All,
    I am extending the standard controller oracle.apps.pos.supplier.webui.SuppSummCO
    With a custom controller xxmycomp.oracle.apps.pos.supplier.webui.XXSuppSummCO
    I have built the project in my local JDEV,
    Compiled the custom controller and put it under $JAVA_TOP
    I have verified the same by ls -l $JAVA_TOP/xxmycomp/oracle/apps/pos/supplier/webui/XXSuppSummCO.class
    I have given full permission to xxmycomp folder under $JAVA_TOP (chmod -R 777 xxmycomp)
    I have done the OC4J core bounce
    After setting the custom controller at site level by personalizing the Region,
    When I am returning to the application I am getting the following error
    oracle.apps.fnd.framework.OAException: Could not create Java class: (xxmycomp.oracle.apps.pos.supplier.webui.XXSuppSummCO) associated with region: (PageLayoutRN). This is probably because the class name is wrong or not included in project.
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1247)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2559)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1894)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at RF.jspService(_RF.java:225)
    The custom controller is for testing only and has only the following code
    public void processRequest(OAPageContext oapagecontext,
    OAWebBean oawebbean)
    super.processRequest(oapagecontext, oawebbean);
    public void processFormRequest(OAPageContext oapagecontext,
    OAWebBean oawebbean)
    super.processFormRequest(oapagecontext, oawebbean);
    I have created the directory xxmycomp under $JAVA_TOP
    I have read only access to other directories under $JAVA_TOP apart from xxmycomp.
    Can anybody help me resolve this error?
    I am doing the same steps in another instance where it is working fine.
    Regards,
    Gourab

    Hi Gourab,
    Double check the the page.xml has referring to the correct CO. Open the page.xml and see which controller is attached to it.
    Also attach the extended controller through personalization to the page/Region.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • How do I get this beta IOS 7.0.2 JUNK TO WORK with my iPod touch 5???

    How do I get this beta IOS 7.0.2 JUNK TO WORK with my iPod touch 5?? I was prefectly happy with my iPod until I got the notice to upgrade itunes to 11.1 and would you like to upgrade your iPod from IOS 6 to IOS 7. And like an idiot I took the little

  • Need of feedback ,base on your experience

    Hi everyone I need recommendations and feedback if possible. we are grouping 60 differents strores ,separated oracle databases(running the same application,same configuration) into one main server;using a Multi-schema,therefore we will be using one s

  • New splitter program in New GL

    Hi, Did anyone worked on this  Splitter program in New GL and GR/IR. It is not about document split. This Splitter program is something with ABAP and FICO. I need scenarios and notes on this concepts. Thanks for your time Suresh email: [email protect

  • A Problem When Converting SmartForm (OTF) to MS Word

    Hi, i'm converting smartform to ms word file but design is spoiled. CALL FUNCTION 'CONVERT_OTF'     EXPORTING       format                = 'ASCII'       max_linewidth = 132     IMPORTING       bin_filesize          = gv_fsize *      bin_file        

  • SGEN and Patch Problem

    Hi,    Our ECC 5.0 Development system was last updated in january with stack 13 and know we are planning to upgrade it to stack 16. The problem is that there are some objects left to be generated after the last stack upgrade. Know when I just hit SGE