Bc4j/oc4j/petstore problem

After installing BC4J runtime on top of OC4J running on Win2k and Sun JDK1.3.1, bc4j demo is OK. the Sun's J2EE demo petstore stops working. Any idea?
Thx.
Request URI:/apps/petstore/template.jsp
Exception:
oracle.jsp.parse.JspParseException: Line # 8,
Error: oracle.xml.parser.v2.XMLParseException: Invalid element 'servlet' in content of 'web-app', expected elements '[servlet-mapping, session-config, mime-mapping, welcome-file-list, error-page, taglib, resource-ref, security-constraint, login-config, security-role, env-entry, ejb-ref]'.
at oracle.jsp.parse.JspDirectiveTaglib.validateAttributes(JspDirectiveTaglib.java:80)
at oracle.jsp.parse.JspParseTagDirective.validateTagAttributes(JspParseTagDirective.java:107)
at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:672)
at oracle.jsp.parse.JspParseTagDirective.parse(JspParseTagDirective.java:174)
at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:548)
at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:100)
at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:40)
at oracle.jsp.app.JspAppLoader.translatePage(JspAppLoader.java:1513)
at oracle.jsp.app.JspAppLoader.reloadPage(JspAppLoader.java:1146)
at oracle.jsp.app.JspAppLoader.loadPage(JspAppLoader.java:1005)
at oracle.jsp.app.JspAppLoader.getPage(JspAppLoader.java:671)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:337)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
at oracle.jsp.JspServlet.service(JspServlet.java:148)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:339)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:501)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:170)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:141)
at com.sun.j2ee.blueprints.petstore.control.web.MainServlet.doGet(MainServlet.java:105)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:198)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:312)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:339)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:501)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:170)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:549)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:62)
null

Yes - this was a bug in the first version of the bc4j-oc4j installer. We have a new version of the installer that contains the correct version of orion.jar, and should fix the bug that you found. You can download it from http://otn.oracle.com/products/jdev/howtos/bc4jdeployment.html
My apologies - and please let us know if you continue to have problems.
Blaise

Similar Messages

  • Bc4j-oc4j and Jdeveloper Release Candidate

    I developed a bc4j application with Jdeveloper Release Candidate. In another pc I installed 9ias and bc4j-oc4j server. Then I deployed my application using .ear file. I get an error when I try to run the application through the as. Here is the error:
    oracle.jsp.parse.JspParseException: Line # 18,
    Error: releasemode is not a property of oracle.jbo.html.jsp.datatags.ApplicationModuleTag
    I think it is not true that releasemode is not a property of ApplicationModule tag. Can anyone help me?
    thanks

    Hi, first of all thanks for your interest and sorry for my English.
    Actually I have tried some different combinations.
    First of all I downloaded 9ias v1.0.2.2 core form web-site. In it oc4j comes with version 1.0.2.2.1. I installed it and could not even get that error message. Then I installed bc4j runtime installer over it. Then I got that error message.(That message is just an example. I think not all of the necessary classes with correct versions are contained in the container.). Then I tried to use the oc4j that is embeded in the jdeveloper release candidate. I copied the directory and put to the proper place in the application server. It did not even start. Finally I downloaded 9ias Release2-j2eedeveloper's preview. It brougth me a version 9.0.2.0A. I was wery hopeful with it but it did not work either.
    I only want to deploy and use my jsp files that I created by jdeveloper release candidate. I need correct versions of application server and container I think.
    Thanks a lot.

  • Error on installation of BC4J-OC4J zip file and running BC4J.html

    Hi a little help please
    I'm trying to install and configure BC4J-OC4J from the zip file
    after trying run the BC4J/JSP apps on just about every webserver
    known, this is getting close to my last attempt before I admit
    defeat and go back to Microsoft and ASP which may not be pretty
    but does work and if it stopes me banging my head on the desk is
    well worth the expense anyway ....
    I've run the self installer for the runtime etc and all seems
    well until I run the BC4J.html file and the left pane of the
    website produces this error
    I don't really want to waste anymore time tring to deploy a
    BC4J/JSP app if the server setup is not set
    Malcolm
    JSP Error
    Exception:
    javax.servlet.jsp.JspException:
    oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003:
    The application pool, OnlineOrdersModule, failed to checkout an
    application module instance.
         at
    oracle.jbo.html.jsp.JSPApplicationRegistry.internalGetAppModuleIn
    stance(JSPApplicationRegistry.java:468)
         at
    oracle.jbo.html.jsp.JSPApplicationRegistry.getAppModuleInstance
    (JSPApplicationRegistry.java:433)
         at
    oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doEndTag
    (ApplicationModuleTag.java:123)
         at onlineorders.category._jspService(_category.java:73)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest
    (JspApplication.java:385)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService
    (JspServlet.java:178)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service
    (HttpServlet.java:336)
         at
    com.evermind.server.http.ServletRequestDispatcher.invoke
    (ServletRequestDispatcher.java:508)
         at
    com.evermind.server.http.ServletRequestDispatcher.forwardInternal
    (ServletRequestDispatcher.java:177)
         at
    com.evermind.server.http.HttpRequestHandler.processRequest
    (HttpRequestHandler.java:576)
         at com.evermind.server.http.HttpRequestHandler.run
    (HttpRequestHandler.java:189)
         at com.evermind.util.ThreadPoolThread.run
    (ThreadPoolThread.java:62)
    ## Detail 0 ##
    oracle.jbo.DMLException: JBO-26061: Error while opening JDBC
    connection.
         at oracle.jbo.server.ConnectionPool.createConnection
    (ConnectionPool.java:302)
         at oracle.jbo.server.ConnectionPool.getConnection
    (ConnectionPool.java:110)
         at
    oracle.jbo.server.ConnectionPoolManagerImpl.getConnection
    (ConnectionPoolManagerImpl.java:57)
         at
    oracle.jbo.server.DBTransactionImpl.establishNewConnection
    (DBTransactionImpl.java:532)
         at oracle.jbo.server.DBTransactionImpl.initTransaction
    (DBTransactionImpl.java:643)
         at oracle.jbo.server.DBTransactionImpl.
    (DBTransactionImpl.java:346)
         at oracle.jbo.server.DatabaseTransactionFactory.create
    (DatabaseTransactionFactory.java:172)
         at oracle.jbo.server.NullDBTransactionImpl.connect
    (NullDBTransactionImpl.java:352)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.connect
    (ApplicationPoolImpl.java:1237)
         at
    oracle.jbo.common.ampool.ApplicationPoolImpl.createNewInstance
    (ApplicationPoolImpl.java:514)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.checkout
    (ApplicationPoolImpl.java:634)
         at
    oracle.jbo.html.jsp.JSPApplicationRegistry.internalGetAppModuleIn
    stance(JSPApplicationRegistry.java:463)
         at
    oracle.jbo.html.jsp.JSPApplicationRegistry.getAppModuleInstance
    (JSPApplicationRegistry.java:433)
         at
    oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doEndTag
    (ApplicationModuleTag.java:123)
         at onlineorders.category._jspService(_category.java:73)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest
    (JspApplication.java:385)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService
    (JspServlet.java:178)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service
    (HttpServlet.java:336)
         at
    com.evermind.server.http.ServletRequestDispatcher.invoke
    (ServletRequestDispatcher.java:508)
         at
    com.evermind.server.http.ServletRequestDispatcher.forwardInternal
    (ServletRequestDispatcher.java:177)
         at
    com.evermind.server.http.HttpRequestHandler.processRequest
    (HttpRequestHandler.java:576)
         at com.evermind.server.http.HttpRequestHandler.run
    (HttpRequestHandler.java:189)
         at com.evermind.util.ThreadPoolThread.run
    (ThreadPoolThread.java:62)
    ## Detail 0 ##
    java.sql.SQLException: Io exception: The Network Adapter could
    not establish the connection
         at oracle.jdbc.dbaccess.DBError.throwSqlException
    (DBError.java:180)
         at oracle.jdbc.dbaccess.DBError.throwSqlException
    (DBError.java:222)
         at oracle.jdbc.dbaccess.DBError.throwSqlException
    (DBError.java:335)
         at oracle.jdbc.driver.OracleConnection.
    (OracleConnection.java:319)
         at oracle.jdbc.driver.OracleDriver.getConnectionInstance
    (OracleDriver.java:415)
         at oracle.jdbc.driver.OracleDriver.connect
    (OracleDriver.java:302)
         at java.sql.DriverManager.getConnection
    (DriverManager.java:517)
         at java.sql.DriverManager.getConnection
    (DriverManager.java:146)
         at oracle.jbo.server.ConnectionPool.createConnection
    (ConnectionPool.java:277)
         at oracle.jbo.server.ConnectionPool.getConnection
    (ConnectionPool.java:110)
         at
    oracle.jbo.server.ConnectionPoolManagerImpl.getConnection
    (ConnectionPoolManagerImpl.java:57)
         at
    oracle.jbo.server.DBTransactionImpl.establishNewConnection
    (DBTransactionImpl.java:532)
         at oracle.jbo.server.DBTransactionImpl.initTransaction
    (DBTransactionImpl.java:643)
         at oracle.jbo.server.DBTransactionImpl.
    (DBTransactionImpl.java:346)
         at oracle.jbo.server.DatabaseTransactionFactory.create
    (DatabaseTransactionFactory.java:172)
         at oracle.jbo.server.NullDBTransactionImpl.connect
    (NullDBTransactionImpl.java:352)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.connect
    (ApplicationPoolImpl.java:1237)
         at
    oracle.jbo.common.ampool.ApplicationPoolImpl.createNewInstance
    (ApplicationPoolImpl.java:514)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.checkout
    (ApplicationPoolImpl.java:634)
         at
    oracle.jbo.html.jsp.JSPApplicationRegistry.internalGetAppModuleIn
    stance(JSPApplicationRegistry.java:463)
         at
    oracle.jbo.html.jsp.JSPApplicationRegistry.getAppModuleInstance
    (JSPApplicationRegistry.java:433)
         at
    oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doEndTag
    (ApplicationModuleTag.java:123)
         at onlineorders.category._jspService(_category.java:73)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest
    (JspApplication.java:385)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService
    (JspServlet.java:178)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service
    (HttpServlet.java:336)
         at
    com.evermind.server.http.ServletRequestDispatcher.invoke
    (ServletRequestDispatcher.java:508)
         at
    com.evermind.server.http.ServletRequestDispatcher.forwardInternal
    (ServletRequestDispatcher.java:177)
         at
    com.evermind.server.http.HttpRequestHandler.processRequest
    (HttpRequestHandler.java:576)
         at com.evermind.server.http.HttpRequestHandler.run
    (HttpRequestHandler.java:189)
         at com.evermind.util.ThreadPoolThread.run
    (ThreadPoolThread.java:62)
         at
    oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doEndTag
    (ApplicationModuleTag.java:147)
         at onlineorders.category._jspService(_category.java:73)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest
    (JspApplication.java:385)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService
    (JspServlet.java:178)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service
    (HttpServlet.java:336)
         at
    com.evermind.server.http.ServletRequestDispatcher.invoke
    (ServletRequestDispatcher.java:508)
         at
    com.evermind.server.http.ServletRequestDispatcher.forwardInternal
    (ServletRequestDispatcher.java:177)
         at
    com.evermind.server.http.HttpRequestHandler.processRequest
    (HttpRequestHandler.java:576)
         at com.evermind.server.http.HttpRequestHandler.run
    (HttpRequestHandler.java:189)
         at com.evermind.util.ThreadPoolThread.run
    (ThreadPoolThread.java:62)

    Hi
    Was your network running fine during your test? Did you specify
    the correct connection properties in oc4j?
    Cheers!
    Amin

  • Oc4j deployment problem

    i have a bc4j-web-application. i have deployed the jsp-application to the oc4j, running on my windows system.
    but after opening the jsp page, i got following error:
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file mypackage
    \common\bc4j.xcfg in the classpath
    i have followed the instructions of the rc2-bc4j-webapp-deployment-tutorial but it doesn4t work.
    1. the bc4j.xcfg file is in the jar-file
    2. under projectsettings the path of the file is added to the classpaths of the jsp project
    3. the libary of the bc4j-prj is added to the selected libraries of the jsp project.
    4. under web-inf/lib (settings of the war deployment profile) the libraries (the classes of the bc4j project) are selected.
    but what must i do on the j2ee? what configurations must i do?
    is there any other possible problem which can cause this exception?
    or can somebody imagine, what i4m doing wrong? (maybe someone had the same problem).
    thanks in advance,
    andre

    I have faced this problem and the reason is that the jar for the businnes component is not containing all the files the file bc4j.xcfg in not included in the jar try to redeploy the application or if this error is only coming for one component then try making the jar using jar -cvf command
    the file bc4j.xcfg is located in folder classes/modulename/common/ folder
    To make a jar please copy the following folders at one place (in one folder)
    classes/modulename folder
    classes/all the other folder which you require
    classes/connection.xml
    src/Meta-Inf folder
    now use this command
    jar -cvf jarfilename.jar *.*
    not replace the previous jar with this one and your problem will be solved.

  • OC4J redeploy problem

    I redeploy EAR application from within JDeveloper (9.0.3.2) to OAS9i. Everything is OK, except that some classes are not redeployed and are kept from the earlier version. Specifically, old versions of MsgBundles from the BC4J project are not redeployed. The only solution is to restart the server.
    This happens with standalone OC4J, as well as with embedded OC4J (run JSP, modify MsgBundle and run JSP again without shutting down the server). Even if I manually undeploy application trhough IAS Admin and deploy the EAR file again, result is same.
    Can anybody help?
    Thanks, Viliam

    The version of JDev is 9.0.3.2, but I remember this problem with older versions too. I'm sure I have new classes packaged in the EAR, because when I restart the OC4J instance, new classes are used without redeploy. I've prepared an EAR with which you can reproduce this. As I found out, this problem happens only with UIX JSP & BC4J, not with just JSP & BC4J, maybe UIX caches something it should not, I should look there. Give me an e-mail address if you want to see the EAR.

  • BC4J; OC4J;JSP;JD323 - deployment on Solaris 2.6

    I am trying to deploy a BC4J JSP application to OC4J so that we can take advantage of the SErvlet API 2.2 - our sessions persistent crash on JServ. The so-called guidance on OTN viz
    http://otn.oracle.com/products/jdev/howtos/bc4jdeployment.html
    isn't much use. The BC4J installer is only for Windows; none of the paths match what I have on my Solaris OC4J installation.
    One of my colleagues has got our application working on an Apache/Tomcat configuration. When the OAS desupport was announced last year we debated whether to move to Apache or iAS. We decided to stick with Oracle because it was supported.
    However, when it comes to anything internet, java, jdeveloper, on this side of the pond at least, Oracle support is as much use as a chocolate fireguard, so we are in effect unsupported anyway. We have either resolved all our problems with our own sweat or with guidance from this forum.
    My question is: is there a guide for deploying BC4J to an OC4J installation or Solaris or should we give up on iAS and migrate to Apache?
    This is getting urgent: we have systems that need to go live very soon and we don't yet have a stable web platform.
    TIA, APC

    Mike, do give more details from your install log. Looks like copying of some of the files are not happening.
    Make sure this install is happening into an oracle home by itself.
    Also make sure you have applied all of 2.6_Recommended cluster patch from SUN before installing Oracle9iAS.
    Regards
    Pavna Jain
    Oracle9iAS Product Management

  • JBO-33001 bc4j.xcfg CLASSPATH problem in deployed java web service

    Hi
    I have deployed a web service that uses a simple java class to update some BC4J EO's.
    I have included the deployed jar files in the OC4J Classpath.
    I have also deployed the web service to the application server.
    I then call the web service from BPEL.
    During the web service call, I'm getting the following exception:
    exception on JaxRpc invoke:
    start fault message:
    oracle.jbo.ConfigException: JBO-33001: Cannot find the configuration file /cb/test/peoplebc/common/bc4j.xcfg in the classpath at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:367)
    I've checked that the file is deployed in the MiddleTier jar file, so not sure what to do.
    Any ideas most appreciated.
    Cheers
    Chris

    Hi,
    This may sound a bit stupid, but as a quick and dirty solution i just copied the common directory with the bc4j.xcfg file where it is looking for it. This makes it at least work. Any updates to the xcfg file done will of course not be reflected.
    Regards, G

  • UIX/BC4J: Update/Caching problem?

    Dear all,
    we are using UIX with BC4J to build a web application that models sort of a workflow. We factored the application into multiple application modules nested in one root module. We have two VOs (VO1 and VO2) that are both based on the same EO. Both VOs live in different application modules (AM1 and AM2). One UIX page adds rows to the EO through VO1 (using Java to handle the UIX event), another UIX page displays the new rows through VO2 (using bc4j:table).
    Now during testing I encounter the following problem: After I add rows in VO1 and do AM1.getTransaction().commit(), I don't see any changes in VO2. As a workaround, I do VO2.executeQuery() immediately after the commit, but shouldn't the changes be automatically propagated if the VOs are based on the same EO?
    Is there a way to notify changes across user/session borders, e.g. if user A updates VO1, user B immediately sees the changes in VO2?
    Many thanks for any help!
    Markus.

    I think the behaviour you describe is normal and there are reasons for it: see a section entitled "How Does the Business Logic Tier Cache Data?" in the help. (In particular, the "Multiple view object instances and update, delete and insert behaviour" near the bottom.)
    Basically, because BC4J doesn't have an arbitrary-SQL evaluator it can't generally tell whether an entity belongs in a different view or not.
    I recall having read in these forums before (Sung Im, I think) that you're allowed to add a row to more than one view (and that only one entity will be created) but I think the views have to be of exactly the same format.
    HTH
    Mike.

  • Deploy to OC4J standaone problem

    Dears,
    I developed an application in jdev 10.2 and it works successfully with embedded OC4J, but when deploy to OC4J standalone or Tomcat it doesn't work.
    I use JSON in my application.
    The log (for OC4J standalone and Tomcat) is empty from errors and exceptions, Only
    JSONRPCBridge.analyzeClass analyzing package1name.package2name.package3name.DAO.classNmaeDAO
    is written and my code didn't work and JSP is empty.
    Any ideas, what may be the problem there???

    When I deploy to oc4j from jdev... I get an error.
    Unknown site: http-web-site
    How do I figure out what my http site is via my oc4j configuration?
    I know in my Connection properties for oc4j in jdev, there is a target web site property where I entered "http-web-site", thinking this was the correct target.
    Thanks. Look in <oracle_home>\j2ee\home\config\server.xml
    Web sites are defined by the web-site entry. E.g
    <web-site path="./http-web-site.xml" />
    <web-site default="true" path="./default-web-site.xml" />
    Dhiraj

  • Java Web Start and BC4J/OC4J

    Hi all developers,
    This is my first forum message, and I hope that there is someone that can help me.
    Problem: A JClient using BC4J in a 3tier situation work perfectly well when run from within the IDE, however using the Web Start Wizard and deployed to the Application server and run from Java Web Start, it does not work.
    Is there any HowTo or documentation on the right settings, roles, security, procedures, etc. with regard to Jclient, BC4J and Java WebStart?
    Thanks
    Craig

    Ant build file which does the signing
    Please make sure you make a backup of the existing bc4jlibs.ear before you use this build file.
    <!--Ant build file to create bc4jlibs.ear. bc4jlibs.ear is used in
    JClient WebStart application
    <property name="jdeveloper.root" value="D:\JDev9i\"/>
    <property name="ear.file.name" value="D:\JDev9i\jlib\bc4jlibs.ear"/>
    <property name="alias" value="mykey"/>
    <property name="storepass" value="secretcode"/>
    -->
    <project name="buildear" basedir="." default="ear">
    <!--define home for the libraries-->
    <property name="lib.home" value="${jdeveloper.root}/lib"/>
    <property name="ord.home" value="${jdeveloper.root}/ord"/>
    <property name="j2ee.home" value="${jdeveloper.root}/j2ee"/>
    <property name="jlib.home" value="${jdeveloper.root}/jlib"/>
    <property name="jdev.home" value="${jdeveloper.root}/jdev"/>
    <property name="vbroker4.home" value="${jdeveloper.root}/vbroker4"/>
    <property name="jdbc.home" value="${jdeveloper.root}/jdbc"/>
    <property name="BC4J.home" value="${jdeveloper.root}/BC4J"/>
    <!--temp directories-->
    <property name="temp.dir" value="${jdeveloper.root}/jdev/temp"/>
    <property name="temp.war.dir" value="${temp.dir}/warroot"/>
    <property name="temp.ear.dir" value="${temp.dir}/earroot"/>
    <!--define war names for the various libraries-->
    <property name="lib.war.name" value="${temp.ear.dir}/lib.war"/>
    <property name="ord.war.name" value="${temp.ear.dir}/ord.war"/>
    <property name="j2ee.war.name" value="${temp.ear.dir}/j2ee.war"/>
    <property name="jlib.war.name" value="${temp.ear.dir}/jlib.war"/>
    <property name="jdev.war.name" value="${temp.ear.dir}/jdev.war"/>
    <property name="vbroker4.war.name" value="${temp.ear.dir}/vbroker4.war"/>
    <property name="jdbc.war.name" value="${temp.ear.dir}/jdbc.war"/>
    <property name="BC4J.war.name" value="${temp.ear.dir}/BC4J.war"/>
    <taskdef name="appxml" classname="oracle.jbo.dt.jclient.ant.taskdefs.ApplicationXmlGenerator"/>
    <target name="init">
    <mkdir dir="${temp.dir}"/>
    <mkdir dir="${temp.war.dir}"/>
    <mkdir dir="${temp.ear.dir}"/>
    </target>
    <target name="clean">
    <delete dir="${temp.dir}"/>
    </target>
    <target name="sign_jar" if="signing.enabled">
    <signjar jar="${jarname}" alias="${alias}" storepass="${storepass}"/>
    </target>
    <!-- create war for lib jars.-->
    <target name="lib_war" depends="init">
    <copy todir="${temp.war.dir}">
    <fileset dir="${lib.home}">
    <include name="xmlparserv2.jar"/>
    </fileset>
    <fileset dir="${jdeveloper.root}/jdev/multi/system/templates/jclient">
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </copy>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/xmlparserv2.jar"/>
    </antcall>
    <jar jarfile="${temp.ear.dir}/lib.war">
    <fileset dir="${temp.war.dir}">
    <include name="**/*.jar"/>
    <include name="**/*.zip"/>
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </jar>
    <delete dir="${temp.war.dir}"/>
    </target>
    <!-- create war for ord jars.-->
    <target name="ord_war" depends="init">
    <copy todir="${temp.war.dir}">
    <fileset dir="${ord.home}">
    <include name="jlib/jmf.jar"/>
    <include name="jlib/ordhttp.jar"/>
    <include name="jlib/ordim.jar"/>
    </fileset>
    <fileset dir="${jdeveloper.root}/jdev/multi/system/templates/jclient">
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </copy>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/jlib/jmf.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/jlib/ordhttp.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/jlib/ordim.jar"/>
    </antcall>
    <jar jarfile="${temp.ear.dir}/ord.war">
    <fileset dir="${temp.war.dir}">
    <include name="**/*.jar"/>
    <include name="**/*.zip"/>
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </jar>
    <delete dir="${temp.war.dir}"/>
    </target>
    <!-- create war for j2ee jars.-->
    <target name="j2ee_war" depends="init">
    <copy todir="${temp.war.dir}">
    <fileset dir="${j2ee.home}">
    <include name="home/lib/ejb.jar"/>
    <include name="home/lib/jaas.jar"/>
    <include name="home/lib/jms.jar"/>
    <include name="home/lib/jndi.jar"/>
    <include name="home/lib/jta.jar"/>
    <include name="home/oc4jclient.jar"/>
    </fileset>
    <fileset dir="${jdeveloper.root}/jdev/multi/system/templates/jclient">
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </copy>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/home/lib/ejb.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/home/lib/jaas.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/home/lib/jms.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/home/lib/jndi.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/home/lib/jta.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/home/oc4jclient.jar"/>
    </antcall>
    <jar jarfile="${temp.ear.dir}/j2ee.war">
    <fileset dir="${temp.war.dir}">
    <include name="**/*.jar"/>
    <include name="**/*.zip"/>
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </jar>
    <delete dir="${temp.war.dir}"/>
    </target>
    <!-- create war for jlib jars.-->
    <target name="jlib_war" depends="init">
    <copy todir="${temp.war.dir}">
    <fileset dir="${jlib.home}">
    <include name="LW_PfjBean.jar"/>
    <include name="bigraphbean.jar"/>
    <include name="jdev-cm.jar"/>
    </fileset>
    <fileset dir="${jdeveloper.root}/jdev/multi/system/templates/jclient">
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </copy>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/LW_PfjBean.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/bigraphbean.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/jdev-cm.jar"/>
    </antcall>
    <jar jarfile="${temp.ear.dir}/jlib.war">
    <fileset dir="${temp.war.dir}">
    <include name="**/*.jar"/>
    <include name="**/*.zip"/>
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </jar>
    <delete dir="${temp.war.dir}"/>
    </target>
    <!-- create war for jdev jars.-->
    <target name="jdev_war" depends="init">
    <copy todir="${temp.war.dir}">
    <fileset dir="${jdev.home}">
    <include name="lib/jdev-rt.jar"/>
    </fileset>
    <fileset dir="${jdeveloper.root}/jdev/multi/system/templates/jclient">
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </copy>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/jdev-rt.jar"/>
    </antcall>
    <jar jarfile="${temp.ear.dir}/jdev.war">
    <fileset dir="${temp.war.dir}">
    <include name="**/*.jar"/>
    <include name="**/*.zip"/>
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </jar>
    <delete dir="${temp.war.dir}"/>
    </target>
    <!-- create war for vbroker4 jars.-->
    <target name="vbroker4_war" depends="init">
    <copy todir="${temp.war.dir}">
    <fileset dir="${vbroker4.home}">
    <include name="lib/vbjorb.jar"/>
    </fileset>
    <fileset dir="${jdeveloper.root}/jdev/multi/system/templates/jclient">
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </copy>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/vbjorb.jar"/>
    </antcall>
    <jar jarfile="${temp.ear.dir}/vbroker4.war">
    <fileset dir="${temp.war.dir}">
    <include name="**/*.jar"/>
    <include name="**/*.zip"/>
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </jar>
    <delete dir="${temp.war.dir}"/>
    </target>
    <!-- create war for jdbc jars.-->
    <target name="jdbc_war" depends="init">
    <copy todir="${temp.war.dir}">
    <fileset dir="${jdbc.home}">
    <include name="lib/classes12.jar"/>
    <include name="lib/nls_charset12.jar"/>
    </fileset>
    <fileset dir="${jdeveloper.root}/jdev/multi/system/templates/jclient">
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </copy>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/classes12.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/nls_charset12.jar"/>
    </antcall>
    <jar jarfile="${temp.ear.dir}/jdbc.war">
    <fileset dir="${temp.war.dir}">
    <include name="**/*.jar"/>
    <include name="**/*.zip"/>
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </jar>
    <delete dir="${temp.war.dir}"/>
    </target>
    <!-- create war for BC4J jars.-->
    <target name="BC4J_war" depends="init">
    <copy todir="${temp.war.dir}">
    <fileset dir="${BC4J.home}">
    <include name="jlib/bc4jctvb.jar"/>
    <include name="jlib/bc4jdatum.jar"/>
    <include name="jlib/bc4jdomgnrc.jar"/>
    <include name="jlib/bc4jimjui.jar"/>
    <include name="jlib/bc4jmtvb.jar"/>
    <include name="jlib/bc4jui.jar"/>
    <include name="lib/bc4jct.jar"/>
    <include name="lib/bc4jctejb.jar"/>
    <include name="lib/bc4jdomorcl.jar"/>
    <include name="lib/bc4jimdomains.jar"/>
    <include name="lib/bc4jmt.jar"/>
    <include name="lib/bc4jmtejb.jar"/>
    <include name="lib/collections.jar"/>
    </fileset>
    <fileset dir="${jdeveloper.root}/jdev/multi/system/templates/jclient">
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </copy>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/jlib/bc4jctvb.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/jlib/bc4jdatum.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/jlib/bc4jdomgnrc.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/jlib/bc4jimjui.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/jlib/bc4jmtvb.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/jlib/bc4jui.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/bc4jct.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/bc4jctejb.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/bc4jdomorcl.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/bc4jimdomains.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/bc4jmt.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/bc4jmtejb.jar"/>
    </antcall>
    <antcall target="sign_jar">
    <param name="jarname" value="${temp.war.dir}/lib/collections.jar"/>
    </antcall>
    <jar jarfile="${temp.ear.dir}/BC4J.war">
    <fileset dir="${temp.war.dir}">
    <include name="**/*.jar"/>
    <include name="**/*.zip"/>
    <include name="WEB-INF/web.xml"/>
    </fileset>
    </jar>
    <delete dir="${temp.war.dir}"/>
    </target>
    <target name="create_application_xml" depends="init">
    <appxml appxml="${temp.ear.dir}/application.xml">
    <displayname name="bc4j"/>
    <webmodule weburi="lib.war" contextroot="/lib"/>
    <webmodule weburi="ord.war" contextroot="/ord"/>
    <webmodule weburi="j2ee.war" contextroot="/j2ee"/>
    <webmodule weburi="jlib.war" contextroot="/jlib"/>
    <webmodule weburi="jdev.war" contextroot="/jdev"/>
    <webmodule weburi="vbroker4.war" contextroot="/vbroker4"/>
    <webmodule weburi="jdbc.war" contextroot="/jdbc"/>
    <webmodule weburi="BC4J.war" contextroot="/BC4J"/>
    </appxml>
    </target>
    <target name="ear">
    <antcall target="lib_war"/>
    <antcall target="ord_war"/>
    <antcall target="j2ee_war"/>
    <antcall target="jlib_war"/>
    <antcall target="jdev_war"/>
    <antcall target="vbroker4_war"/>
    <antcall target="jdbc_war"/>
    <antcall target="BC4J_war"/>
    <antcall target="create_application_xml"/>
    <ear earfile="${ear.file.name}" appxml="${temp.ear.dir}/application.xml">
    <fileset dir="${temp.ear.dir}">
    <include name="*.war"/>
    </fileset>
    </ear>
    </target>
    <!--target for signing wars-->
    <target name="sign">
    <property name="signing.enabled" value="true"/>
    <antcall target="ear"/>
    </target>
    </project>

  • Oc4j restart problem.

    Hi ,
    By using controller i am running my script ,the script is taking to OHS and OHS is routing the request to OC4J .It was working fine for the first time .i need to stop the oc4j and again bring back the oc4j server,this time OHS is routing the request to OC4J but the OC4J is not able to handle the user requests. We found the below error repeatedly in the application log file.
    " Caused by: java.lang.ClassCastException: narrow () failed for class:com.siebel.nexus.repository.runtime.helper.RepositoryServiceRemoteHome
    Check classpath to _iiopClient.jar containing stub classes "
    Thanks
    Ramesh

    To restart Oc4J it has be be up and running.
    1) So please start the Oc4J server as follows in one window:
    java -jar orion.jar --> starts
    2) Go to another command window:
    Now try to restart Oc4j as follows:
    java -jar admin.jar ormi://localhost admin password -restart
    Hope this helps !!
    regards
    Debu panda
    Oracle
    I have problem to restart my oc4j in following format:
    <<<<<<<<<
    C:\oracle\iASHome817\j2ee\home>java -jar admin.jar
    ormi://sf003dell admin quentinhu -restart
    Error: javax.naming.NamingException: Lookup error: java.net.ConnectException: Co
    nnection refused: connect; nested exception is:
    java.net.ConnectException: Connection refused: connect
    >sf003dell is Oracle 8.16 server, I also tried to point to my 9iDB got the same message. Before each trial, I did modification on datasource.xml file under my j2ee container.I can start OC4J in a basic format "java -jar orion.jar" without error displayed.
    I can also setup connention to both DBs from jDev5.0 very easily. Anyone in this forum can give me a clue what is going wrong?
    Thanks a lot,

  • OC4J session problem - values not sticking in session

    OC4J 10g (9.0.4.0.0)
    I have been developing with JDeveloper and OC4J for a few years. My machine started to crap out last week (old laptop) so I purchased a new machine. I have installed the same versions of OC4J and JDeveloper on my new machine that were on my old machine. Everything seemed OK but I have noticed that none of the session values are "sticking" between requests, works fine on old machine by the way
    Example:
    a.jsp
    // put a simple value in the session
    session.setAttribute("firstName", new String("Chris"));
    // later in that same jsp I can retrieve tha value - no problem
    String fname = (String)session.getValue("firstName");
    b.jsp
    // but in a different jsp, the same call to retrieve the value from the session (after running other jsp to set the value) comes back null
    String fname = (String)session.getValue("firstName");
    The same exact code works great on one machine and not on the other - same versions of OC4J installed.
    Anyone seen this before?
    Thanks,
    Chris

    The urls appear to be correct:
    http://hostname:8888/contextroot/filename.jsp
    The same result can be seen if I re-run one JSP over and over:
    <%
    Integer bigInt = (Integer)session.getValue("counter");
    if (bigInt == null)
    session.setAttribute("counter", new Integer(1));
    bigInt = new Integer(1);
    else
    int newCounter = bigInt.intValue() + 1;
    session.setAttribute("counter", new Integer(newCounter));
    bigInt = new Integer(newCounter);
    %>
    Counter = <%= bigInt.intValue() %>
    If I run this over and over on one machine I see the counter value of 1 each time. On the other it increments.

  • BC4J temporary focus problem with JDK 1.4.2

    Hello all,
    we have got a tricky problem with BC4J (Oracle JDeveloper 9.0.3.2)
    using the JDK 1.4.2 (Sun):
    There is a JFrame with a JMenuBar, containing a BC4J data panel with the controls on it.
    Now if one enters a value in a control and now directy clicks on the JMenuBar, the control
    gets a focusLost event but is not validated through BC4J and not set to the model.
    If a commit would be called from the menue the entered data is lost !
    In case of the JDK 1.3.1_02, which comes with the JDeveloper, everything works fine: after
    the focusLost event, the data is validated and set to the model.
    We have investigated the problem more deeper. The difference between
    the 1.4 and 1.3 is, that the 1.4 creates a temporary FocusEvent and the 1.3 not.
    We stepped up the stack into the Method oracle.jbo.uicli.jui.JUSVUpdateableFocusAdapter.focusLost:
    the temporary focusEvent causes this method to return and to do nothing:
    * Performs a setAttribute() on the control binding to save the changes made by
    * the control to the attribute value.
    public void focusLost(FocusEvent e)
    if (e.isTemporary())
    return;
    JUCtrlAttrsBinding binding = (JUCtrlAttrsBinding)mAttrBinding;
    I think it is a general problem with 1.4, because many things dealing with focus
    have been expaned and changed.
    Is this a bug or should BC4J not be used with 1.4 ?
    Greetings

    9.0.3.2 is not tested with JDK 1.4, so issues like this are not a surprise.
    However we will test this with our current development branch (which is being tested on JDK 1.4x) and verify if the behavior is reproducible.

  • Eclipse Tomcat Hibernate Struts - JDeveloper OC4J migration problem.

    In my current project, everybody uses Eclipse and Tomcat as development environment. I decide to try JDeveloper in this project. Not that this configuration works with eclipse WPT.
    When I try to open project, I get an error as below.
    Target URL -- http://127.0.0.1:8988/PSSO/index.html
    30.Haz.2008 21:50:03 oracle.classloader.util.ClassLoadLogger log
    WARNING: Code-source D:\atilla\projects\javaProjects\meteksan\EclipseWorkspace_RTUK\BuildScripts\DirectoryThirdPartyLibraries\jta.jar (from <classpath> in D:\atilla\projects\javaProjects\meteksan\EclipseWorkspace_RTUK\PSSO\WebContent) has the same filename but is not identical to /E:/downloads/tools/jdevstudiobase1111/j2ee/home/lib/jta.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in E:\downloads\tools\jdevstudiobase1111\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.PSSO:0.0.0.
    30.Haz.2008 21:50:03 oracle.classloader.util.ClassLoadLogger log
    WARNING: Code-source E:\downloads\tools\jdevstudiobase1111\jakarta-struts\lib\struts.jar (from <classpath> in D:\atilla\projects\javaProjects\meteksan\EclipseWorkspace_RTUK\PSSO\WebContent) has the same filename but is not identical to /D:/atilla/projects/javaProjects/meteksan/EclipseWorkspace_RTUK/BuildScripts/DirectoryThirdPartyLibraries/struts.jar (from <classpath> in D:\atilla\projects\javaProjects\meteksan\EclipseWorkspace_RTUK\PSSO\WebContent). If it contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader current-workspace-app.web.PSSO:0.0.0.
    08/06/30 21:50:17 Hibernate: select t.name, sa.value from RTUK_PSSO.ytk_sistem_attribute sa, RTUK_PSSO.ytk_attribute t where sa.attribute_id = t.id
    21:50:20,687 ERROR ActionServlet:364 - Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing library dependency.
    javax.servlet.ServletException: org.hibernate.QueryException: ClassNotFoundException: org.hibernate.hql.ast.HqlToken [from tr.com.meteksan.genel.gnlKurumOrganizasyon.GnlKurumOrganizasyon ko order by ko.organizasyonKodu]
    at tr.com.meteksan.web.plugin.InitSozlukDegerleriPlugIn.init(InitSozlukDegerleriPlugIn.java:49)
    at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
    what is interesting is that
    first query with hibernate works, but second query does not works.
    My JDeveloper as below
    CVS Version Internal to Oracle JDeveloper 11g Technology Preview 4 (client-only)
    Java(TM) Platform 1.5.0_15
    Oracle IDE 11.1.1.0.22.49.49
    Versioning Support 11.1.1.0.22.49.49
    I wonder if it is related to struts and jta jars defined twice.

    There might be a problem with the OC4J not finding the hibernate library you are trying to use.
    Try setting the library also in the tools->embedded OC4J preferences.

  • Dynamic BC4J JDBC credential problem

    I am using bc4j 9.0.3.1 and trying to dynamically change jdbc credentials and connect to different databases. I did everything as described in article "How to support Dynamic JDBC Credentials".
    I was able successfully connect from web application to database, but when I request ViewObject from app module - I got error "Error Message: JBO-25200: Application module is not connected to a database".
    What happened is following:
    My apps connect to database, it print following debug message:
    [458] Creating a new pool resource
    [459] Trying connection/2: url='jdbc:oracle:thin:@192.168.0.1:mxb' info='{user=carnegie, password=carnegie}' ...
    [460] Successfully logged in
    then in dubugger I see it calls ApplicationPoolImp class doFailover method and alwaus execute disconnect(appModule, true, cookie) method.
    I do not know why it disconnection itself from the database.
    // Store the passivation id on the application module cookie so that
    // we know the last passivation id.
    cookie.setPassivationId(passivationId);
    // After passivating the application module attempt to clean up any
    // records associated with previously passivated state. State may not be
    // removed if the VM instance has died (pass a previous state to this
    // method? Add logic to the application registry to handle this?).
    doPersistenceOperation(REMOVE_STATE, appModule, prevPassivationId, cookie);
    if (!wasConnected)
    // Always retain the state.
    disconnect(appModule, true, cookie);
    Final debug statements I got:
    [486] DefaultConnectionStrategy is disconnecting an application module connection
    [490] ViewObject close prepared statements...
    [491] ViewObject close prepared statements...
    [492] ViewObject close prepared statements...
    [493] ViewObject close prepared statements...
    [494] ViewObject close prepared statements...
    [495] ViewObject close prepared statements...
    [496] *** closing jdbc connection now **** (oracle.jdbc.driver.OracleConnection@ed)
    My problem - why it disconnection itself from the database after successfull connection? I want to use this connection for duration of the session.

    hi DAguirre
    I have found the class "oracle.jbo.http.HttpSessionCookieFactory" in these JAR files:
    <your-jdevstudio10133-dir>\BC4J\jlib\bc4jhtml.jar
    <your-jdevstudio10133-dir>\BC4J\lib\adfmweb.jar
    You could try to add one of these JAR files to your classpath.
    regards
    Jan Vervecken

Maybe you are looking for

  • Https and web clipping portlet

    Hi, I have little problem with portal, I can't add web clipping portlet from my web app, which using https. Has anyone any experience with adding web clipping portlet over ssl? Is it possible? (version 10g, 10.1.2.0.0) Thanks Jan Kralik

  • Using Safely Eject Hardware in Windows Vista Doesn't Disconnect iPod

    When I use the Safely Eject Hardware Option to eject my iPod in Vista, my iPod still says "Do Not Disconnect", whilst in Windows XP it will allow me to use the iPod afterwards. I know vista is got some compatability issues but does anyone else have t

  • Itunes choppy, slow since upgrading to 10.x

    Ever since I upgraded to version 10.x or the latest as of this date, when I want to listen to itunes its horribly choppy, slows down and buzzes during playback.   I've updated quicktime to version 7.x still didn't help.  It doesn't appear to be CPU o

  • Selection-options on a module pool screen

    Hi all, How to define a field as selection-options on a module pool screen. Thanks, Chuong

  • WD4A and check table

    In SE11, we can define a check table for a field in the structure. for example, define T001W for ZWERKS-werks, where ZWERKS is a transparent table. and when we insert data into ZWERKS in SE11, an error message will pop up when we entered a invalid pl