Running HelloWorld.jsp: Unrecognized option: -d

          Hi there.
          I'm newbie with jsp's and I'm trying to run the examples.
          I have Bea Weblogic Build 5.1.0 Service Pack 6 09/20/2000 21:03:19 #84511 running
          under Red Hat Linux 6.2 & Java 1.2.2
          My weblogic.properties is as follows (please see below)
          Error Message is (since the beggining) (please see below)
          My questions are:
          1.- What is the -d option?
          2.- What am I doing wrong?
          Thanks in Advance
          Sergio Ríos
          ****** This is my weblogic.properties (jsp part) ******
          weblogic.httpd.register.*.jsp=\
          weblogic.servlet.JSPServlet
          weblogic.httpd.initArgs.*.jsp=\
          pageCheckSeconds=1,\
          compileCommand=/usr/local/jdk1.2.2/bin/java,\
          workingDir=/home/desa/weblogic/myserver/jspclasses,\
          verbose=true
          ****** This is the terminal outpout ******
          Tue Feb 06 13:05:05 CST 2001:<I> <ServletContext-General> file: init
          Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: init
          Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param verbose initialized
          to: true
          Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param packagePrefix
          initialized to: jsp_servlet
          Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param compileCommand
          initialized to: /usr/local/jdk1.2.2/bin/java
          Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param srcCompiler
          initialized to weblogic.jspc
          Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param superclass
          initialized to null
          Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param workingDir
          initialized to: /home/desa/weblogic/myserver/jspclasses
          Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param pageCheckSeconds
          initialized to: 1
          Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: initialization complete
          Tue Feb 06 13:05:14 CST 2001:<I> <ServletContext-General> Generated java file: /home/desa/weblogic/myserver/jspclasses/jsp_servlet/_jsp/_HelloWorld.java
          Tue Feb 06 13:05:14 CST 2001:<E> <ServletContext-General> Compilation of /home/desa/weblogic/myserver/jspclasses/jsp_servlet/_jsp/_HelloWorld.java
          failed:
          Unrecognized option: -d
          Could not create the Java virtual machine.
          java.io.IOException: Compiler failed executable.exec([Ljava.lang.String;[/usr/local/jdk1.2.2/bin/java,
          -classpath, /usr/local/jdk1.2.2/jre/lib/rt.jar:/usr/local/jdk1.2.2/jre/lib/i18n.jar:/usr/local/jdk1.2.2/jre/classes:./lib/weblogic510sp6boot.jar:./classes/boot:./eval/cloudscape/lib/cloudscape.jar:./lib/weblogic510sp6.jar:./license:./classes:/usr/local/weblogic/lib/jConnect.jar:./lib/weblogicaux.jar:./myserver/serverclasses:/usr/local/weblogic/myserver/servletclasses:/home/desa/weblogic/myserver/jspclasses,
          -d, /home/desa/weblogic/myserver/jspclasses, /home/desa/weblogic/myserver/jspclasses/jsp_servlet/_jsp/_HelloWorld.java])
          at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:439)
          at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:245)
          at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:300)
          at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
          at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:181)
          at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
          at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:141)
          at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:761)
          at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:708)
          at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
          at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
          at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
          Tue Feb 06 13:05:14 CST 2001:<E> <ServletContext-General> Servlet failed with Exception
          java.io.IOException: Compiler failed executable.exec([Ljava.lang.String;[/usr/local/jdk1.2.2/bin/java,
          -classpath, /usr/local/jdk1.2.2/jre/lib/rt.jar:/usr/local/jdk1.2.2/jre/lib/i18n.jar:/usr/local/jdk1.2.2/jre/classes:./lib/weblogic510sp6boot.jar:./classes/boot:./eval/cloudscape/lib/cloudscape.jar:./lib/weblogic510sp6.jar:./license:./classes:/usr/local/weblogic/lib/jConnect.jar:./lib/weblogicaux.jar:./myserver/serverclasses:/usr/local/weblogic/myserver/servletclasses:/home/desa/weblogic/myserver/jspclasses,
          -d, /home/desa/weblogic/myserver/jspclasses, /home/desa/weblogic/myserver/jspclasses/jsp_servlet/_jsp/_HelloWorld.java])
          at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:439)
          at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:245)
          at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:300)
          at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
          at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:181)
          at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
          at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:141)
          at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:761)
          at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:708)
          at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
          at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
          at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
          

          Sorry Guys, my mistake.
          I put compileCommand=/usr/local/jdk1.2.2/bin/java,\ instead of
          compileCommand=/usr/local/jdk1.2.2/bin/javac,\
          Yes, i Know, I deserve a duh!, so please
          don't hesitate to say that :-)
          Thanks anyway
          Sergio Rios
          "Sergio Rios" <[email protected]> wrote:
          >
          >Hi there.
          >
          >I'm newbie with jsp's and I'm trying to run the examples.
          >
          >I have Bea Weblogic Build 5.1.0 Service Pack 6 09/20/2000 21:03:19 #84511
          >running
          >under Red Hat Linux 6.2 & Java 1.2.2
          >
          >My weblogic.properties is as follows (please see below)
          >Error Message is (since the beggining) (please see below)
          >
          >My questions are:
          >1.- What is the -d option?
          >2.- What am I doing wrong?
          >
          >Thanks in Advance
          >Sergio Ríos
          >
          >****** This is my weblogic.properties (jsp part) ******
          >weblogic.httpd.register.*.jsp=\
          > weblogic.servlet.JSPServlet
          >weblogic.httpd.initArgs.*.jsp=\
          > pageCheckSeconds=1,\
          > compileCommand=/usr/local/jdk1.2.2/bin/java,\
          > workingDir=/home/desa/weblogic/myserver/jspclasses,\
          > verbose=true
          >
          >****** This is the terminal outpout ******
          >Tue Feb 06 13:05:05 CST 2001:<I> <ServletContext-General> file: init
          >Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: init
          >Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param verbose
          >initialized
          >to: true
          >Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param packagePrefix
          >initialized to: jsp_servlet
          >Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param compileCommand
          >initialized to: /usr/local/jdk1.2.2/bin/java
          >Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param srcCompiler
          >initialized to weblogic.jspc
          >Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param superclass
          >initialized to null
          >Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param workingDir
          >initialized to: /home/desa/weblogic/myserver/jspclasses
          >Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: param pageCheckSeconds
          >initialized to: 1
          >Tue Feb 06 13:05:13 CST 2001:<I> <ServletContext-General> *.jsp: initialization
          >complete
          >Tue Feb 06 13:05:14 CST 2001:<I> <ServletContext-General> Generated java
          >file: /home/desa/weblogic/myserver/jspclasses/jsp_servlet/_jsp/_HelloWorld.java
          >Tue Feb 06 13:05:14 CST 2001:<E> <ServletContext-General> Compilation of
          >/home/desa/weblogic/myserver/jspclasses/jsp_servlet/_jsp/_HelloWorld.java
          >failed:
          >Unrecognized option: -d
          >Could not create the Java virtual machine.
          >
          >java.io.IOException: Compiler failed executable.exec([Ljava.lang.String;[/usr/local/jdk1.2.2/bin/java,
          >-classpath, /usr/local/jdk1.2.2/jre/lib/rt.jar:/usr/local/jdk1.2.2/jre/lib/i18n.jar:/usr/local/jdk1.2.2/jre/classes:./lib/weblogic510sp6boot.jar:./classes/boot:./eval/cloudscape/lib/cloudscape.jar:./lib/weblogic510sp6.jar:./license:./classes:/usr/local/weblogic/lib/jConnect.jar:./lib/weblogicaux.jar:./myserver/serverclasses:/usr/local/weblogic/myserver/servletclasses:/home/desa/weblogic/myserver/jspclasses,
          >-d, /home/desa/weblogic/myserver/jspclasses, /home/desa/weblogic/myserver/jspclasses/jsp_servlet/_jsp/_HelloWorld.java])
          > at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:439)
          > at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:245)
          > at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:300)
          > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
          > at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:181)
          > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
          > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:141)
          > at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:761)
          > at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:708)
          > at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
          > at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
          > at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
          > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
          >
          >Tue Feb 06 13:05:14 CST 2001:<E> <ServletContext-General> Servlet failed
          >with Exception
          >java.io.IOException: Compiler failed executable.exec([Ljava.lang.String;[/usr/local/jdk1.2.2/bin/java,
          >-classpath, /usr/local/jdk1.2.2/jre/lib/rt.jar:/usr/local/jdk1.2.2/jre/lib/i18n.jar:/usr/local/jdk1.2.2/jre/classes:./lib/weblogic510sp6boot.jar:./classes/boot:./eval/cloudscape/lib/cloudscape.jar:./lib/weblogic510sp6.jar:./license:./classes:/usr/local/weblogic/lib/jConnect.jar:./lib/weblogicaux.jar:./myserver/serverclasses:/usr/local/weblogic/myserver/servletclasses:/home/desa/weblogic/myserver/jspclasses,
          >-d, /home/desa/weblogic/myserver/jspclasses, /home/desa/weblogic/myserver/jspclasses/jsp_servlet/_jsp/_HelloWorld.java])
          > at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:439)
          > at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:245)
          > at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:300)
          > at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:180)
          > at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:181)
          > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
          > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:141)
          > at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:761)
          > at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:708)
          > at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:252)
          > at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
          > at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
          > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
          

Similar Messages

  • HTTP 500 - Internal server error when trying to run simple HelloWorld.jsp

    Hello,
    I've searched the forum for a related issue and have not been able to resolve this error.
    I have created a simple HelloWorld.jsp and continue to receive the Internal server error. I have tried using the host as well as the ip address to access the jsp but neither of them solve the issue.
    JDev 10.1.3.2.0
    These are the settings that I have configured for the embedded oc4j server:
    HTTP: 8988
    RMI: 23891
    RMI-SSL: 24043
    IIOP: 5655
    IIOP-SSL: 5656
    JMS: 9227
    I also modified the proxy settings to use 8988 as well as the full host name.
    If I click on the IP home page it takes me to the OAS overview page but I get the same error if I try to launch the App server control or example jsp's.
    There are no messages in the log files.
    Any ideas?

    Hi,
    does the problem show when running thr JSP in the embedded OC4J in JDeveloper, or after deploying it to a stand alone OC4J or OracleAs?
    Frank

  • Error while running HelloWorld page in OAF

    Hi,
    While running Helloworld tutorial its throwing following Exception:
    oracle.apps.fnd.framework.OAException: Application: ICX, Message Name: Could not create the transaction Id for this session. at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:520) at runregion.jspService(runregion.jsp:103) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Thread.java:534)
    Few days back it was running successfully after that no setup change has been made.
    Please suggest the reason.
    Thanks in advance for your help.

    Hi ,
    1) Try deleting all the class files and try to run.
    2) If you get another instance dbc file try running the file against the database.
    3) Create a connection to the database from Jdev and Test it, it is working or not,
    Once it get success message, then try to run the page.
    4) Or instead of running the HelloWorld, create your own PG.xml and add a AM and CO and try to run the file.
    Thanks.
    With Regards,
    Kali.
    OSSI.

  • Getting error while running TestDbcConn.jsp in jdev

    Hi,
    We are implementing iStore 12.1.3.
    In order to create iStore jdev setup, I referred metalink note 1330599.1 (R12: How to Customize and Execute iStore JSPs from Oracle Jdeveloper?).
    I followed all the steps exactly as instructed.
    However when I run TestDbcConn.jsp, as instructed in step 8, I am getting following error:
    JTFDBCFILE=\fnd\secure\
    cant read dbc file
    Please note that I have downloaded .dbc file from unix server and placed it in "<project_dir>\fnd\secure" directory as instructed in Step 6 of the metalink note.
    Any prompt help/suggestion in this regard is appreciated.
    Thanks,
    Vivek

    This setting needs to be done in Jdeveloper.
    Goto Project Properties -> Run/Debug
    Click Edit, In launch Settings, enter the DBC File details in Java Options textbox.
    Thanks,
    Hrishikesh

  • Running a JSP (Serv Page) in  JDev 9i Beta

    How do I run a JSP in JDeveloper? I have Tomcat loaded on my
    machine and put the file under the Tomcat root and tried to run
    it and I get the following error: Error: JSP files must reside
    in the server root directory or a subdirectory beneath it.
    Will JDeveloper work with Tomcat or do I need to 9iAS on my
    machine? I would hope I wouldn't have to install all of that.
    Thanks,
    Tom Henricksen

    Hi saurabh
    I too faced the similiar issue
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND-INVALID APPLICATION. Tokens: APPL = ak; (Could not lookup message because there is no database connection)
    RESOLUTION:- Ensure that your profile option "FND: Debug Log Enabled" is set to No both at your site level and also at your user level. To be on the safer side, set your Diagnostis profile to No too
    PS:- I didn't remove backslashes from my dbc file. But you may consider that as an option too.
    Ajay

  • Helloworld.jsp won't work with iPlanet  4.1 sp12

    long time listener, first time caller:)
    I am having trouble running a simple helloworld.jsp page on my win2k server. Can someone take a look? I have jdk1.3.1_07 installed and I believe I specified the classpath correctly. here is the code for the helloworld.jsp
    <HTML>
    <BODY>
    <% String visitor = request.getParameter("name");
    if (visitor == null) visitor = "World"; %>
    Hello, <%= visitor %>! <br>
    Today is: <%= new java.util.Date() %>
    </BODY>
    </HTML>
    here is the entries in the error logs.
    [23/Apr/2003:14:00:15] info ( 816): JSP: JSP1x compiler threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSPd:\Netscape\Server4\https-entente\config\..\ClassCache\_jsps\_lsmith\_hello_jsp.java:0: Class javax.servlet.http.HttpServlet not found in class org.apache.jasper.runtime.HttpJspBase.
    package jsps.lsmith;
    ^
    d:\Netscape\Server4\https-entente\config\..\ClassCache\_jsps\_lsmith\_hello_jsp.java:3: Package javax.servlet not found in import.
    import javax.servlet.*;
    ^
    d:\Netscape\Server4\https-entente\config\..\ClassCache\_jsps\_lsmith\_hello_jsp.java:4: Package javax.servlet.http not found in import.
    import javax.servlet.http.*;
    ^
    d:\Netscape\Server4\https-entente\config\..\ClassCache\_jsps\_lsmith\_hello_jsp.java:5: Package javax.servlet.jsp not found in import.
    import javax.servlet.jsp.*;
    ^
    d:\Netscape\Server4\https-entente\config\..\ClassCache\_jsps\_lsmith\_hello_jsp.java:6: Package javax.servlet.jsp.tagext not found in import.
    import javax.servlet.jsp.tagext.*;
    ^
    5 errors
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:260)
         at com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:231)
         at com.netscape.server.http.servlet.NSServletEntity.update(NSServletEntity.java:149)
         at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:453)
    [23/Apr/2003:14:00:15] warning ( 816): Internal error: Failed to get GenericServlet. (uri=/lsmith/hello.jsp,SCRIPT_NAME=/lsmith/hello.jsp)
    I would appreciate any help and input.

    IN your classpath have the correct jar file. For example: I have a jar file called j2ee_lib.jar and I have added the path to this file in the CLASSPATH for windows.
    If you don't know how to change Classpath:
    First it depends on what type of windows are you working with NT or 2000.
    I just saw your subject you are using Iplanet 4.1 ... you need to get the new version I believe its free from sun it is now called "sun one web server".
    Hope that helps.
    HMD

  • [SOLVED] sed: unrecognized option '--follow-symlinks'

    I tried to build AUR package linuxcnc-sim and I got this error:
    sed: unrecognized option '--follow-symlinks'
    I thought that my sed command is outdated, so I tried to update it:
    [ziga@Ziga-laptop linuxcnc]$ sudo pacman -Syy
    :: Synchronizing package databases...
    core 120.1 KiB 125K/s 00:01 [##############################################] 100%
    extra 1793.4 KiB 191K/s 00:09 [##############################################] 100%
    community 2.5 MiB 384K/s 00:07 [##############################################] 100%
    multilib 123.9 KiB 1239K/s 00:00 [##############################################] 100%
    [ziga@Ziga-laptop linuxcnc]$ sudo pacman -S sed
    warning: sed-4.2.2-3 is up to date -- reinstalling
    resolving dependencies...
    looking for conflicting packages...
    Packages (1) sed-4.2.2-3
    Total Installed Size: 0.76 MiB
    Net Upgrade Size: 0.00 MiB
    :: Proceed with installation? [Y/n]
    What I discovered was, that my sed command already is the newest version... does anyone have an idea what is wrong?
    If I use man sed I get user manual where it says that unrecognized option '--follow-symlinks' is supported:
    SED(1) User Commands SED(1)
    NAME
    sed - stream editor for filtering and transforming text
    SYNOPSIS
    sed [OPTION]... {script-only-if-no-other-script} [input-file]...
    DESCRIPTION
    Sed is a stream editor. A stream editor is used to perform basic text transformations on an input stream (a file or input
    from a pipeline). While in some ways similar to an editor which permits scripted edits (such as ed), sed works by making
    only one pass over the input(s), and is consequently more efficient. But it is sed's ability to filter text in a pipeline
    which particularly distinguishes it from other types of editors.
    -n, --quiet, --silent
    suppress automatic printing of pattern space
    -e script, --expression=script
    add the script to the commands to be executed
    -f script-file, --file=script-file
    add the contents of script-file to the commands to be executed
    --follow-symlinks
    follow symlinks when processing in place
    Last edited by 71GA (2015-02-13 07:14:59)

    This could really be it. And my PATH is really weird - some inputs are doubled:
    PATH=/opt/ARM/eldk/usr/bin:/opt/ARM/eldk/bin:/opt/ARM/eldk/usr/bin:/opt/ARM/eldk/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/opt/opencascade/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/ARM/cs_lite/bin:/opt/ARM/unsimgcr:/opt/ARM/ds/bin:/opt/ARM/cs_lite/bin:/opt/ARM/unsimgcr:/opt/ARM/ds/bin
    I modify my PATH at startup using ~/.bashrc
    # ~/.bashrc
    # If not running interactively, don't do anything
    [[ $- != *i* ]] && return
    alias ls='ls --color=auto'
    PS1='[\u@\h \W]\$ '
    export PATH=${PATH}:/opt/ARM/cs_lite/bin
    export PATH=${PATH}:/opt/ARM/unsimgcr
    export PATH=${PATH}:/opt/ARM/ds/bin
    source /opt/ARM/eldk/eldk_init arm
    What am I doing wrong in the .bashrc ?
    Last edited by 71GA (2015-02-13 06:21:23)

  • Systemctl start mysqld unrecognized option --ssl-ca=

    I have spent most of the last 18 hours reading manuals, searching the web and searching these forums for an answer, but have not found anything that worked or that even matched the issue I am having. So here goes.
    Issue: Entering the command:
    $ sudo systemctl start mysqld --ssl-ca=/path/to/ca-cert.pem --ssl-cert=/path/to/server-cert.pem --ssl-key=/path/to/server-key.pem
    and pressing 'Enter' only gets me this error:
    systemctl: unrecognized option '--ssl-ca=/path/to/ca-cert.pem'
    OR it will act as though it accepted the command but the server does not start. And they happen with about equal frequency.
    Does anyone have any ideas as to what is going on?
    Again, I have read the manuals - all of them. I have followed directions found on nearly every single hit that came up on google and bing in the last 18 hours. I've tried with both MySQL 5.6.15 Source distribution from the AUR and with MariaDB. I have added these options to /etc/mysql/my.cnf (there are no other copies on the system):
    [client]
    ssl-ca=/path/to/ca-cert.pem
    ssl-cert=/path/to/client-cert.pem
    ssl-key=/path/to/client-key.pem
    [mysqld]
    ssl-ca=/path/to/ca-cert.pem
    ssl-cert=/path/to/server-cert.pem
    ssl-key=/path/to/server-key.pem
    And still, nothing. I have verified that MySQL is in fact SSL capable, per the directions in the documentation. Still, no dice.
    This thing seems intent on keeping me from using SSL.
    The pertinents:
        mysql --version returns: Ver 14.14 Distrib 5.6.15, for Linux (x86_64) using EditLine wrapper
        uname -a returns: Linux [hostname] 3.12.7-2-ARCH #1 SMP PREEMPT Sun Jan 12 13:09:09 CET 2014 x86_64 GNU/Linux
        In case it is worth mentioning, Arch is running on a virtual machine. VMware Player ver. 6.0.1 build-1379776 on a Windows 7 Professional host, 64-bit ver. 6.1.7601, SP1.
    I could really use some help folks.

    Spider.007 wrote:
    Okay when you are using systemctl you are instructing systemd to do something such as 'start mysqld'. Any options you pass, will be parsed by systemctl (not mysqld). That is the reason systemd complains of an unknown option (systemd doesn't have a ssl-ca option).
    The options you put in you my.cnf should be sufficient. However the mysql client doesn't automatically use ssl when connecting; so after starting mysqld (systemctl start mysqld) use the client to see if ssl works:
    mysql --ssl-ca=/path/to/ca-cert.pem
    If you client connects successful that doesn't mean it's using ssl though, enter '\s' and check if ssl is enabled.
    No dice:
    $ mysql --ssl-ca=/path/to/ca-cert.pem
    Welcome to the MySQL monitor. Commands end with ; or \g
    Your MySQL connection id is 4
    Server version: 5.6.15 Source distribution
    Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
    Oracle is a registered trade..../* You get the idea... */
    mysql> \s
    mysql Ver 14.14 Distrib 5.6.15, for Linux (x86_64) using Editline wrapper
    Connection id: 4
    Current database:
    Current user: user@localhost
    SSL: Not in use
    /* ......and the rest of the usual... */
    mysql>
    So. No deal.

  • JSPC Error "Unrecognized option: -v0."

    Hii All
    I get this Error (shown below) when i try to compile my Jsp using ANT builder.What can be the reason behind this error.
    Thankx in advance
    Vikash
    /////////////////////// Error is shown below ////////////////////////////////.
    Buildfile: build.xml
    jspc:
    compile:
    [jspc] Compiling 79 source filesC:\ant\${webapp.path}\dest
    [jasperc] error:org.apache.jasper.JasperException: Unrecognized option: -v0.
    Use -help for help.
    [jasperc] at org.apache.jasper.JspC.setArgs(JspC.java:306)
    [jasperc] at org.apache.jasper.JspC.main(JspC.java:230)
    all:
    BUILD SUCCESSFUL
    Total time: 13 seconds
    //////////////////////////Build.xml is shown below ////////////////////
    <project name="Webapp Precompilation" default="all" basedir=".">
    <target name="jspc">
    <taskdef classname="org.apache.jasper.JspC" name="jasper2" >
    <classpath id="jspc.classpath">
    <pathelement location="C:\Program Files\Apache Software Foundation\Tomcat 5.0/../lib/tools.jar"/>
    <fileset dir="C:\Program Files\Apache Software Foundation\Tomcat 5.0/bin">
    <include name="*.jar"/>
    </fileset>
    <fileset dir="C:\Program Files\Apache Software Foundation\Tomcat 5.0/server/lib">
    <include name="*.jar"/>
    </fileset>
    <fileset dir="C:\Program Files\Apache Software Foundation\Tomcat 5.0/common/lib">
    <include name="*.jar"/>
    </fileset>
    </classpath>
    </taskdef>
    <jasper2
    validateXml="false"
    uriroot="${webapp.path}"
    webXmlFragment="${webapp.path}/WEB-INF/generated_web.xml"
    outputDir="${webapp.path}/WEB-INF/src" />
    </target>
    <target name="compile">
    <mkdir dir="${webapp.path}/WEB-INF/classes"/>
    <mkdir dir="${webapp.path}/WEB-INF/lib"/>
    <jspc destdir="${webapp.path}/dest"
    srcdir="${webapp.path}/WEB-INF/src"
    excludes="**/*.smap">
    <classpath>
    <pathelement location="${webapp.path}/WEB-INF/classes"/>
    <fileset dir="${webapp.path}/WEB-INF/lib">
    <include name="*.jar"/>
    </fileset>
    <pathelement location="C:\Program Files\Apache Software Foundation\Tomcat 5.0/common/classes"/>
    <fileset dir="C:\Program Files\Apache Software Foundation\Tomcat 5.0/common/lib">
    <include name="*.jar"/>
    </fileset>
    <pathelement location="C:\Program Files\Apache Software Foundation\Tomcat 5.0/shared/classes"/>
    <fileset dir="C:\Program Files\Apache Software Foundation\Tomcat 5.0/shared/lib">
    <include name="*.jar"/>
    </fileset>
    <fileset dir="C:\Program Files\Apache Software Foundation\Tomcat 5.0/bin">
    <include name="*.jar"/>
    </fileset>
    </classpath>
    <include name="**" />
    <exclude name="tags/**" />
    </jspc>
    </target>
    <target name="all" depends="jspc,compile">
    </target>
    </project>

    Hi,
    I've had this problem too. The -v options is meant to set the verbosity of the compilation but it doesn't seem to like it. I tried to see which versions of jasper/ ant were at fault (because an old script of mine broke) but couldn't find it quickly so I simply did a little hack in the ant 1.6.1 source to the file
    \apache-ant-1.6.1\src\main\org\apache\tools\ant\taskdefs\optional\jsp\compilers\JasperC.java
    where I commented out the line in setupJasperCommand()
    private CommandlineJava setupJasperCommand() {
    addArg(cmd, "-p", jspc.getPackage());
    // addArg(cmd, "-v" + jspc.getVerbose());
    addArg(cmd, "-uriroot", jspc.getUriroot());
    then rebuilt ant and the problem went away.
    Cheers
    Evan

  • Unable to boot weblogic webserver, Unrecognized option: -jrockit

    Hello Experts,
    I am configuring first webserver domain in newly installed Peopletools 8.51 and FSCM 9.1 environment.
    Below are the details --
    Server -- Windows Server 2008R2 (64bit)
    Weblogic -- 10.3.6 (64 bit)
    JDK -- jdk1.7.0.21 (64 bit)
    While installing I took care of spaces and everything and now every variable is pointing to right direction but when I try to start the weblogic domain I get the following error --
    C:\FSCNFG\webserv\FSCNFG\bin>set JAVA_HOME=C:\Java\jdk1.7.0_21
    C:\FSCNFG\webserv\FSCNFG\bin>set PATH=%JAVA_HOME%/bin;%PATH%
    C:\FSCNFG\webserv\FSCNFG\bin>set USER_MEM_ARGS=-Xms32m -Xmx200m -XX:MaxPermSize=350m
    C:\FSCNFG\webserv\FSCNFG\bin>startPIA.cmd
    Attempting to start WebLogic Server 'PIA'
    starting weblogic with Java version:
    java version "1.7.0_21"
    Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
    Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
    java -jrockit -XnoOpt -XXnoJITInline -Xms512m -Xmx512m -Dtoplink.xml.platform=oracle.toplink.platform.xml.jaxp.JAXPPlatform -Djava.util.logging.config.file=C:\FSCNFG\webserv\FSCNFG\
    piaconfig\properties\logging.properties -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Dweblogic.Name=PIA -Dps_vault=C:\FSCNFG\webserv\FSCNFG\piaconf
    ig\properties\psvault -Djavax.net.ssl.trustStore="C:/FSCNFG\webserv\FSCNFG\piaconfig\keystore\pskey" -Dweblogic.ProductionModeEnabled=true -Djava.security.policy=C:\Oracle\MIDDLE~1\
    WLSERV~1.3\server\lib\weblogic.policy -Dssl.debug=false -Dps_home="C:/FSCNFG" weblogic.Server
    Unrecognized option: -jrockit
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.
    WebLogic is no longer running.
    I tried google it but there is no resolution found on this one.
    Appreciate your help in this regard.
    Regards,
    Rahul

    I am able to boot the app server by changing in the configuration file -->setENV.cmd.
    I put -server instead of -jrockit, i don't know why it is pointing to -jrockit.
    Below is the value that I put -->
    SET JAVA_OPTIONS_WIN=-server -Xms256m -Xmx256m -XX:CompileThreshold=8000 -XX:MaxPermSize=128m
    in place of below value-->
    SET JAVA_OPTIONS_WIN=-jrockit -XnoOpt -XXnoJITInline -Xms512m -Xmx512m -Dtoplink.xml.platform=oracle.toplink.platform.xml.jaxp.JAXPPlatform
    I am still not able to check the status of the server and shut it down properly.
    Any suggestions ?
    Regards,
    Rahul

  • Oracle SOA not starting Unrecognized option: -jrockit

    Hi,
    I installed Oracle SOA 11.1.1.5 on my windows 7 box. Downloaded the 64 bit JDK also. But when I run startWebLogic.cmd am getting the below error. It keeps complaining about -jrockit option don't know where it's coming from I don't have JRockit installed anywhere on the system so wondering where is this picking from.
    starting weblogic with Java version:
    Unrecognized option: -jrockit
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.
    Starting WLS with line:
    C:\Software\install\Java\JDK17~1.0_1\bin\java -jrockit   -Xms768m -Xmx1536m -Dwe
    blogic.Name=AdminServer -Djava.security.policy=C:\Software\install\fmw\WLSERV~1.
    classpath  weblogic.Server
    Unrecognized option: -jrockit
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.Thanks

    Hi:
    Did u try to remove *"-jrockit"* and start the server? Also what is the JAVA_HOME you have set?
    Regards,
    RK

  • 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!

  • Unrecognized option could not create the java virtual machine

    Hi
    I created a project using NetBeans. To run it from command line, i used clean and build.
    Then I entered the pathname as shown in the auto-generated readme file.
    However i get the following error message when trying to run it from command line:
    unrecognized option: -
    could not create the java virtual machine
    what did i do wrong?
    Thanks for your answers!

    solved.. i had a typo -.-

  • How to run a jsp page

    hello to all of u
    i m bit comfortable with SERVLET and please tell me that how to run a JSP page.i m using TOMCAT.
    someplace it is written that " write the program ,save under the root of tomcat i.e in my system it is tomcat 4.1 and to store in tomcat4.1\helloworld.jsp ,,, and then after start the server write in the url --:
    http://localhost:8080/hello.jsp.
    but it is giving error while running.please tell me the procedure.
    thank you
    bye

    Why oh WHY do you want to fiddle with the server.xml file?
    You don't need to.
    Under tomcat is a directory called "Webapps"
    This is where you put your web applications.
    You will see there is an existing one there called ROOT - which funnily enough is the root one used for Tomcat.
    If you put your hello.jsp in the ROOT directory, http://localhost:8080/hello.jsp will work.
    However it is not recommended to use the ROOT directory. Make your own one.
    Create a new directory in the "Webapps" directory eg "test"
    Put your jsps in here.
    under test create a directory called "WEB-INF"
    Copy the web.xml file from [TOMCAT_HOME]/webapps/ROOT/web-inf into the new web-inf directory.
    Now go to http://localhost:8080/test/hello.jsp
    Cheers,
    evnafets

Maybe you are looking for

  • Is it possible to send an automated message to answer when you can't put yours hand on your phone ?

    Read this now : I would like to have an answering machine for my Message app, meaning I'd love if Messages could just answer back to any incoming message when I'm just not able to message back (i.e. : I don't have my phone with me, I'm working and no

  • SB Audigy- Recording from Digital Piano or Phonogr

    Have an electric piano with RCA (L/R) Output. Tried recording with the Audigy Card Front Aux 2 RCA Inputs. I have recording device set to Aux 2. Also tried What You Hear and every other selection available. Does the recording source have to be "ampli

  • Bridge CC crashed then windows7 applied compatibility settings to program

    Hi, I couldn't find any info on this, so I'm wondering if any body can comment.  I just opened CC Bridge, and I had a Data Disc in the computer and Bridge was trying to read or load alot of larger media files ( it was a Digital Juice 'Silhouettes' Di

  • Unable to join domain when OD Master is set up as PDC

    Hi all, I'm working on trying to get my OD server to authenticate our new windows vmware workstations. I have both LDAP and Kerberos set up, and everything works really well with my OS X clients, as do our Linux servers. However, I'm unable to get ou

  • Can't get the tool to clone

    my spot fix tool will fix dust spots but will not allow me to select an area to clone? there is always an  error when I select the source I want and click. source area undefined! Message was edited by: sunriser95