"Invalid directive" error when running a JSP

I am getting following error while trying to run a JSP:
org.apache.jasper.compiler.ParseException: /jsp/hellobean.jsp(0,4) Invalid directive
... followed by trace below...
at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:214)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1126)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1091)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1087)
=====
here is my jsp code:
<%@ import="HelloBean" %>
<BEAN NAME="hello" TYPE="HelloBean" INTROSPECT="yes" CREATE="yes" SCOPE="request">
</BEAN>
<HTML>
<HEAD><TITLE>Hello</TITLE></HEAD>
<BODY>
<H1>
Hello, <%= hello.getName() %>
</H1>
</BODY>
</HTML>
Here is my HelloBean code:
public class HelloBean {
     private String name = "World";
     public void setName(String name) {
          this.name = name;
     public String getName() {
          return name;
There is nothing fancy/complex I am trying to achieve - jyst trying to run an example from a book.
Any clues?
Help is greatly appreciated.

Hello Amol,
You previous suggestion solved the problem but now I am facing another one:
=======
Generated servlet error:
C:\jakarta-tomcat-4.0-b7\work\localhost\examples\jsp\_0002fjsp_0002fhellobean_jsp.java:59: Can't make static reference to method java.lang.String getName() in class HelloBean.
out.print( HelloBean.getName() );
^
===============
Here is my JSP code:
<%@page import="HelloBean" %>
<BEAN NAME="HelloBean"
TYPE="HelloBean"
INTROSPECT="yes"
CREATE="yes"
SCOPE="request">
</BEAN>
<HTML>
<HEAD><TITLE>Hello</TITLE></HEAD>
<BODY>
<H1>
Hello, <%= HelloBean.getName() %>
</H1>
</BODY>
</HTML>
Since CREATE is set to "yes", I'd expect an instance of the HelloBean class to be cerated but it does not seem to be the case.
Any clues?

Similar Messages

  • OAF - "500 Internal Server Error" when run "test_fwktutorial.jsp"

    Dear All,
    I need your help,
    I am new user of JDeveloper , i have configured successfully JDeveloper accordingly Oracle Document but I am facing a problem when I run "test_fwktutorial.jsp" for testing purpose.
    oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
         at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1509)
         at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:362)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:211)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:171)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
         at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1294)
         at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1149)
         at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1118)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1085)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1072)
         at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:595)
         at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:602)
         at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:579)
         at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:533)
         at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:1160)
         at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:227)
         at OAErrorPage.jspService(_OAErrorPage.java:66)
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         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[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:847)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813)
         at test_fwktutorial._jspService(_test__fwktutorial.java:104)
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         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[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
         at oracle.apps.fnd.common.Pool.createObject(Pool.java:1286)
         at oracle.apps.fnd.common.Pool.borrowObject(Pool.java:1027)
         at oracle.apps.fnd.security.DBConnObjPool.borrowObject(DBConnObjPool.java:584)
         at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:330)
         at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1719)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2314)
         at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2251)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2108)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1918)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1762)
         at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1775)
         at oracle.apps.fnd.common.Context.getJDBCConnection(Context.java:1453)
         at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:170)
         at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1500)
         ... 49 more
    Caused by: oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.AppsException: java.sql.SQLException: Io exception: Invalid number format for port number
         at oracle.apps.fnd.security.AppsConnectionManager.makeGwyuidConn(AppsConnectionManager.java:937)
         at oracle.apps.fnd.security.AppsConnectionManager.getGwyuidConn(AppsConnectionManager.java:1016)
         at oracle.apps.fnd.security.AppsConnectionManager.makeGuestConnection(AppsConnectionManager.java:814)
         at oracle.apps.fnd.security.DBConnObj.<init>(DBConnObj.java:230)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at oracle.apps.fnd.common.Pool.createObject(Pool.java:1273)
         ... 62 more
    Caused by: oracle.apps.fnd.common.AppsException: java.sql.SQLException: Io exception: Invalid number format for port number
         at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1522)
         at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1425)
         at oracle.apps.fnd.security.AppsConnectionManager.makeGwyuidConn(AppsConnectionManager.java:919)
         ... 70 more
    Caused by: java.sql.SQLException: Io exception: Invalid number format for port number
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:287)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:430)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)
         at java.sql.DriverManager.getConnection(DriverManager.java:525)
         at java.sql.DriverManager.getConnection(DriverManager.java:140)
         at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1509)
         ... 72 more
    Edited by: Arshad Hashmi on Oct 24, 2012 6:43 AM

    My DBC file as below , is there any prob. ?
    # $Header: template.dbc 120.0 2005/05/07 16:45:30 appldev ship $
    # TEMPLATE.dbc
    # Template database configuration file.
    # Create one copy of this file for each database instance this
    # Applications Server will connect to. Each file should have the name
    # <database_instance_name>.dbc
    # and be located in this directory ($FND_TOP/secure).
    # Change each of the parameters below to values appropriate for
    # the database instance. Do not change the syntax.
    # This file can be gererated using the AdminAppServer tool.
    # This is a java utility that can be run from the command line.
    # Instructions to use this tool are documented in the Applications
    # Sysadmin Manual.
    # TWO_TASK
    # SQL*Net name of database.
    TWO_TASK=database
    # FNDNAM
    # Oracle User to be used for Oracle Applications connection.
    # The FNDNAM Oracle User must have Oracle Applications privilege level
    # 'Universal'.
    FNDNAM=APPS
    # GWYUID
    # Oracle User/Password of the public account to be used for initial
    # Oracle Applications connection.
    # The GWYUID Oracle User must have Oracle Applications privilege level
    # 'Public'.
    GWYUID=APPLSYSPUB/PUB
    # GUEST_USER_PWD
    # Applications User/Password of the Guest user.
    # The Guest Applications User is a public Applications user
    # with no responsibilities assigned. If no such user exists,
    # create one in the 'Define User' form. Do not use a user with
    # any active responsibilities. Note: This parameter is for
    # an applications user NOT an Oracle user. The Guest user
    # is seeded with 11i.
    GUEST_USER_PWD=GUEST/GUEST
    # THE FOLLOWING PARAMETERS ARE RELEVANT ONLY
    # IF JDBC IS BEING USED. IF THEY ARE NOT SUPPLIED, DEFAULTS
    # WILL BE USED.
    # APPS_JDBC_DRIVER_TYPE
    # The type of JDBC driver being used. If no value is supplied,
    # the thick (OCI) driver will be used. Give a value of THIN
    # or THICK depending on the type of JDBC driver to be used.
    # For a detailed discussion on the THIN vs the THICK driver,
    # refer to the JDBC documentation. For Release 11i , this
    # should be set to a value of THIN.
    APPS_JDBC_DRIVER_TYPE=THIN
    # DB_HOST
    # The host machine on which the database resides. This parameter
    # is required only if the THIN DRIVER is being used.
    DB_HOST=host_name
    # DB_PORT
    # The port of the host machine on which the database resides.
    # This is required only if the THIN driver is being used.
    DB_PORT=port_number
    # DB_NAME
    # Database instance name.
    # This is required only if the THIN driver is being used.
    # If no value is provided, the TWO_TASK is used.
    # DB_NAME=db_name

  • Error when run a jsp page in tomcat

    I carefully follow all instruction to install and config j2sdk1.4.2 and Apache Tomcat/5.0.28. After completing, I can run all sample applications about JSP and Servlet in Tomcat manager. I also test my own servlet application and it also works.
    But I fail to run a very simple jsp page. Although I already set environment variables such as CATALINA_HOME, JAVA_HOME, CLASSPATH as directed but it seem to not be able to compile jsp page.
    ( I can compile other java classes in command line. )
    Below is the error i receive . This error takes me lots of time to consider.
    I look for your help ( please describe as clear as goog ). Thanks a lot.
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    Unable to find a javac compiler;
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK
         org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106)
         org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
         org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    If you are sure you've installed the JDK (as opposed to just a JRE, which doesn't come with the compilation tools that are required to compile JSPs), then your JAVA_HOME is probably set incorrectly. Ensure JAVA_HOME is pointing to the JDK directory, and not to the JRE directory.

  • Error when running some JSP under OC4J extended version

    Try to run the NumberGuess jsp example using OC4J extended version under win2000 with J2SE 1.4 and J2EE 1.3, receive the following errors:
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errors compiling:F:\OC4J\j2ee\home\application- deployments\default\defaultWebApp\persistence\_pages\_examples\_jsp\_num\_numguess.java
    error: Invalid class file format in C:\Program Files\Java\j2re1.4.0\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
    F:\OC4J\j2ee\home\application-deployments\default\defaultWebApp\persistence\_pages\_examples\_jsp\_num\_numguess.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
    package examples.jsp._num;
    ^
    2 errors
    Can anyone tell me what went wrong and how to fix it please?

    Try to run the NumberGuess jsp example using OC4J extended version under win2000 with J2SE 1.4 and J2EE 1.3, receive the following errors:
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errors compiling:F:\OC4J\j2ee\home\application- deployments\default\defaultWebApp\persistence\_pages\_examples\_jsp\_num\_numguess.java
    error: Invalid class file format in C:\Program Files\Java\j2re1.4.0\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
    F:\OC4J\j2ee\home\application-deployments\default\defaultWebApp\persistence\_pages\_examples\_jsp\_num\_numguess.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
    package examples.jsp._num;
    ^
    2 errors
    Can anyone tell me what went wrong and how to fix it please?

  • Severe Error when running sample jsp on Tomcat.. Please Help me!!

    I am trying to run a sample jsp that is provided in netbeans(5.5) on the bundled tomcat server (5.5.17) and i get the following error:
    SEVERE: Error initializing endpoint
    java.net.SocketException: Invalid argument: listen failed
    at java.net.PlainSocketImpl.socketListen(Native Method)
    at java.net.PlainSocketImpl.listen(PlainSocketImpl.java:374)
    at java.net.ServerSocket.bind(ServerSocket.java:320)
    at java.net.ServerSocket.<init>(ServerSocket.java:185)
    at java.net.ServerSocket.<init>(ServerSocket.java:141)
    at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:49)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:292)
    at org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:138)
    at org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
    at org.apache.catalina.core.StandardService.initialize(StandardService.java:580)
    at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:791)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:503)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:523)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
    I've been trying to figure out why i get this error for a few days now, could someone please help me..
    thanks :)

    What machine are you trying to run it under? Is it a machine with a firewall or strict network settings?

  • 500 Internal Server Error  when run test_fwktutorial.jsp

    oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
    at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1509)
    at oracle.apps.fnd.profiles.Profiles.getProfile(Profiles.java:362)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfileFromDB(ExtendedProfileStore.java:211)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getSpecificProfile(ExtendedProfileStore.java:171)
    at oracle.apps.fnd.profiles.ExtendedProfileStore.getProfile(ExtendedProfileStore.java:148)
    at oracle.apps.fnd.common.logging.DebugEventManager.configureUsingDatabaseValues(DebugEventManager.java:1294)
    at oracle.apps.fnd.common.logging.DebugEventManager.configureLogging(DebugEventManager.java:1149)
    at oracle.apps.fnd.common.logging.DebugEventManager.internalReinit(DebugEventManager.java:1118)
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1085)
    at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:1072)
    at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:595)
    at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:593)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:570)
    at oracle.apps.fnd.common.AppsContext.initializeContext(AppsContext.java:524)
    at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:1108)
    at oracle.apps.fnd.common.WebRequestUtil.validateContext(WebRequestUtil.java:225)
    at _OAErrorPage._jspService(_OAErrorPage.java:66)
    [/OAErrorPage.jsp]
    at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    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[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
    at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:847)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:813)
    at _test__fwktutorial._jspService(_test__fwktutorial.java:104)
    [/test_fwktutorial.jsp]
    at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.3.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    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[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object.
    at oracle.apps.fnd.common.Pool.createObject(Pool.java:1286)
    at oracle.apps.fnd.common.Pool.borrowObject(Pool.java:1027)
    at oracle.apps.fnd.security.DBConnObjPool.borrowObject(DBConnObjPool.java:583)
    at oracle.apps.fnd.security.AppsConnectionManager.borrowConnection(AppsConnectionManager.java:300)
    at oracle.apps.fnd.common.Context.borrowConnection(Context.java:1719)
    at oracle.apps.fnd.common.AppsContext.getPrivateConnectionFinal(AppsContext.java:2266)
    at oracle.apps.fnd.common.AppsContext.getPrivateConnection(AppsContext.java:2203)
    at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:2061)
    at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1871)
    at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1715)
    at oracle.apps.fnd.common.AppsContext.getJDBCConnection(AppsContext.java:1728)
    at oracle.apps.fnd.common.Context.getJDBCConnection(Context.java:1453)
    at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:170)
    at oracle.apps.fnd.profiles.Profiles.getProfileOption(Profiles.java:1500)
    ... 49 more
    Caused by: oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.AppsException: java.sql.SQLException: Io ??: Invalid number format for port number
    at oracle.apps.fnd.security.AppsConnectionManager.makeGwyuidConn(AppsConnectionManager.java:907)
    at oracle.apps.fnd.security.AppsConnectionManager.getGwyuidConn(AppsConnectionManager.java:966)
    at oracle.apps.fnd.security.AppsConnectionManager.makeGuestConnection(AppsConnectionManager.java:784)
    at oracle.apps.fnd.security.DBConnObj.<init>(DBConnObj.java:228)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at oracle.apps.fnd.common.Pool.createObject(Pool.java:1273)
    ... 62 more
    Caused by: oracle.apps.fnd.common.AppsException: java.sql.SQLException: Io ??: Invalid number format for port number
    at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1423)
    at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1326)
    at oracle.apps.fnd.security.AppsConnectionManager.makeGwyuidConn(AppsConnectionManager.java:888)
    ... 70 more
    Caused by: java.sql.SQLException: Io ??: Invalid number format for port number
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:287)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:328)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:430)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:140)
    at oracle.apps.fnd.security.ConnectionManager.dbConnect(ConnectionManager.java:1410)
    ... 72 more

    Hi,
    Please check your DBC File and Runtime Connection in jdeveloper.
    Also,In jdeveloper Tools-->Embedded OC4J Server Preference--->Startup-->select Default Local IP Address
    Regards,
    Dilip

  • Jsp Error when running graph reports on 9ias server

    i getting the following message error when running a graph jsp report on my company unix 9ias server:
    org.omg.CORBA.OBJECT_NOT_EXIST: minor code: 0 completed: No
         at com.inprise.vbroker.ProtocolEngine.PortfolioImpl.getConnector(PortfolioImpl.java:79)
         at com.inprise.vbroker.ProtocolEngine.ManagerImpl.getConnector(ManagerImpl.java:147)
         at com.inprise.vbroker.orb.DelegateImpl._bind(DelegateImpl.java:196)
         at com.inprise.vbroker.orb.DelegateImpl.verifyConnection(DelegateImpl.java:365)
         at com.inprise.vbroker.orb.DelegateImpl.is_local(DelegateImpl.java:493)
         at org.omg.CORBA.portable.ObjectImpl._is_local(ObjectImpl.java:356)
         at oracle.reports.engine._EngineReportStub.doneReport(_EngineReportStub.java:36)
         at oracle.reports.definition.RWJspProxy.doneReport(RWJspProxy.java:261)
         at oracle.reports.definition.RWReport.done(RWReport.java:1087)
         at oracle.reports.jsp.ReportTag.release(ReportTag.java:398)
         at oracle.jsp.runtime.OracleJspRuntime.releaseTagHandler0(OracleJspRuntime.java:1109)
         at oracle.jsp.runtime.OracleJspRuntime.extraHandlePCFinally(OracleJspRuntime.java:1213)
         at afpdrep.crystal._flip._flip1._jspService(_flip1.java:687)
         [SRC:/afpdrep/crystal/flip/flip1.jsp]
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Thanks for any help in advance.

    Hi Simon,
    Looking at the exception, it seems the machine is so slow that it could not give enough time for the report engines to start up can also result in this exception.
    Please try the following :
    Increase the callbacktimeout parameter for the report server. In server conf file that increase the callbacktimeout parameter for the report server from 1 minute (60000 milliseconds) to 3 minutes(180000 milliseconds)
    Thanks,
    Vinod.

  • Urgent.....Error while running a jsp report from Jdeveloper

    Hi,
    I am getting following error while running a jsp report from Jdeveloper. I am using version 10.1.2.1.0. The same report is working fine when I am running it from report builder. ( Both these tools were installed using Oracle Developer Suite 10g version 10.1.2). I did search in oracle discussion forums and google, but I could not arrive at a resolution of error. Any help in resolving this issue would be grateful.
    Error details:
    Page url : http://<hostipaddress>:8988/Reports-reportproject-context-root/MyReport.jsp
    Reports Error Page
    Wed Oct 17 20:03:22 IST 2007
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
         at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:464)
         at MyReport.jspService(MyReport.jsp:4)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    Could anyone help me out in resolving this issue.
    Thanks
    Siva...

    Hi,
    I posted this message in jdeveloper forum yesterday, but there was no response. So I thought of posting it in this forum to check my luck.
    Thanks
    Siva...

  • Urgent...Error while running a jsp report in Jdeveloper

    Hi,
    I am getting following error while running a jsp report from Jdeveloper. I am using version 10.1.2.1.0. The same report is working fine when I am running it from report builder. ( Both these tools were installed using Oracle Developer Suite 10g version 10.1.2). I did search in oracle discussion forums and google, but I could not arrive at a resolution of error. Any help in resolving this issue would be grateful.
    Error details:
    Page url : http://<hostipaddress>:8988/Reports-reportproject-context-root/MyReport.jsp
    Reports Error Page
    Wed Oct 17 20:03:22 IST 2007
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
    javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
    at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:464)
    at MyReport.jspService(MyReport.jsp:4)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    Could anyone help me out in resolving this issue.
    Thanks
    Siva...

    Hi,
    I posted this message in jdeveloper forum yesterday, but there was no response. So I thought of posting it in this forum to check my luck.
    Thanks
    Siva...

  • Error while running AppsLocalLogin.jsp in R11.5.10 on Jdeveloper

    Hi,
    I am getting error while running AppsLocalLogin.jsp on Jdeveloper for r11.5.10 rup 7.
    I perform following steps to successfully compile (with warnings only) the page.
    1. Copy AppsLocalLogin.jsp from OA_HTML to C:\jdev_r11\jdevhome\jdev\myhtml\OA_HTML.
    2. Then when I recompile it give me following error
    Error: cannot access class oracle.apps.fnd.sso.SSOAccessEnabler; file oracle\apps\fnd\sso\SSOAccessEnabler.class not found
    3. So i copy all class files from oracle\apps\fnd\sso to C:\jdev_r11\jdevhome\jdev\myclasses\oracle\apps\fnd\sso
    4. Form successfully build.
    5. Execute the jsp and following error appears..
    *500 Internal Server Error*
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
         at java.lang.String.substring(String.java:1444)
         at oracle.apps.fnd.sso.SSOAccessEnabler.<init>(SSOAccessEnabler.java:43)
         at AppsLocalLogin.jspService(AppsLocalLogin.jsp:80)
         [AppsLocalLogin.jsp]
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         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[Oracle9iAS (9.0.3.1.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
         at java.lang.Thread.run(Thread.java:534)
    I am stuck. Please let me know what i am doing wrong. Thanks.
    Ayaz

    Check out some old threads. Probably it might help
    Custom Login and Logout replacing AppsLocalLogin
    Re: How to Customize AppsLocalLogin.jsp page
    Thanks
    AJ

  • Invalid username/password  when running VSM1.3

    Hi, I have the issue of invalid username/password when running VSM 1.3.
    When I ran authentication.java , I got the error as follow:
    oracle: Exception thrown from getService method of ServiceLocator class: Lookup error:javax.naming.AuthenticationException:Invalid username/password for current-workspace-app(admin);nested exception is: javax.naming.AuthenticationException:Invalid username/password for current-workspace-app(admin)
    When running the web app, I got same message "Invalid username/password ".
    I checked the database. There are 4 records for admin,apparelowner,electowner and guest.
    My oracle db has japanese character set.
    I have read all the threads about the topic of VSM.
    But unfortunately I didn't find a clear conclusion and solution for this issue.
    Is it an issue of locale? Really appreciate your reply.
    Leon

    Was this working before? If yes, any changes been done recently?
    Was the dbc file recreated recently?
    Please see these docs/links.
    After Cloning Oracle Applications And Resetting APPS Password, Discoverer 10g/11g Fails With Error: Unable To Connect To Oracle Applications Database (afscpgcs) [ID 788706.1]
    Apps User Logging Into Discoverer Plus/Viewer Get Error "A connection error has occurred. -Unable to connect to Oracle Applications database: Your password has expired." [ID 871384.1]
    Getting Invalid Username/Password While Running Adupdeul On E-Business Suite R12 [ID 562876.1]
    Attempting to Import Discoverer EUL through adupdeul, returns the error "Failed to connect to database - Unable to connect to Oracle Applications database: invalid username/password" [ID 1243866.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=%27Unable+to+connect+to+Oracle+Applications+database%27&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Loading script "script path-name" failed (0xC0000006) error when running scripts from DFS

    We have this issue where any number of random scripts that execute at startup will produce the following error when run from DFS:
    The status code for this error equates to STATUS_IN_PAGE_ERROR - The instruction at 0x%p referenced memory at 0x%p. The required data was not placed into memory because of an I/O error status of 0x%x.
    This does not always happen each time and the script can be random. If we move the script(s) to a non DFS, we do not see this. I believe the issue is being caused by a minute disconnect to the DFS for whatever script is attempting to execute at that
    moment. This happens across a few (consistent) offices on different computers.
    Any ideas?

    Hi,
    According to your description, my understanding is that you run scripts in a shared folder which is added to a DFS Namespace, then the error prompt. However, you can run the scripts when you directly access the shared folder.
    What scripts did you run? Is there any error message in the Event Log? If so, please provide us the detailed error message for our further research.
    Best Regards,
    Mandy 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Getting error when running process flows in oem

    Hi all,
    I'm trying to run a process flow in oem (using oem_exec_template.sql script), but it keeps failing with error "nms-1013: sqlplus does not exist". I tried running a map too and it failed with same message.
    Any idea anyone?
    Thanks!
    Yanet

    Hi,
     Looks like you have an obvious code error, invalid cast operation in your code. Do you get this error when running in local emulator.
     You can try the following article on how to debug published cloud service, assuming you have VS ultimate.
     https://msdn.microsoft.com/en-us/library/azure/ff683671.aspx
    Regards,
    Nithin Rathnakar

  • Undefined weblogic.home error when running APPC

    Hi,
    I am trying to run the APPC compiler on my local EAR and deploy it on a remote
    server version
    8.1 using ANT. I just have the weblogic.jar, ojdbc14.jar and webservices.jar on
    my workstation.
    I have an error when running APPC.
    The ANT taks is :
    <target name="app.appc">
    <java classname="weblogic.appc" fork="true" failonerror="true">
    <jvmarg value="-Xms256m"/>
    <jvmarg value="-Xmx256m"/>
    <classpath>
    <pathelement location="${j2ee.weblogic.lib.dir}/${j2ee.weblogic.lib.name}"/>
    <pathelement location="${j2ee.weblogic.lib.dir}/ojdbc14.jar"/>
         <pathelement location="${jsdk1.4-dir}/lib/tools.jar"/>
         </classpath>
         <arg line ="-verbose -verboseJavac ${application.dist.ear}"/>
    </java>
    </target>
    The ANT output is :
    app.appc:
    [java] [appc] Created working directory: C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen
    [java] [appc] Compiling EAR module 'core.war'
    [java] [JspcInvoker]Checking web app for compliance.
    [java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
    Validating the servlet element with servlet-name named "action".>
    [java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
    Checking servlet-mapping for servlet name : "action".>
    [java] [jspc] parsing /jsp/applications/example/Accessor.jsp:
    [java] [jspc] parsed C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen\appcgen_core.war\
    jsp\applications\example\Accessor.jsp in 1482 ms.
    [java] [jspc] Invoking the compiler
    [java] [jspc] Invoking the compiler with -encoding UTF-8
    [java] [appc] Compiling EAR module 'core-ejb.jar'
    [java] [J2EE:160121]Errors encountered while compiling module 'core-ejb.jar':
    [java] error in finding weblogic.Home
    Is there any other solution than installing weblogic on my workstation so that
    everything is
    setup correctly?
    thanks in advance
    Pierre

    Pierre MONGENIE wrote:
    Finally it worked out for me with the system classpath set to:
    D:\J2EE\bea\weblogic81\server\lib\weblogic.jar
    and the ANT task wlappc.
    I was unable to have it work with the ANT task described below in this thread.
    tha ant task is
    <wlappc source="${application.dist.ear}"
         verbose="true"
         verboseJavac="true"
         debug="true"
         classpath="${j2ee.weblogic.lib.dir}/${j2ee.weblogic.lib.name}
         ${j2ee.weblogic.lib.dir}/ojdbc14.jar
         ${j2ee.weblogic.lib.dir}/webservices.jar
         ${jsdk1.4-dir}/lib/tools.jar"This is the issue. The classpath parameter to wlappc is the classpath
    it will use when it compiles your application classes. It's not the
    classpath which will load the wlappc ant task. (I'll admit this has
    always been confusing.)
    -- Rob
    runtimeflags="mx256m"
    output="${application.weblogic.deploy.ear}"
         />
    So now I have another problem but let me open another thread
    thanks
    Rob Woollen <[email protected]> wrote:
    That code checks if the system property weblogic.home is set. If not,
    it looks for the class weblogic.Home is in the classpath. Make sure
    one
    of those 2 conditions is true.
    -- Rob
    Pierre MONGENIE wrote:
    Hi,
    I am trying to run the APPC compiler on my local EAR and deploy iton a remote
    server version
    8.1 using ANT. I just have the weblogic.jar, ojdbc14.jar and webservices.jaron
    my workstation.
    I have an error when running APPC.
    The ANT taks is :
    <target name="app.appc">
    <java classname="weblogic.appc" fork="true" failonerror="true">
    <jvmarg value="-Xms256m"/>
    <jvmarg value="-Xmx256m"/>
    <classpath>
    <pathelement location="${j2ee.weblogic.lib.dir}/${j2ee.weblogic.lib.name}"/>
    <pathelement location="${j2ee.weblogic.lib.dir}/ojdbc14.jar"/>
         <pathelement location="${jsdk1.4-dir}/lib/tools.jar"/>
         </classpath>
         <arg line ="-verbose -verboseJavac ${application.dist.ear}"/>
    </java>
    </target>
    The ANT output is :
    app.appc:
    [java] [appc] Created working directory: C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen
    [java] [appc] Compiling EAR module 'core.war'
    [java] [JspcInvoker]Checking web app for compliance.
    [java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
    Validating the servlet element with servlet-name named "action".>
    [java] <2 mars 2004 15 h 36 CET> <Info> <HTTP> <BEA-101047> <[ComplianceChecker]
    Checking servlet-mapping for servlet name : "action".>
    [java] [jspc] parsing /jsp/applications/example/Accessor.jsp:
    [java] [jspc] parsed C:\DOCUME~1\pim\LOCALS~1\Temp\appcgen\appcgen_core.war\
    jsp\applications\example\Accessor.jsp in 1482 ms.
    [java] [jspc] Invoking the compiler
    [java] [jspc] Invoking the compiler with -encoding UTF-8
    [java] [appc] Compiling EAR module 'core-ejb.jar'
    [java] [J2EE:160121]Errors encountered while compiling module'core-ejb.jar':
    [java] error in finding weblogic.Home
    Is there any other solution than installing weblogic on my workstationso that
    everything is
    setup correctly?
    thanks in advance
    Pierre

  • Error when run taglib!

    Now I have a error when run taglig!
    run taglib with apache tomcat 5.5 by JDK 1.5 when i run have error is:
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: javax.servlet.jsp.tagext.TagInfo.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/servlet/jsp/tagext/TagLibraryInfo;Ljavax/servlet/jsp/tagext/TagExtraInfo;[Ljavax/servlet/jsp/tagext/TagAttributeInfo;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljavax/servlet/jsp/tagext/TagVariableInfo;Z)V
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:272)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    root cause
    java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagInfo.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljavax/servlet/jsp/tagext/TagLibraryInfo;Ljavax/servlet/jsp/tagext/TagExtraInfo;[Ljavax/servlet/jsp/tagext/TagAttributeInfo;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljavax/servlet/jsp/tagext/TagVariableInfo;Z)V
         org.apache.jasper.compiler.TagLibraryInfoImpl.createTagInfo(TagLibraryInfoImpl.java:435)
         org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)
         org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:162)
         org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423)
         org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1552)
         org.apache.jasper.compiler.Parser.parse(Parser.java:126)
         org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.12 logs.
    now what do I do?
    please, tell me!
    thanks!

    Tomcat 5.5 is using Servlet 2.4 & JSP 2.0.
    Have you compiled the taglib using the correct version of servlet.jar ?

Maybe you are looking for

  • Saving a .pdf as a landscape view

    I have a xerox documate 632 scanner that scans and saves the document into a .pdf format. I use these files for presentations and so i need to know how to save the file as a landscape view so it can be opened at read that way.

  • Links in Reflow are converted to  lowercase

    URL links in Edge Reflow are converted to lowercase and attempts to restore upper and lower case are overridden by the program.  Other than changing the html code in Dreamweaver is there a fix for this or is it a bug?

  • PDF to CBR

    I'm converting comics for my grandson from PDF to CBR or CBZ.  With Win XP I used PDFtoCBR but that doesn't work with my new Win8.1 OS. So what will work for batch conversion (please don't advise I leave them as PDF)?

  • Syntax for logical OR,AND and not equal to

    Hi All, In the rtf template we are in need of using logical OR,AND and not equal to . <?choose:?><?when:(M= 0 & N=1) | (M= 1 & N=0)?> <?end when?> <?choose:?><?when:(M!= 0 & N=!1)?> <?end when?> <?otherwise:?><?end otherwise?><?end choose?> Is the sy

  • I'm having problems with my Serial Number, can anyone help?

    Hey guys. Alright, so a few weeks ago I bought a Wacom Bamboo Capture tablet, and it comes with a copy of Adobe Photoshop Elements 8.0 Now, I installed it previously and it worked perfectly. Then, all of a sudden, I go to boot it up, and I'm asked fo