Tld help
I am using facelet and eclipse jboss tool. I just finished up my tag with facelet composite. The type attribute can be double or long. I am successfully install the tdl with code assistance in the jboss tool but how can i improve the code assistance to let user select the double and long in the pop up?
<myt:inputText type="double"
The following is the only format that i know. How about the available value for this attribute like long and double?
<attribute>
<description>type</description>
<name>type</name>
<required>yes</required>
<rtexprvalue>false</rtexprvalue>
<type>java.lang.String</type>
</attribute>
the problem has been solved after i deleted the
web.xml in the web-inf folder??
could somebody please tell me why??
could it be that there were some wrong settings in
the web.xml?Possibly. If your web.xml had any taglib definitions in it related to JSTL, then yes, it was set upt incorrectly.
Another possibility was that there was something wrong someplace else that had been fixed but the context not restarted and so the fix wasn't seen. Then the removal of the web.xml forced the context to be reloaded which showed the firx from earlier.
As a side note, you should put back a web.xml, even if it is an empty <web-app ...></web-app>.
Similar Messages
-
How to pass a java variable to a JSP custom action?
I am trying the following code to display a list of 5 choices. But it shows me choices as <%= i %> and not the actual values of i as 0,1,2,3,4.
what's going wrong?
<body>
<form>
<test:SearchList name="testList" listSize="5" listWidth="300" multiple="Y" >
<% for(int i=0; i< 5; i++){%>
<test:SearchListOption label="<%= i %>" value="<%= i %>" />
<%}%>
</test:SearchList>
</form>
</body>
</html>
thanks-
ksgHi,
Thanks for reply.
Oh I guess by mistake I sent part of code for the jsp file which in full is as :
<%@ taglib uri="/WEB-INF/tlds/taglib.tld" prefix="test"%>
<html>
<body>
<form>
<test:SearchList name="testList" listSize="5" listWidth="300" multiple="Y" selectList="" >
<% for(int i=0; i< 5; i++){%>
<test:SearchListOption label="<%= i %>" value="<%= i %>" />
<%}%>
</test:SearchList>
</form>
</body>
</html>
and here is the taglib.tld code.
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib.tld>
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>test</shortname>
<tag>
<name>SearchList</name>
<tagclass>customTags.SearchList</tagclass>
<bodycontent>jsp</bodycontent>
<attribute>
<name>name</name>
</attribute>
<attribute>
<name>listSize</name>
</attribute>
<attribute>
<name>listWidth</name>
</attribute>
<attribute>
<name>multiple</name>
</attribute>
<attribute>
<name>fontSize</name>
</attribute>
<attribute>
<name>selectList</name>
</attribute>
<attribute>
<name>searchSize</name>
</attribute>
</tag>
<tag>
<name>SearchListOption</name>
<tagclass>customTags.SearchListOption</tagclass>
<bodycontent>empty</bodycontent>
<attribute>
<name>value</name>
</attribute>
<attribute>
<name>label</name>
</attribute>
</tag>
</taglib></taglib.tld>
Help is greatly appreciated.
-Kirti -
HELP ! unable to read TLD
Hi
I've tried to run a jsp page that uses the following taglib attribute:
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
but it comes up with the error message :
Unable to read TLD "META-INF/c-1_0.tld" from JAR file "file:/C:/jakarta/jakarta-tomcat-5.0.19/webapps/ROOT/WEB-INF/lib/standard.jar": java.lang.IllegalStateException: zip file closed
I've unzipped the standard.jar file to make sure that the c-1_0.tld file is there and it is actually there, I've also downloaded the latest version of the taglib but both actions have not solved my problem.
The same error message comes up when i use the taglib
<%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
it says
Unable to read TLD "META-INF/sql-1_0.tld" from JAR file "file:/C:/jakarta/jakarta-tomcat-5.0.19/webapps/ROOT/WEB-INF/lib/standard.jar": java.lang.IllegalStateException: zip file closed.
This is really slowing things down as I cant get to use any of the standard taglib
please I need help
abiosethe problem has been solved after i deleted the
web.xml in the web-inf folder??
could somebody please tell me why??
could it be that there were some wrong settings in
the web.xml?Possibly. If your web.xml had any taglib definitions in it related to JSTL, then yes, it was set upt incorrectly.
Another possibility was that there was something wrong someplace else that had been fixed but the context not restarted and so the fix wasn't seen. Then the removal of the web.xml forced the context to be reloaded which showed the firx from earlier.
As a side note, you should put back a web.xml, even if it is an empty <web-app ...></web-app>. -
Help to add new mail with personal domain.tld
Dear Sirs ,
following we hereby state that we have a little problem on blackbbery we use . when planting a personal domain email .
we did not find a lot of options , such as setting and other ports .
that there is only :
email address: [email protected]
password : password - user - mail
we 've completely fill out the form that must be filled on top , but always considered wrong . and when we see the custom options that contain only :
server address : mail.mydomain.tld
Username : [email protected]
there are no other options such as ports and others .
and each of us filled in accordance with the request, always considered wrong and asked for mydoamin.tld contacted .
Please explain how so we can plant mydomain.tld email on blackberry OS7 and OS6 and OS5 .
please note we managed to grow on blackberry os10 . highly unlikely we force them below the os users to exchange the device os10 because of financial reasons is not allowed .
thank youWhen creating an email account, you should find the link to "Advanced Options" at the base of the screen.
If not, see this:
Article ID: KB31575 BlackBerry smartphone has no option for Internet Mail Account in Email Setup Application
Article ID: KB15499 How to set up a BlackBerry Internet Service email address from the BlackBerry smartphone
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Hello All,
I have migrated my 10.1.3.3.0 application to 11g Tp3, but it does not work
first of all in my jsps,
WEB-INF/struts-bean.tld is not a registered namespace
and all my custom libraries with same page
JAR for WEB-INF/lib/datatags.jar founr but not incluede in project classpath
Hoever, I do have Struts Libraries, custom libraries in my progect classpth datatags.jar
Can anyone advise me, whats wrong here
Thank you all in advance,
HardikAlso, I get this when I run
500 Internal Server Error
java.lang.NullPointerException
at org.apache.struts.taglib.TagUtils.retrieveMessageResources(TagUtils.java:1175)
at org.apache.struts.taglib.TagUtils.message(TagUtils.java:1038)
at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:224)
at MenuFrameSet.ctru0_helper_1(_MenuFrameSet.java:84)
[MenuFrameSet.jsp]
at MenuFrameSet.jspService(_MenuFrameSet.java:49)
[MenuFrameSet.jsp]
at com.orionserver[Oracle Containers for J2EE 11g (11.1.1.0.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:488)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:706)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter$3.run(JAZNFilter.java:434)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:308)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:452)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:585)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:646)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:614)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:405)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:168)
at com.evermind[Oracle Containers for J2EE 11g (11.1.1.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:149)
at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595) -
Help! JDev will not validate JSTL 1.1 c.tld from Jakarta
What schema or DTD does JDev use to validate tlds (or any XML, for that matter)? I am using JDev Version 10.1.2.0.0 (Build 1811). Following is a list of the first 10 (of 101) errors produced when trying to run a project using the JSTL 1.1 c.tld from Jakarta.
Project: C:\J2EE_Proj\jDev\CodeView\CodeView.jpr
C:\J2EE_Proj\jDev\CodeView\public_html\index.jsp
Error(3,48): FIXED type Attribute value not equal to the default value 'http://java.sun.com/xml/ns/j2ee'.
Error(4,58): Attribute 'xmlns:xsi' used but not declared.
Error(5,115): Attribute 'xsi:schemaLocation' used but not declared.
Error(6,18): Attribute 'version' used but not declared.
Error(8,15): Invalid element 'description' in content of 'taglib', expected elements '[tlibversion]'.
Error(8,15): Element 'description' used but not declared.
Error(9,16): Invalid element 'display-name' in content of 'taglib', expected elements '[tlibversion]'.
Error(9,16): Element 'display-name' used but not declared.
Error(10,16): Invalid element 'tlib-version' in content of 'taglib', expected elements '[tlibversion]'.
Error(10,16): Element 'tlib-version' used but not declared.
And then, finally:
Error(2): Unable to load taghandler class: http://java.sun.com/jsp/jstl/core
How do I fix this?
MarkHI and welcome to Apple Discussions...
You have the CTLoader/Conduit toolbar installed. It's not compatible with the current version of Safari.
Open a Finder window. Select MacintoshHD in the Sidebar on the left. Now open the Library folder then the Input Managers folder. Move these files to the Trash: CTLoader/ctloader.bundle/Contents/MacOS/ctloader
From that same Library folder open the ScriptingAdditions folder. Move these files to the Trash: ctscripting.osax/Contents/MacOS/ctscripting
And the same Library folder, open the Application Support folder and move these files to the Trash:
Conduit/Plugins/cttoolbar.bundle/Contents/MacOS/ct_plugins
Relaunch Safari.
Carolyn -
Thesis Help components.tld
I am just trying to be a JSF writer, and my thesis is a DoubleTab just like the format in apple.com
I use the samples SUN supplied.Jsf-components.and there is a sample could be used, but I dont know the reason that component.tld is not registered in the web.xml ,but it still works.
Not Familiar with it.thanks.You may want to go thru just once..
http://www.samlsecurity.com/components.html
.tld files are put under WEB-INF directly so need for registering them in web.xml -
Help: can not regist application in HP-UX 11.0
My application work fine in iAS SP3 for Win2000, but when I deployed it to
HP-UX 11.0, It can not regist the application in HP-UX.
can any onr help me, thanks
Lu yanqiang
the error message is:
HotSpot VM warning: Setting of property "java.compiler" is ignored
creating engine class space...
loading jx2util...
loading jx2util...done
Connected to LDAP server on websvr.sh-catcher.com port 389
com.kivasoft.engine.EngineClassLoaderNonVersionable: EngineClassLoader
constructer called
com.kivasoft.engine.EngineClassLoaderNonVersionable: ! NVCL CREATED at:
com.kivasoft.engine.EngineClassLoaderNonVersionable@1fbe93
ECS initializing engine class loader instance.
com.kivasoft.engine.EngineClassLoader: EngineClassLoader constructer called
initGDSKey: GDSKey_Base
initGDSKey- just put : com.kivasoft.IGDSKey_Base
key=com.kivasoft.gds.GDSKey@41cd1f
initGDSKey: GDSKey_Root
initGDSKey- just put : com.kivasoft.IGDSKey_Root
key=com.kivasoft.gds.GDSKey@31f71a
initGDSKey: GDSKey_Current
initGDSKey- just put : com.kivasoft.IGDSKey_Current
key=com.kivasoft.gds.GDSKey@5601ea
initGDSKey: GDSKey_CurrentEngine
initGDSKey- just put : com.kivasoft.IGDSKey_CurrentEngine
key=com.kivasoft.gds.GDSKey@17d257
context= com.kivasoft.context.Context@6ee36c
resolve property: GX.path.class GX_CLASSPATH SYSTEM_JAVA null
resolve value: /opt/iplanet/ias6/ias/APPS
resolve property: GX.path.class.core GX_CLASSPATH_CORE SYSTEM_JAVA
java.;com.kivasoft.;gx.
resolve value:
java.;com.kivasoft.;gx.;com.netscape.;javax.;netscape.ldap.;netscape.tooluti
l.
resolve property: GX.versionable GX_VERSIONABLE SYSTEM_JAVA
com.kivasoft.engine.IVersionable
property not in GDS
resolve value: com.kivasoft.engine.IVersionable
resolve property: GX.all.versionable GX_ALL_VERSIONABLE SYSTEM_JAVA 0
property not in GDS
resolve value: 0
resolve property: GX.taskmanager.period GX_TASKMANAGER_PERIOD SYSTEM_JAVA 10
property not in GDS
resolve value: 10
resolve property: GX.versionable.if.extends GX_VERSIONABLE_IF_EXTENDS
SYSTEM_JAVA javax.servlet.GenericServlet;javax.servlet.http.HttpServlet
property not in GDS
resolve value: javax.servlet.GenericServlet;javax.servlet.http.HttpServlet
resolve property: GX.versionable.if.implements GX_VERSIONABLE_IF_IMPLEMENTS
SYSTEM_JAVA javax.servlet.Servlet
property not in GDS
resolve value: javax.servlet.Servlet
class_dir 4 AppPath: /opt/iplanet/ias6/ias/APPS/compiled_jsp
loading component...{7ee76a00-a999-11d1-a16f-006097594151}
getting threadLocal obj
loading component...{91f29740-16e1-11cf-96c8-0020afed9a65}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.thread.ModuleThread
com.kivasoft.engine.EngineClassLoader: Class
com.kivasoft.thread.ModuleThread appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
com.kivasoft.thread.ModuleThread
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class
com.kivasoft.thread.ModuleThread loaded by primordial CL
registered module... com.kivasoft.IModuleThread
loading component...{91f29620-16e1-11cf-96c8-0020afed9a65}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderJ
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderJ
appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
com.kivasoft.bind.BinderJ
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderJ
loaded by primordial CL
loading component...{ed049d80-b936-1548-e481-080020721767}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.eb.EJBBinder
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EJBBinder
appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
com.kivasoft.eb.EJBBinder
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EJBBinder
loaded by primordial CL
EJBBinder: binder is GOOD..
EJBBinder: context set obj for IID_IGXEBBinder
loading component...{a84f0507-a912-11cf-aa6c-524153480000}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.gds.GDSModule
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.gds.GDSModule
appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
com.kivasoft.gds.GDSModule
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.gds.GDSModule
loaded by primordial CL
registered module... com.kivasoft.IGDSModule
loading component...{c70f2c00-abeb-11d0-b4e5-00a024e006be}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderBase
appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderBase
loaded by primordial CL
loading component...{c70f2d00-abeb-11d0-b4e5-00a024e006be}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
PCL cache
loading component...{c70f1a00-abeb-11d0-b4e5-00a024e006be}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.principal.PrincipalModule
com.kivasoft.engine.EngineClassLoader: Class
com.kivasoft.principal.PrincipalModule appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
com.kivasoft.principal.PrincipalModule
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class
com.kivasoft.principal.PrincipalModule loaded by primordial CL
registered module... com.kivasoft.IPrincipalModule
loading component...{35069f7a-0a09-1406-8f1a-0800208055c0}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
PCL cache
loading component...{e7d37500-23bf-11d1-b6c2-0060082beecf}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
PCL cache
loading component...{e7d37540-23bf-11d1-b6c2-0060082beecf}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
PCL cache
loading component...{be5cfde0-cd9e-11d1-94aa-0060083a5082}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.eb.EBModule
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EBModule
appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
com.kivasoft.eb.EBModule
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EBModule loaded
by primordial CL
registered module... com.kivasoft.IEBModule
The current input file= testdb.xml
About to start xml -> descriptor conversion process
xmlToDescriptor- file name=testdb.xml
Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/application_1_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN to
uri= file://localhost/opt/iplanet/ias6/ias/APPS/application-client_1_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/web-app_2_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/web-jsptaglibrary_1_1.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN to
uri= file://localhost/opt/iplanet/ias6/ias/APPS/ejb-jar_1_1.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS J2EE Application Client
1.0//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASjava_client_jar_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Web Application 1.0//EN to
uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASWebApp_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans 1.0//EN
to uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASEjb_jar_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Persistence Manager 1.0//EN to
uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASPersistence_manager_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Datasource 1.0//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASDatasource_1_0.dtd
servlet name = testdb
!!! parseWebAppFromDOM() just put in setServlet name = testdb
Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/application_1_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN to
uri= file://localhost/opt/iplanet/ias6/ias/APPS/application-client_1_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/web-app_2_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/web-jsptaglibrary_1_1.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN to
uri= file://localhost/opt/iplanet/ias6/ias/APPS/ejb-jar_1_1.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS J2EE Application Client
1.0//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASjava_client_jar_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Web Application 1.0//EN to
uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASWebApp_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans 1.0//EN
to uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASEjb_jar_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Persistence Manager 1.0//EN to
uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASPersistence_manager_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Datasource 1.0//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASDatasource_1_0.dtd
!!! handleIASServlet(): Get servlet name= testdb
AppComponentDescriptor: com.netscape.server.deployment.WebAppDescriptor
All EnvEntries name:
All Ejb-refs:
All Resource-refs:
WebApp package name = testdb
Enter setupPluginInfoInGDS()
creating ServletPatternTrans entry, url= /testdb
webapp ContextRoot= null
Enter getAllServlets,registeredServletNames.size= 0
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
Enter getAllServlets,registeredServletNames.size= 0
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
Enter getAllServlets,registeredServletNames.size= 0
[01/Nov/2001 16:00:04:5] info: GDS-007: finished a registry load
--- now put Web-app component descrptor into GDS
webAppName = testdb
Enter getAllServlets,registeredServletNames.size= 0
Enter getAllServlets,registeredServletNames.size= 0
getClassDefGDSKeyByGuid: name to match=
{eea893d3-d646-4f8e-8c6d-6f92a8563c46}
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
getServletGDSKeyByGuid: return key: com.kivasoft.gds.GDSKey@540408
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
getClassImpGDSKeyByGuid: name to match=
{eea893d3-d646-4f8e-8c6d-6f92a8563c46}
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
Now do some verification step and regenrate the web-app.xml.out file from
GDS data
getWebAppGDSKeyByPackageName: name to match= testdb
got key to webapp= testdb
enter WebAppCompGDSUtil.getDescriptorFromGDSByKey()
About to process the <servlet-mapping> element
GDSvalue name= /System/StaticServlet
GDSvalue val= StaticServlet
GDSvalue name= /System/JSPRunnerSticky
GDSvalue val= JSPRunnerSticky
GDSvalue name= /System/JSPRunner
GDSvalue val= JSPRunner
GDSvalue name= /System/FormAuthServlet
GDSvalue val= FormAuthServlet
GDSvalue name= /System/BasicAuthServlet
GDSvalue val= BasicAuthServlet
GDSvalue name= /System/CertAuthServlet
GDSvalue val= CertAuthServlet
GDSvalue name= /System/SessionInvalidator
GDSvalue val= SessionInvalidator
GDSvalue name= /fortune/fortune
GDSvalue val= FortuneServlet
GDSvalue name= /web/StaticServlet
GDSvalue val= StaticServlet
GDSvalue name= /web/JSPRunnerSticky
GDSvalue val= JSPRunnerSticky
GDSvalue name= /web/JSPRunner
GDSvalue val= JSPRunner
GDSvalue name= /web/FormAuthServlet
GDSvalue val= FormAuthServlet
GDSvalue name= /web/BasicAuthServlet
GDSvalue val= BasicAuthServlet
GDSvalue name= /web/CertAuthServlet
GDSvalue val= CertAuthServlet
GDSvalue name= /web/SessionInvalidator
GDSvalue val= SessionInvalidator
GDSvalue name= /web/AdderAlias
GDSvalue val= AdderServlet
GDSvalue name= /testdb/testdb
GDSvalue val= testdb
getServletMappingFromGDS: url= /testdb, servlet= testdb
About to process the context-param
[01/Nov/2001 16:00:06:7] info: GDS-007: finished a registry load
About to process the mime-mapping
About to process the servlets
GDSvalue name= testdb
GDSvalue val= {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
GDSvalue name= testdb.jsp
GDSvalue val= {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
The returned hashtable for servlets have: 2 entries
About to process the servlet name= testdb.jsp
About to process the servlet name= testdb
About to process the tld
The returned vector for taglib have: 0 entries
Finished getting a wd from gd s!!!
Now ready to write out WebApp xml file
descriptorToXml: about to get all servlets
Enter getAllServlets,registeredServletNames.size= 2
DescriptorManager.getServletByGuidStr, ctx=
com.kivasoft.context.Context@6ee36c
Enter getServletFromGDS
getClassDefGDSKeyByGuid: name to match=
{eea893d3-d646-4f8e-8c6d-6f92a8563c46}
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
getServletGDSKeyByGuid: return key: com.kivasoft.gds.GDSKey@76c74b
load-on-startup value from GDS= 0
number-of-singles value from GDS= 10
DescriptorManager.getServletByGuidStr, ctx=
com.kivasoft.context.Context@6ee36c
write Xml to output file: web.xml.out
Finished writing out j2ee xml file
Enter getAllServlets,registeredServletNames.size= 2
write Xml to output file: ias-web.xml.out
Finished writing out IAS xml file
Extracting JSPs from testdb.xml to /opt/iplanet/ias6/ias/APPS/
Processing input WAR 1
Processing input WARi 21 testdb.xml
Encountered exception java.util.zip.ZipException processing input file testdHi,
What is the version of app server on HP UX ? How did you deploy on the app
server in HP UX using command line deployment or GUI tool ? Where are these
errors shooting from, are these coming at the time of deployment or thrown at
runtime ? What is the application type that you are trying to deploy ?, if
possible send me the kxs and kjs log files please.
Regards
Raj
lu yanqiang wrote:
My application work fine in iAS SP3 for Win2000, but when I deployed it to
HP-UX 11.0, It can not regist the application in HP-UX.
can any onr help me, thanks
Lu yanqiang
the error message is:
HotSpot VM warning: Setting of property "java.compiler" is ignored
creating engine class space...
loading jx2util...
loading jx2util...done
Connected to LDAP server on websvr.sh-catcher.com port 389
com.kivasoft.engine.EngineClassLoaderNonVersionable: EngineClassLoader
constructer called
com.kivasoft.engine.EngineClassLoaderNonVersionable: ! NVCL CREATED at:
com.kivasoft.engine.EngineClassLoaderNonVersionable@1fbe93
ECS initializing engine class loader instance.
com.kivasoft.engine.EngineClassLoader: EngineClassLoader constructer called
initGDSKey: GDSKey_Base
initGDSKey- just put : com.kivasoft.IGDSKey_Base
key=com.kivasoft.gds.GDSKey@41cd1f
initGDSKey: GDSKey_Root
initGDSKey- just put : com.kivasoft.IGDSKey_Root
key=com.kivasoft.gds.GDSKey@31f71a
initGDSKey: GDSKey_Current
initGDSKey- just put : com.kivasoft.IGDSKey_Current
key=com.kivasoft.gds.GDSKey@5601ea
initGDSKey: GDSKey_CurrentEngine
initGDSKey- just put : com.kivasoft.IGDSKey_CurrentEngine
key=com.kivasoft.gds.GDSKey@17d257
context= com.kivasoft.context.Context@6ee36c
resolve property: GX.path.class GX_CLASSPATH SYSTEM_JAVA null
resolve value: /opt/iplanet/ias6/ias/APPS
resolve property: GX.path.class.core GX_CLASSPATH_CORE SYSTEM_JAVA
java.;com.kivasoft.;gx.
resolve value:
java.;com.kivasoft.;gx.;com.netscape.;javax.;netscape.ldap.;netscape.tooluti
l.
resolve property: GX.versionable GX_VERSIONABLE SYSTEM_JAVA
com.kivasoft.engine.IVersionable
property not in GDS
resolve value: com.kivasoft.engine.IVersionable
resolve property: GX.all.versionable GX_ALL_VERSIONABLE SYSTEM_JAVA 0
property not in GDS
resolve value: 0
resolve property: GX.taskmanager.period GX_TASKMANAGER_PERIOD SYSTEM_JAVA 10
property not in GDS
resolve value: 10
resolve property: GX.versionable.if.extends GX_VERSIONABLE_IF_EXTENDS
SYSTEM_JAVA javax.servlet.GenericServlet;javax.servlet.http.HttpServlet
property not in GDS
resolve value: javax.servlet.GenericServlet;javax.servlet.http.HttpServlet
resolve property: GX.versionable.if.implements GX_VERSIONABLE_IF_IMPLEMENTS
SYSTEM_JAVA javax.servlet.Servlet
property not in GDS
resolve value: javax.servlet.Servlet
class_dir 4 AppPath: /opt/iplanet/ias6/ias/APPS/compiled_jsp
loading component...{7ee76a00-a999-11d1-a16f-006097594151}
getting threadLocal obj
loading component...{91f29740-16e1-11cf-96c8-0020afed9a65}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.thread.ModuleThread
com.kivasoft.engine.EngineClassLoader: Class
com.kivasoft.thread.ModuleThread appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
com.kivasoft.thread.ModuleThread
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class
com.kivasoft.thread.ModuleThread loaded by primordial CL
registered module... com.kivasoft.IModuleThread
loading component...{91f29620-16e1-11cf-96c8-0020afed9a65}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderJ
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderJ
appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
com.kivasoft.bind.BinderJ
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderJ
loaded by primordial CL
loading component...{ed049d80-b936-1548-e481-080020721767}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.eb.EJBBinder
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EJBBinder
appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
com.kivasoft.eb.EJBBinder
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EJBBinder
loaded by primordial CL
EJBBinder: binder is GOOD..
EJBBinder: context set obj for IID_IGXEBBinder
loading component...{a84f0507-a912-11cf-aa6c-524153480000}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.gds.GDSModule
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.gds.GDSModule
appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
com.kivasoft.gds.GDSModule
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.gds.GDSModule
loaded by primordial CL
registered module... com.kivasoft.IGDSModule
loading component...{c70f2c00-abeb-11d0-b4e5-00a024e006be}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderBase
appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderBase
loaded by primordial CL
loading component...{c70f2d00-abeb-11d0-b4e5-00a024e006be}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
PCL cache
loading component...{c70f1a00-abeb-11d0-b4e5-00a024e006be}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.principal.PrincipalModule
com.kivasoft.engine.EngineClassLoader: Class
com.kivasoft.principal.PrincipalModule appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
com.kivasoft.principal.PrincipalModule
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class
com.kivasoft.principal.PrincipalModule loaded by primordial CL
registered module... com.kivasoft.IPrincipalModule
loading component...{35069f7a-0a09-1406-8f1a-0800208055c0}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
PCL cache
loading component...{e7d37500-23bf-11d1-b6c2-0060082beecf}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
PCL cache
loading component...{e7d37540-23bf-11d1-b6c2-0060082beecf}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBase from
PCL cache
loading component...{be5cfde0-cd9e-11d1-94aa-0060083a5082}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.eb.EBModule
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EBModule
appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader to load
com.kivasoft.eb.EBModule
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EBModule loaded
by primordial CL
registered module... com.kivasoft.IEBModule
The current input file= testdb.xml
About to start xml -> descriptor conversion process
xmlToDescriptor- file name=testdb.xml
Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/application_1_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN to
uri= file://localhost/opt/iplanet/ias6/ias/APPS/application-client_1_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/web-app_2_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/web-jsptaglibrary_1_1.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN to
uri= file://localhost/opt/iplanet/ias6/ias/APPS/ejb-jar_1_1.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS J2EE Application Client
1.0//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASjava_client_jar_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Web Application 1.0//EN to
uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASWebApp_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans 1.0//EN
to uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASEjb_jar_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Persistence Manager 1.0//EN to
uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASPersistence_manager_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Datasource 1.0//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASDatasource_1_0.dtd
servlet name = testdb
!!! parseWebAppFromDOM() just put in setServlet name = testdb
Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/application_1_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application Client 1.2//EN to
uri= file://localhost/opt/iplanet/ias6/ias/APPS/application-client_1_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/web-app_2_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/web-jsptaglibrary_1_1.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN to
uri= file://localhost/opt/iplanet/ias6/ias/APPS/ejb-jar_1_1.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS J2EE Application Client
1.0//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASjava_client_jar_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Web Application 1.0//EN to
uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASWebApp_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans 1.0//EN
to uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASEjb_jar_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Persistence Manager 1.0//EN to
uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASPersistence_manager_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Datasource 1.0//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASDatasource_1_0.dtd
!!! handleIASServlet(): Get servlet name= testdb
AppComponentDescriptor: com.netscape.server.deployment.WebAppDescriptor
All EnvEntries name:
All Ejb-refs:
All Resource-refs:
WebApp package name = testdb
Enter setupPluginInfoInGDS()
creating ServletPatternTrans entry, url= /testdb
webapp ContextRoot= null
Enter getAllServlets,registeredServletNames.size= 0
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
Enter getAllServlets,registeredServletNames.size= 0
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
Enter getAllServlets,registeredServletNames.size= 0
[01/Nov/2001 16:00:04:5] info: GDS-007: finished a registry load
--- now put Web-app component descrptor into GDS
webAppName = testdb
Enter getAllServlets,registeredServletNames.size= 0
Enter getAllServlets,registeredServletNames.size= 0
getClassDefGDSKeyByGuid: name to match=
{eea893d3-d646-4f8e-8c6d-6f92a8563c46}
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
getServletGDSKeyByGuid: return key: com.kivasoft.gds.GDSKey@540408
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
getClassImpGDSKeyByGuid: name to match=
{eea893d3-d646-4f8e-8c6d-6f92a8563c46}
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
Now do some verification step and regenrate the web-app.xml.out file from
GDS data
getWebAppGDSKeyByPackageName: name to match= testdb
got key to webapp= testdb
enter WebAppCompGDSUtil.getDescriptorFromGDSByKey()
About to process the <servlet-mapping> element
GDSvalue name= /System/StaticServlet
GDSvalue val= StaticServlet
GDSvalue name= /System/JSPRunnerSticky
GDSvalue val= JSPRunnerSticky
GDSvalue name= /System/JSPRunner
GDSvalue val= JSPRunner
GDSvalue name= /System/FormAuthServlet
GDSvalue val= FormAuthServlet
GDSvalue name= /System/BasicAuthServlet
GDSvalue val= BasicAuthServlet
GDSvalue name= /System/CertAuthServlet
GDSvalue val= CertAuthServlet
GDSvalue name= /System/SessionInvalidator
GDSvalue val= SessionInvalidator
GDSvalue name= /fortune/fortune
GDSvalue val= FortuneServlet
GDSvalue name= /web/StaticServlet
GDSvalue val= StaticServlet
GDSvalue name= /web/JSPRunnerSticky
GDSvalue val= JSPRunnerSticky
GDSvalue name= /web/JSPRunner
GDSvalue val= JSPRunner
GDSvalue name= /web/FormAuthServlet
GDSvalue val= FormAuthServlet
GDSvalue name= /web/BasicAuthServlet
GDSvalue val= BasicAuthServlet
GDSvalue name= /web/CertAuthServlet
GDSvalue val= CertAuthServlet
GDSvalue name= /web/SessionInvalidator
GDSvalue val= SessionInvalidator
GDSvalue name= /web/AdderAlias
GDSvalue val= AdderServlet
GDSvalue name= /testdb/testdb
GDSvalue val= testdb
getServletMappingFromGDS: url= /testdb, servlet= testdb
About to process the context-param
[01/Nov/2001 16:00:06:7] info: GDS-007: finished a registry load
About to process the mime-mapping
About to process the servlets
GDSvalue name= testdb
GDSvalue val= {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
GDSvalue name= testdb.jsp
GDSvalue val= {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
The returned hashtable for servlets have: 2 entries
About to process the servlet name= testdb.jsp
About to process the servlet name= testdb
About to process the tld
The returned vector for taglib have: 0 entries
Finished getting a wd from gd s!!!
Now ready to write out WebApp xml file
descriptorToXml: about to get all servlets
Enter getAllServlets,registeredServletNames.size= 2
DescriptorManager.getServletByGuidStr, ctx=
com.kivasoft.context.Context@6ee36c
Enter getServletFromGDS
getClassDefGDSKeyByGuid: name to match=
{eea893d3-d646-4f8e-8c6d-6f92a8563c46}
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
getServletGDSKeyByGuid: return key: com.kivasoft.gds.GDSKey@76c74b
load-on-startup value from GDS= 0
number-of-singles value from GDS= 10
DescriptorManager.getServletByGuidStr, ctx=
com.kivasoft.context.Context@6ee36c
write Xml to output file: web.xml.out
Finished writing out j2ee xml file
Enter getAllServlets,registeredServletNames.size= 2
write Xml to output file: ias-web.xml.out
Finished writing out IAS xml file
Extracting JSPs from testdb.xml to /opt/iplanet/ias6/ias/APPS/
Processing input WAR 1
Processing input WARi 21 testdb.xml
Encountered exception java.util.zip.ZipException processing input file testd -
Got a problem with my Chatting-Room program, please help me if you can.
There is one bug in the code (should be just one), but I couldn't find it, I even recoded the whole thing, after I recoded the code, the same problem seems still there. I just can't find where the problem is. So I hope someone here can help me, thank you very much.
First, I made a Server and a Client. Server has 5 classes, and Client has 2 classes. My intention is that all the clients(running on other computers) will connect to the server (which is my laptop), and then they can communicate with each other. For example, if person A typed "Hello", person B and person C's computers will receive this message and display it.
The problem is that several clients can connect to the server (My laptop), but if one person type something, other people won't receive the message, it's blank on their screens. Maybe there is a problem when server receiving the message. So this is the problem I want to solve.
I have the code down there, here is a brife description what each class mainly does.
First class of Server is for connecting client, this class is named Server. Everytime a client is connected, the Server class calls the second class to store the client's information (which is its IP address), the second class is named People.
Third class is named Receiver, it is for receiving the massage from any one of the clients, then stores the message to a static field variable in Fourth class, fourth class is named Saying.
Fifth class of Server is named Sender, it is for sending the massage to the client, that message is the one that stored in Saying.
The First class of client is named Client, it prints any message that the server send to it.
The Second class of client is named SendFromClient, it wait for user to type something, and then send the message to the server, so server's Receiver class hopefully will get it and store it to the field variable in the Saying class.
Here is all the codes:
Server Class:
import java.net.*;
import java.io.*;
import java.util.*;
public class Server
public static void main(String[] args)
/*port number*/
final int port = 41333;
/*welcome messages:*/
System.out.println("This is FriendlyJ 1.0 running");
System.out.println("Listening on ports 41333");
try
/*Clear the ArrayList*/
People clear = new People();
clear.IPs.clear();
/*Create a server socket that will accept any connection on this port*/
ServerSocket ss = new ServerSocket(port);
/*keep getting clients*/
while(true)
/*connect with one client at a time*/
Socket s = ss.accept();
PrintWriter out = new PrintWriter(s.getOutputStream(),true);
Scanner in = new Scanner(s.getInputStream());
/*indicate one establish of connection*/
System.out.println("One connection estabolished!");
/*two classes, one foe receiving, one for sending*/
Receiver receive = new Receiver(in);
Thread ty = new Thread(receive);
Sender send = new Sender(out, s);
Thread yt = new Thread(send);
ty.start();
yt.start();
/*add IP to ArrayList*/
clear.storing(s.getInetAddress().toString());
out.println("There are " + clear.IPs.size() + " people online;");
System.out.println("Connected to " + s.getInetAddress().toString());
catch (Exception e)
System.out.println("System exception");
}People Class:
import java.util.*;
public class People
ArrayList<String> IPs = new ArrayList<String>();
/*A method for storing IPs*/
public void storing(String IP)
IPs.add(IP);
}Receiver Class:
import java.util.*;
public class Receiver implements Runnable
final private Scanner in;
/*Constructor to get the scanner*/
public Receiver(Scanner abc)
in = abc;
public void run()
Saying say = new Saying();
try
while(true)
/*waiting for input from client, then give it to Saying*/
say.setSaying(in.nextLine());
catch (Exception e)
e.printStackTrace();
}Saying Class:
public class Saying
static String saying = "";
public void setSaying(String a)
saying = a;
public String getSaying()
return saying;
public void resetSaying()
saying = "";
public int getlength()
return saying.length();
}Sender Class:
import java.io.*;
import java.net.*;
public class Sender implements Runnable
final private PrintWriter out;
final private Socket s;
public Sender(PrintWriter abcd, Socket abcde)
out = abcd;
s = abcde;
public void run()
out.println("Feel free to chat.");
int count;
Saying says = new Saying();
try
while(!s.isClosed())
count = says.getlength();
if(count>0)
out.println(says.getSaying());
says.resetSaying();
/*disconnect with the client*/
s.close();
System.out.println("Connection with " + s.getInetAddress().toString() + " is closed.");
catch (IOException e)
System.out.println("Network error!");
}Client Class:
import java.util.*;
import java.net.*;
import java.io.*;
public class Client
public static void main(String[] args)
Socket sc;
System.out.println("Welcome to FriendlyJ IM program");
System.out.println("Connecting to the server...");
int port = 41333;
/*A variable for storing IP address of Server*/
InetAddress ip;
try
ip = InetAddress.getByName("192.168.1.68");
sc = new Socket(ip, port);
System.out.println("Connected with Server");
Scanner in = new Scanner(sc.getInputStream());
PrintWriter out = new PrintWriter(sc.getOutputStream());
/*a thread for sending message to the server*/
sendFromClient sendin = new sendFromClient(out);
Thread sending = new Thread(sendin);
sending.start();
/*display welcome message*/
System.out.println(in.nextLine());
/*displaying how many people are online now*/
System.out.println(in.nextLine());
while(true)
/*print out the message sent by the server*/
System.out.println(in.nextLine());
catch(UnknownHostException e)
System.out.println("Couldn't find the host!");
catch(IOException e)
System.out.println("Network error!");
catch (Exception e)
e.printStackTrace();
}SendFromClient Class:
import java.io.*;
import java.util.*;
public class sendFromClient implements Runnable
private PrintWriter send;
public sendFromClient(PrintWriter sendto)
send = sendto;
public void run()
Scanner sc = new Scanner(System.in);
while(true)
/*get a message, then send to the server*/
send.println(sc.nextLine());
That's all, thank you for helping!
Edited by: stdioJ on Oct 31, 2007 3:58 PMHi pgeuens ,
I tried it ...but it didn't work for me.
I changed my .jsp like this
<%@ page language="java" %>
<%@ taglib uri="/tags/struts-html" prefix="html"%>
<html:form action="Registration.do">
UserName:<html:text property="username"/><br>
enter password:<htnl:password property="password1"/><br>
re-enter password:<html:password property="password2"/><br>
<html:submit value="Register"/>
</html:form>And i changed that web.xml like..
<taglib>
<taglib-uri>/tags/struts-html</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>Now I am getting an error like ......."File "/WEB-INF/struts-html.tld"not found.
Hi Ashish
I didn't find struts-form.tld in WEB-INF folder.But all the remaining file all there.
Again I downloaded that struts1.2.9 ...in that also i couldn't find struts-form.tld file(except this remaining are there).
Please tell me, if there any other ways....
Thanks,
kona. -
Error while loading program...Please help.. :)
Hello All,
Have written a HTMLB program (DBConnect.java) which takes data from database and retrieves it in TableView.
But it does not work.
Get this error:
Caused by: java.lang.NoClassDefFoundError: com/sapportals/portal/htmlb/page/PageProcessorComponent
Loader Info -
ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@1e72d6]
Parent loader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@9cf322]
References:
not registered!
No resources !
The error occurred while trying to load "com.sap.sample.database.DBConnect".
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:389)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal(PortalComponentItemFacade.java:228)
... 30 more
I have also included the PageProcessorComponent class file in my project properties.
Please help....Whatz wrong.
Awaiting Reply.
Thanks and Warm Regards,
Ritu R HunjanHi Ritu,
Change the PrivateSharingReference to SharingReference in the xml
<application-config>
<property name="SharingReference" value="com.sap.portal.htmlb"/>
</application-config>
==========
Change your xml to
<?xml version="1.0" encoding="utf-8"?>
<application>
<application-config>
<property name="SharingReference" value="com.sap.portal.htmlb"/>
</application-config>
<components>
<component name="DBConnect">
<component-config>
<property name="ClassName" value="com.sap.sample.database.DBConnect"/>
</component-config>
<component-profile>
<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld" />
</component-profile>
</component>
</components>
<services/>
</application> -
Pls help! Creating a new simple jsp iView...
Hi, I would like to create a totally new iView JSP project from scratch. I currently have NetWeaver and EP 6.0. This is what I have done so far on NetWeaver: <b>File > New > Project > Select Portal Application > click 'Next' > Type in Project name and root folder > click 'FINISH'</b>. Now, I think I have a project ready? I have some basic iView JSP code already. so now can someone provide me with detailed steps on what modifications and steps I need to make on my new project in order for my iView jsp to display on the EP 6.0? Any files like 'portalapp.xml' that I have to modify?
Thank you so much for your help,
Baggett.
What I know so far: I have looked at an example where I created one using an existing par. I know how to export .par file to EP 6.0, it's the steps before that I don't know. Thanks again.Hi, I think I found a little solution to my problem but now I have a new issue. I think I "solved" my problem by doing: <b>File > New > Project > Select Portal Application > click 'Next' > Type in Project name and root folder > click 'FINISH'. Now, I do:
File > New > Other > Portal Application > Create a new Portal Application Object > Select my Project > Portal Component/JSPDynPage (is this the 'easy' one to pick b/c it seems to update the portalapp.xml file, creates a jsp file (myFirstJSP.jsp) and bean for me) > I type in all the textfields for file name, package name, ... > click 'FINISH'. </b>
Is this a correct/good way of starting a JSP project(I don't really know what a JSPDynPage is)
Now I have a new issue. I open up myFirstJSP.jsp and NetWeaver highlights all the code (pasted below) in yellow and there is no error displayed:
<b><hbj:content id="myContext" >
<hbj:page title="PageTitle">
<hbj:form id="myFormId" >
</hbj:form>
</hbj:page>
</hbj:content></b>
So I try to paste this line into myFirstJSP.jsp: <b><%@ taglib uri="tagLib" prefix="hbj" %></b>and also paste this line onto portalapp.xml:
<b><component-profile>
<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
</component-profile> </b>
Now, I get an error saying: <b>"JSP Parsing Error:File "/dist/PORTAL_INF/pagelet/tagLib" not found"</b>
Why is this? How can I fix it?
Thanks so much,
Baggett. -
Help: 'JBO-26080: Error while selecting entity object' on RefreshDataSource
Hi all,
The Problem:
My page throws out a JBO-26080 error on the RefreshDataSource Tag. This only happens the second time it needs to be refreshed, i.e. the second time the form is submitted to processRequest.jsp (see Background Info below). In my testing I have found that it is definately the RefreshDataSource tag.
Any help will be much appreciated.
Background Info:
I have 2 JSP's, 1 (report.jsp) that displays a table and 1 (processReport.jsp) that runs a stored procedure, implemented as a method in the Application Module, to select data for the table.
The method in the application module:
public void doCurrencyCalc()
CallableStatement st=null;
try // 1
String stmt = "BEGIN CONVERT_MONEY(?,?,?,?,?,?,?,?);END;";
int nParam = 3;
System.out.println("** SQL = " + stmt);
DBTransaction tr = getDBTransaction();
st=tr.createCallableStatement(stmt,DBTransaction.DEFAULT);
st.setString(1, getWB());
System.out.println(" > WB = " + getWB());
st.setLong(2, getKpi());
System.out.println(" > Kpi = " + getKpi());
for(int i=0; i<6; i++)
if(getWbSel(i+1)) st.setString(nParam,String.valueOf(getWbNo(i+1)));
else st.setString(nParam,null);
nParam++;
} // for i
st.executeUpdate();
System.out.println("** Calculation Complete");
} // try 1
catch(SQLException s)
throw new JboException(s);
} // catch SqlException
finally
try{if(st!=null)st.close();}
catch(SQLException s){ }
} // finally
} // end doCurrencyCalc
The processReport jsp:
<%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ page import="za.org.saawu.ibs.bc4j.common.IBSbc4jModule"%>
<jbo:ApplicationModule id="IBSbc4jModule" configname="za.org.saawu.ibs.bc4j.IBSbc4jModule.IBSbc4jModuleLocal" releasemode="Stateful" /><%
IBSbc4jModule app = (IBSbc4jModule)IBSbc4jModule.useApplicationModule(true);
String strDisplay = new String(request.getParameter("btnDisplay").toString());
if(request.getParameter("KPIGroup")!="-1") {
app.setKpiGroup(new Long(request.getParameter("KPIGroup")).longValue());
if(request.getParameter("Kpi")!="-1") app.setKpi(new Long(request.getParameter("Kpi")).longValue());
else app.setKpi(0l);
String strParams[] = request.getParameterValues("wbsel");
app.resetWBSel();
if(strParams.length>0) {
for(int nCount=0; nCount<strParams.length; nCount++) {
int nWBNo = app.findWB(strParams[nCount]);
if(nWBNo>-1) app.setWBSel(nWBNo+1,true);
} // for
app.doCurrencyCalc();
} else {
session.setAttribute("info","NO_WBSEL");
} // if strParams length is 0
if(strDisplay.compareToIgnoreCase("TABLE")==0) {
session.setAttribute("info","REFRESH_TABLE");
} else if(strDisplay.compareToIgnoreCase("GRAPH")==0){
session.setAttribute("info","REFRESH_GRAPH");
} // if the request btnDisplay is TABLE
} else {
session.setAttribute("info","NO_KPIGROUP");
} // if the KPIGroup was selected
%>
<jbo:DataSource id="srcOutput" appid="IBSbc4jModule" viewobject="OutputView" />
<jbo:RefreshDataSource datasource="srcOutput" />
<jsp:forward page="report.jsp" />
<jbo:ReleasePageResources />
The report jsp is a form that has some input selections and the DataTable tagMichael:
'JBO-26080' means that something was wrong with the SQL statement issued to get the data for an entity object.
You need the detail exception stack trace to see what went wrong at the JDBC level. Take a look to see if the exception reported on your browser has detail exception info on it.
If not, you should run your middle tier app with diagnostic turned on. This will output lots of diag info on console and you should get the detail exception in it. Please take a look at the detail exception. If you can't make sense out of the exception, post it to this thread.
To turn on diagnostic, you need to specify
-Djbo.debugoutput=console
as one of the JVM switches.
If you're invoking your app (middle-tier app) from command line,
include -Djbo.debugoutput=console as in
java.exe -Djbo.debugoutput=console ...
If you're running your app from within JDev:
1. Select the project.
2. Do right mouse click and select "Project Settings..."
3. On the Settings dialog, select Configurations/Runner.
4. In the righthand side pane, you should see a textbox for "Java
Options". Please add the following JVM switch:
-Djbo.debugoutput=console
Then, rerun. The run command should include
-Djbo.debugoutput=console as in
"D:\JDev9i\jdk\bin\javaw.exe" -Djbo.debugoutput=console -classpath ...
Thanks.
Sung -
Re: help: can not regist application in HP-UX 11.0
Hi,
this the test.xml and ias-test.xml:
test.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application
2.2//EN' 'http://java.sun.com/j2ee/dtds/web-app_2_2.dtd'>
<web-app>
<distributable></distributable>
<servlet>
<servlet-name>testjsp</servlet-name>
<jsp-file>testjsp.jsp</jsp-file>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>testjsp</servlet-name>
<url-pattern>/testjsp</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>1800</session-timeout>
</session-config>
<login-config>
<realm-name></realm-name>
<form-login-config>
<form-login-page></form-login-page>
<form-error-page></form-error-page>
</form-login-config>
</login-config>
</web-app>
ias-test.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ias-web-app PUBLIC '-//Sun Microsystems, Inc.//DTD iAS Web
Application 1.0//EN'
'http://developer.iplanet.com/appserver/dtds/IASWebApp_1_0.dtd'>
<ias-web-app>
<servlet>
<servlet-name>testjsp</servlet-name>
<guid>{722828a9-b9f6-4c55-8ec3-a315ebc2d551}</guid>
<validation-required>false</validation-required>
<servlet-info>
<sticky>false</sticky>
<encrypt>false</encrypt>
<number-of-singles>10</number-of-singles>
<disable-reload>false</disable-reload>
</servlet-info>
</servlet>
</ias-web-app>
thanks
Lu yanqiang
"Raj" <[email protected]> wrote in message
news:[email protected]...
Hi,
The problem I anticipate is Windows 2000 has app server SP3 and youare
trying to deploy the same app logic to HP Unix which is having app serverSP1.
So this could be problem, that's precisely the reason why I would like tolook
into the coding.
Regards
Raj
lu yanqiang wrote:
Hi, thanks for you help:
I'm sure that my application and the xml file is right,because I runit
in
Windows OK, but when I wang to register it in HP-UX 11.0, I use the
command "webappreg test.xml" to regist my application, this commandresponse
me these error messages:
HotSpot VM warning: Setting of property "java.compiler" is ignored
creating engine class space...
loading jx2util...
loading jx2util...done
Connected to LDAP server on websvr.sh-catcher.com port 389
com.kivasoft.engine.EngineClassLoaderNonVersionable: EngineClassLoader
constructer called
com.kivasoft.engine.EngineClassLoaderNonVersionable: ! NVCL CREATED at:
com.kivasoft.engine.EngineClassLoaderNonVersionable@1fbe93
ECS initializing engine class loader instance.
com.kivasoft.engine.EngineClassLoader: EngineClassLoader constructercalled
initGDSKey: GDSKey_Base
initGDSKey- just put : com.kivasoft.IGDSKey_Base
key=com.kivasoft.gds.GDSKey@41cd1f
initGDSKey: GDSKey_Root
initGDSKey- just put : com.kivasoft.IGDSKey_Root
key=com.kivasoft.gds.GDSKey@31f71a
initGDSKey: GDSKey_Current
initGDSKey- just put : com.kivasoft.IGDSKey_Current
key=com.kivasoft.gds.GDSKey@5601ea
initGDSKey: GDSKey_CurrentEngine
initGDSKey- just put : com.kivasoft.IGDSKey_CurrentEngine
key=com.kivasoft.gds.GDSKey@17d257
context= com.kivasoft.context.Context@6ee36c
resolve property: GX.path.class GX_CLASSPATH SYSTEM_JAVA null
resolve value: /opt/iplanet/ias6/ias/APPS
resolve property: GX.path.class.core GX_CLASSPATH_CORE SYSTEM_JAVA
java.;com.kivasoft.;gx.
resolve value:
java.;com.kivasoft.;gx.;com.netscape.;javax.;netscape.ldap.;netscape.tooluti
l.
resolve property: GX.versionable GX_VERSIONABLE SYSTEM_JAVA
com.kivasoft.engine.IVersionable
property not in GDS
resolve value: com.kivasoft.engine.IVersionable
resolve property: GX.all.versionable GX_ALL_VERSIONABLE SYSTEM_JAVA 0
property not in GDS
resolve value: 0
resolve property: GX.taskmanager.period GX_TASKMANAGER_PERIODSYSTEM_JAVA 10
property not in GDS
resolve value: 10
resolve property: GX.versionable.if.extends GX_VERSIONABLE_IF_EXTENDS
SYSTEM_JAVA javax.servlet.GenericServlet;javax.servlet.http.HttpServlet
property not in GDS
resolve value:javax.servlet.GenericServlet;javax.servlet.http.HttpServlet
resolve property: GX.versionable.if.implementsGX_VERSIONABLE_IF_IMPLEMENTS
SYSTEM_JAVA javax.servlet.Servlet
property not in GDS
resolve value: javax.servlet.Servlet
class_dir 4 AppPath: /opt/iplanet/ias6/ias/APPS/compiled_jsp
loading component...{7ee76a00-a999-11d1-a16f-006097594151}
getting threadLocal obj
loading component...{91f29740-16e1-11cf-96c8-0020afed9a65}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.thread.ModuleThread
com.kivasoft.engine.EngineClassLoader: Class
com.kivasoft.thread.ModuleThread appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
com.kivasoft.thread.ModuleThread
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class
com.kivasoft.thread.ModuleThread loaded by primordial CL
registered module... com.kivasoft.IModuleThread
loading component...{91f29620-16e1-11cf-96c8-0020afed9a65}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderJ
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderJ
appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
com.kivasoft.bind.BinderJ
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderJ
loaded by primordial CL
loading component...{ed049d80-b936-1548-e481-080020721767}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.eb.EJBBinder
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EJBBinder
appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
com.kivasoft.eb.EJBBinder
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EJBBinder
loaded by primordial CL
EJBBinder: binder is GOOD..
EJBBinder: context set obj for IID_IGXEBBinder
loading component...{a84f0507-a912-11cf-aa6c-524153480000}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.gds.GDSModule
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.gds.GDSModule
appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
com.kivasoft.gds.GDSModule
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.gds.GDSModule
loaded by primordial CL
registered module... com.kivasoft.IGDSModule
loading component...{c70f2c00-abeb-11d0-b4e5-00a024e006be}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Classcom.kivasoft.bind.BinderBase
appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Classcom.kivasoft.bind.BinderBase
loaded by primordial CL
loading component...{c70f2d00-abeb-11d0-b4e5-00a024e006be}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBasefrom
PCL cache
loading component...{c70f1a00-abeb-11d0-b4e5-00a024e006be}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.principal.PrincipalModule
com.kivasoft.engine.EngineClassLoader: Class
com.kivasoft.principal.PrincipalModule appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
com.kivasoft.principal.PrincipalModule
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class
com.kivasoft.principal.PrincipalModule loaded by primordial CL
registered module... com.kivasoft.IPrincipalModule
loading component...{35069f7a-0a09-1406-8f1a-0800208055c0}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBasefrom
PCL cache
loading component...{e7d37500-23bf-11d1-b6c2-0060082beecf}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBasefrom
PCL cache
loading component...{e7d37540-23bf-11d1-b6c2-0060082beecf}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBasefrom
PCL cache
loading component...{be5cfde0-cd9e-11d1-94aa-0060083a5082}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.eb.EBModule
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EBModule
appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
com.kivasoft.eb.EBModule
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EBModuleloaded
by primordial CL
registered module... com.kivasoft.IEBModule
The current input file= testdb.xml
About to start xml -> descriptor conversion process
xmlToDescriptor- file name=testdb.xml
Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN touri=
file://localhost/opt/iplanet/ias6/ias/APPS/application_1_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application Client1.2//EN to
uri=file://localhost/opt/iplanet/ias6/ias/APPS/application-client_1_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN touri=
file://localhost/opt/iplanet/ias6/ias/APPS/web-app_2_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN touri=
file://localhost/opt/iplanet/ias6/ias/APPS/web-jsptaglibrary_1_1.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//ENto
uri= file://localhost/opt/iplanet/ias6/ias/APPS/ejb-jar_1_1.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS J2EE Application Client
1.0//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASjava_client_jar_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Web Application 1.0//EN to
uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASWebApp_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans1.0//EN
to uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASEjb_jar_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Persistence Manager1.0//EN to
uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASPersistence_manager_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Datasource 1.0//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASDatasource_1_0.dtd
servlet name = testdb
!!! parseWebAppFromDOM() just put in setServlet name = testdb
Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN touri=
file://localhost/opt/iplanet/ias6/ias/APPS/application_1_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application Client1.2//EN to
uri=file://localhost/opt/iplanet/ias6/ias/APPS/application-client_1_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN touri=
file://localhost/opt/iplanet/ias6/ias/APPS/web-app_2_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN touri=
file://localhost/opt/iplanet/ias6/ias/APPS/web-jsptaglibrary_1_1.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//ENto
uri= file://localhost/opt/iplanet/ias6/ias/APPS/ejb-jar_1_1.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS J2EE Application Client
1.0//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASjava_client_jar_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Web Application 1.0//EN to
uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASWebApp_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans1.0//EN
to uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASEjb_jar_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Persistence Manager1.0//EN to
uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASPersistence_manager_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Datasource 1.0//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASDatasource_1_0.dtd
!!! handleIASServlet(): Get servlet name= testdb
AppComponentDescriptor: com.netscape.server.deployment.WebAppDescriptor
All EnvEntries name:
All Ejb-refs:
All Resource-refs:
WebApp package name = testdb
Enter setupPluginInfoInGDS()
creating ServletPatternTrans entry, url= /testdb
webapp ContextRoot= null
Enter getAllServlets,registeredServletNames.size= 0
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
Enter getAllServlets,registeredServletNames.size= 0
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
Enter getAllServlets,registeredServletNames.size= 0
[01/Nov/2001 16:00:04:5] info: GDS-007: finished a registry load
--- now put Web-app component descrptor into GDS
webAppName = testdb
Enter getAllServlets,registeredServletNames.size= 0
Enter getAllServlets,registeredServletNames.size= 0
getClassDefGDSKeyByGuid: name to match=
{eea893d3-d646-4f8e-8c6d-6f92a8563c46}
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
getServletGDSKeyByGuid: return key: com.kivasoft.gds.GDSKey@540408
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
getClassImpGDSKeyByGuid: name to match=
{eea893d3-d646-4f8e-8c6d-6f92a8563c46}
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
Now do some verification step and regenrate the web-app.xml.out filefrom
GDS data
getWebAppGDSKeyByPackageName: name to match= testdb
got key to webapp= testdb
enter WebAppCompGDSUtil.getDescriptorFromGDSByKey()
About to process the <servlet-mapping> element
GDSvalue name= /System/StaticServlet
GDSvalue val= StaticServlet
GDSvalue name= /System/JSPRunnerSticky
GDSvalue val= JSPRunnerSticky
GDSvalue name= /System/JSPRunner
GDSvalue val= JSPRunner
GDSvalue name= /System/FormAuthServlet
GDSvalue val= FormAuthServlet
GDSvalue name= /System/BasicAuthServlet
GDSvalue val= BasicAuthServlet
GDSvalue name= /System/CertAuthServlet
GDSvalue val= CertAuthServlet
GDSvalue name= /System/SessionInvalidator
GDSvalue val= SessionInvalidator
GDSvalue name= /fortune/fortune
GDSvalue val= FortuneServlet
GDSvalue name= /web/StaticServlet
GDSvalue val= StaticServlet
GDSvalue name= /web/JSPRunnerSticky
GDSvalue val= JSPRunnerSticky
GDSvalue name= /web/JSPRunner
GDSvalue val= JSPRunner
GDSvalue name= /web/FormAuthServlet
GDSvalue val= FormAuthServlet
GDSvalue name= /web/BasicAuthServlet
GDSvalue val= BasicAuthServlet
GDSvalue name= /web/CertAuthServlet
GDSvalue val= CertAuthServlet
GDSvalue name= /web/SessionInvalidator
GDSvalue val= SessionInvalidator
GDSvalue name= /web/AdderAlias
GDSvalue val= AdderServlet
GDSvalue name= /testdb/testdb
GDSvalue val= testdb
getServletMappingFromGDS: url= /testdb, servlet= testdb
About to process the context-param
[01/Nov/2001 16:00:06:7] info: GDS-007: finished a registry load
About to process the mime-mapping
About to process the servlets
GDSvalue name= testdb
GDSvalue val= {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
GDSvalue name= testdb.jsp
GDSvalue val= {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
The returned hashtable for servlets have: 2 entries
About to process the servlet name= testdb.jsp
About to process the servlet name= testdb
About to process the tld
The returned vector for taglib have: 0 entries
Finished getting a wd from gd s!!!
Now ready to write out WebApp xml file
descriptorToXml: about to get all servlets
Enter getAllServlets,registeredServletNames.size= 2
DescriptorManager.getServletByGuidStr, ctx=
com.kivasoft.context.Context@6ee36c
Enter getServletFromGDS
getClassDefGDSKeyByGuid: name to match=
{eea893d3-d646-4f8e-8c6d-6f92a8563c46}
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
getServletGDSKeyByGuid: return key: com.kivasoft.gds.GDSKey@76c74b
load-on-startup value from GDS= 0
number-of-singles value from GDS= 10
DescriptorManager.getServletByGuidStr, ctx=
com.kivasoft.context.Context@6ee36c
write Xml to output file: web.xml.out
Finished writing out j2ee xml file
Enter getAllServlets,registeredServletNames.size= 2
write Xml to output file: ias-web.xml.out
Finished writing out IAS xml file
Extracting JSPs from testdb.xml to /opt/iplanet/ias6/ias/APPS/
Processing input WAR 1
Processing input WARi 21 testdb.xml
Encountered exception java.util.zip.ZipException processing input file
testdb.xml
<[email protected]> wrote in message
news:[email protected]...
Hi,
At what stage did this error shoot up ? Is it possible for you to
send
the
application for me to check ?
Regards
Raj
lu yanqiang wrote:
Hi,
I use the iAS 6.0SP1 in HP-UX and I use command to regist
application,
this error message is response by "webappreg", i use webappreg to
regist
my
application,and i registed it success in windows.
thanks
Lu yanqiang
"Raj" <[email protected]> wrote in message
news:[email protected]...
Hi,
What is the version of app server on HP UX ? How did you
deploy on
the
app
server in HP UX using command line deployment or GUI tool ? Where
are
these
errors shooting from, are these coming at the time of deployment
or
thrown
at
runtime ? What is the application type that you are trying to
deploy
?, if
possible send me the kxs and kjs log files please.
Regards
Raj
lu yanqiang wrote:
My application work fine in iAS SP3 for Win2000, but when I
deployed
it
to
HP-UX 11.0, It can not regist the application in HP-UX.
can any onr help me, thanks
Lu yanqiangHi,
this the test.xml and ias-test.xml:
test.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application
2.2//EN' 'http://java.sun.com/j2ee/dtds/web-app_2_2.dtd'>
<web-app>
<distributable></distributable>
<servlet>
<servlet-name>testjsp</servlet-name>
<jsp-file>testjsp.jsp</jsp-file>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>testjsp</servlet-name>
<url-pattern>/testjsp</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>1800</session-timeout>
</session-config>
<login-config>
<realm-name></realm-name>
<form-login-config>
<form-login-page></form-login-page>
<form-error-page></form-error-page>
</form-login-config>
</login-config>
</web-app>
ias-test.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ias-web-app PUBLIC '-//Sun Microsystems, Inc.//DTD iAS Web
Application 1.0//EN'
'http://developer.iplanet.com/appserver/dtds/IASWebApp_1_0.dtd'>
<ias-web-app>
<servlet>
<servlet-name>testjsp</servlet-name>
<guid>{722828a9-b9f6-4c55-8ec3-a315ebc2d551}</guid>
<validation-required>false</validation-required>
<servlet-info>
<sticky>false</sticky>
<encrypt>false</encrypt>
<number-of-singles>10</number-of-singles>
<disable-reload>false</disable-reload>
</servlet-info>
</servlet>
</ias-web-app>
thanks
Lu yanqiang
"Raj" <[email protected]> wrote in message
news:[email protected]...
Hi,
The problem I anticipate is Windows 2000 has app server SP3 and youare
trying to deploy the same app logic to HP Unix which is having app serverSP1.
So this could be problem, that's precisely the reason why I would like tolook
into the coding.
Regards
Raj
lu yanqiang wrote:
Hi, thanks for you help:
I'm sure that my application and the xml file is right,because I runit
in
Windows OK, but when I wang to register it in HP-UX 11.0, I use the
command "webappreg test.xml" to regist my application, this commandresponse
me these error messages:
HotSpot VM warning: Setting of property "java.compiler" is ignored
creating engine class space...
loading jx2util...
loading jx2util...done
Connected to LDAP server on websvr.sh-catcher.com port 389
com.kivasoft.engine.EngineClassLoaderNonVersionable: EngineClassLoader
constructer called
com.kivasoft.engine.EngineClassLoaderNonVersionable: ! NVCL CREATED at:
com.kivasoft.engine.EngineClassLoaderNonVersionable@1fbe93
ECS initializing engine class loader instance.
com.kivasoft.engine.EngineClassLoader: EngineClassLoader constructercalled
initGDSKey: GDSKey_Base
initGDSKey- just put : com.kivasoft.IGDSKey_Base
key=com.kivasoft.gds.GDSKey@41cd1f
initGDSKey: GDSKey_Root
initGDSKey- just put : com.kivasoft.IGDSKey_Root
key=com.kivasoft.gds.GDSKey@31f71a
initGDSKey: GDSKey_Current
initGDSKey- just put : com.kivasoft.IGDSKey_Current
key=com.kivasoft.gds.GDSKey@5601ea
initGDSKey: GDSKey_CurrentEngine
initGDSKey- just put : com.kivasoft.IGDSKey_CurrentEngine
key=com.kivasoft.gds.GDSKey@17d257
context= com.kivasoft.context.Context@6ee36c
resolve property: GX.path.class GX_CLASSPATH SYSTEM_JAVA null
resolve value: /opt/iplanet/ias6/ias/APPS
resolve property: GX.path.class.core GX_CLASSPATH_CORE SYSTEM_JAVA
java.;com.kivasoft.;gx.
resolve value:
java.;com.kivasoft.;gx.;com.netscape.;javax.;netscape.ldap.;netscape.tooluti
l.
resolve property: GX.versionable GX_VERSIONABLE SYSTEM_JAVA
com.kivasoft.engine.IVersionable
property not in GDS
resolve value: com.kivasoft.engine.IVersionable
resolve property: GX.all.versionable GX_ALL_VERSIONABLE SYSTEM_JAVA 0
property not in GDS
resolve value: 0
resolve property: GX.taskmanager.period GX_TASKMANAGER_PERIODSYSTEM_JAVA 10
property not in GDS
resolve value: 10
resolve property: GX.versionable.if.extends GX_VERSIONABLE_IF_EXTENDS
SYSTEM_JAVA javax.servlet.GenericServlet;javax.servlet.http.HttpServlet
property not in GDS
resolve value:javax.servlet.GenericServlet;javax.servlet.http.HttpServlet
resolve property: GX.versionable.if.implementsGX_VERSIONABLE_IF_IMPLEMENTS
SYSTEM_JAVA javax.servlet.Servlet
property not in GDS
resolve value: javax.servlet.Servlet
class_dir 4 AppPath: /opt/iplanet/ias6/ias/APPS/compiled_jsp
loading component...{7ee76a00-a999-11d1-a16f-006097594151}
getting threadLocal obj
loading component...{91f29740-16e1-11cf-96c8-0020afed9a65}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.thread.ModuleThread
com.kivasoft.engine.EngineClassLoader: Class
com.kivasoft.thread.ModuleThread appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
com.kivasoft.thread.ModuleThread
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class
com.kivasoft.thread.ModuleThread loaded by primordial CL
registered module... com.kivasoft.IModuleThread
loading component...{91f29620-16e1-11cf-96c8-0020afed9a65}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderJ
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderJ
appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
com.kivasoft.bind.BinderJ
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.bind.BinderJ
loaded by primordial CL
loading component...{ed049d80-b936-1548-e481-080020721767}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.eb.EJBBinder
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EJBBinder
appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
com.kivasoft.eb.EJBBinder
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EJBBinder
loaded by primordial CL
EJBBinder: binder is GOOD..
EJBBinder: context set obj for IID_IGXEBBinder
loading component...{a84f0507-a912-11cf-aa6c-524153480000}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.gds.GDSModule
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.gds.GDSModule
appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
com.kivasoft.gds.GDSModule
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.gds.GDSModule
loaded by primordial CL
registered module... com.kivasoft.IGDSModule
loading component...{c70f2c00-abeb-11d0-b4e5-00a024e006be}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Classcom.kivasoft.bind.BinderBase
appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Classcom.kivasoft.bind.BinderBase
loaded by primordial CL
loading component...{c70f2d00-abeb-11d0-b4e5-00a024e006be}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBasefrom
PCL cache
loading component...{c70f1a00-abeb-11d0-b4e5-00a024e006be}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.principal.PrincipalModule
com.kivasoft.engine.EngineClassLoader: Class
com.kivasoft.principal.PrincipalModule appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
com.kivasoft.principal.PrincipalModule
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class
com.kivasoft.principal.PrincipalModule loaded by primordial CL
registered module... com.kivasoft.IPrincipalModule
loading component...{35069f7a-0a09-1406-8f1a-0800208055c0}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBasefrom
PCL cache
loading component...{e7d37500-23bf-11d1-b6c2-0060082beecf}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBasefrom
PCL cache
loading component...{e7d37540-23bf-11d1-b6c2-0060082beecf}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.bind.BinderBase
com.kivasoft.engine.EngineClassLoader: Got com.kivasoft.bind.BinderBasefrom
PCL cache
loading component...{be5cfde0-cd9e-11d1-94aa-0060083a5082}
getting threadLocal obj
com.kivasoft.engine.EngineClassLoader: Enter ECL loadClass:
com.kivasoft.eb.EBModule
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EBModule
appears to be a core class
com.kivasoft.engine.EngineClassLoader: Using primordial classloader toload
com.kivasoft.eb.EBModule
com.kivasoft.engine.EngineClassLoader: Entering
loadClass_primordial(className)
com.kivasoft.engine.EngineClassLoader: Class com.kivasoft.eb.EBModuleloaded
by primordial CL
registered module... com.kivasoft.IEBModule
The current input file= testdb.xml
About to start xml -> descriptor conversion process
xmlToDescriptor- file name=testdb.xml
Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN touri=
file://localhost/opt/iplanet/ias6/ias/APPS/application_1_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application Client1.2//EN to
uri=file://localhost/opt/iplanet/ias6/ias/APPS/application-client_1_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN touri=
file://localhost/opt/iplanet/ias6/ias/APPS/web-app_2_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN touri=
file://localhost/opt/iplanet/ias6/ias/APPS/web-jsptaglibrary_1_1.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//ENto
uri= file://localhost/opt/iplanet/ias6/ias/APPS/ejb-jar_1_1.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS J2EE Application Client
1.0//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASjava_client_jar_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Web Application 1.0//EN to
uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASWebApp_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans1.0//EN
to uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASEjb_jar_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Persistence Manager1.0//EN to
uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASPersistence_manager_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Datasource 1.0//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASDatasource_1_0.dtd
servlet name = testdb
!!! parseWebAppFromDOM() just put in setServlet name = testdb
Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN touri=
file://localhost/opt/iplanet/ias6/ias/APPS/application_1_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD J2EE Application Client1.2//EN to
uri=file://localhost/opt/iplanet/ias6/ias/APPS/application-client_1_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN touri=
file://localhost/opt/iplanet/ias6/ias/APPS/web-app_2_2.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN touri=
file://localhost/opt/iplanet/ias6/ias/APPS/web-jsptaglibrary_1_1.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//ENto
uri= file://localhost/opt/iplanet/ias6/ias/APPS/ejb-jar_1_1.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS J2EE Application Client
1.0//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASjava_client_jar_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Web Application 1.0//EN to
uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASWebApp_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans1.0//EN
to uri= file://localhost/opt/iplanet/ias6/ias/APPS/IASEjb_jar_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Persistence Manager1.0//EN to
uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASPersistence_manager_1_0.dtd
Set PubId= -//Sun Microsystems, Inc.//DTD iAS Datasource 1.0//EN to uri=
file://localhost/opt/iplanet/ias6/ias/APPS/IASDatasource_1_0.dtd
!!! handleIASServlet(): Get servlet name= testdb
AppComponentDescriptor: com.netscape.server.deployment.WebAppDescriptor
All EnvEntries name:
All Ejb-refs:
All Resource-refs:
WebApp package name = testdb
Enter setupPluginInfoInGDS()
creating ServletPatternTrans entry, url= /testdb
webapp ContextRoot= null
Enter getAllServlets,registeredServletNames.size= 0
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
Enter getAllServlets,registeredServletNames.size= 0
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
Enter getAllServlets,registeredServletNames.size= 0
[01/Nov/2001 16:00:04:5] info: GDS-007: finished a registry load
--- now put Web-app component descrptor into GDS
webAppName = testdb
Enter getAllServlets,registeredServletNames.size= 0
Enter getAllServlets,registeredServletNames.size= 0
getClassDefGDSKeyByGuid: name to match=
{eea893d3-d646-4f8e-8c6d-6f92a8563c46}
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
getServletGDSKeyByGuid: return key: com.kivasoft.gds.GDSKey@540408
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
getClassImpGDSKeyByGuid: name to match=
{eea893d3-d646-4f8e-8c6d-6f92a8563c46}
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
Now do some verification step and regenrate the web-app.xml.out filefrom
GDS data
getWebAppGDSKeyByPackageName: name to match= testdb
got key to webapp= testdb
enter WebAppCompGDSUtil.getDescriptorFromGDSByKey()
About to process the <servlet-mapping> element
GDSvalue name= /System/StaticServlet
GDSvalue val= StaticServlet
GDSvalue name= /System/JSPRunnerSticky
GDSvalue val= JSPRunnerSticky
GDSvalue name= /System/JSPRunner
GDSvalue val= JSPRunner
GDSvalue name= /System/FormAuthServlet
GDSvalue val= FormAuthServlet
GDSvalue name= /System/BasicAuthServlet
GDSvalue val= BasicAuthServlet
GDSvalue name= /System/CertAuthServlet
GDSvalue val= CertAuthServlet
GDSvalue name= /System/SessionInvalidator
GDSvalue val= SessionInvalidator
GDSvalue name= /fortune/fortune
GDSvalue val= FortuneServlet
GDSvalue name= /web/StaticServlet
GDSvalue val= StaticServlet
GDSvalue name= /web/JSPRunnerSticky
GDSvalue val= JSPRunnerSticky
GDSvalue name= /web/JSPRunner
GDSvalue val= JSPRunner
GDSvalue name= /web/FormAuthServlet
GDSvalue val= FormAuthServlet
GDSvalue name= /web/BasicAuthServlet
GDSvalue val= BasicAuthServlet
GDSvalue name= /web/CertAuthServlet
GDSvalue val= CertAuthServlet
GDSvalue name= /web/SessionInvalidator
GDSvalue val= SessionInvalidator
GDSvalue name= /web/AdderAlias
GDSvalue val= AdderServlet
GDSvalue name= /testdb/testdb
GDSvalue val= testdb
getServletMappingFromGDS: url= /testdb, servlet= testdb
About to process the context-param
[01/Nov/2001 16:00:06:7] info: GDS-007: finished a registry load
About to process the mime-mapping
About to process the servlets
GDSvalue name= testdb
GDSvalue val= {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
GDSvalue name= testdb.jsp
GDSvalue val= {eea893d3-d646-4f8e-8c6d-6f92a8563c46}
The returned hashtable for servlets have: 2 entries
About to process the servlet name= testdb.jsp
About to process the servlet name= testdb
About to process the tld
The returned vector for taglib have: 0 entries
Finished getting a wd from gd s!!!
Now ready to write out WebApp xml file
descriptorToXml: about to get all servlets
Enter getAllServlets,registeredServletNames.size= 2
DescriptorManager.getServletByGuidStr, ctx=
com.kivasoft.context.Context@6ee36c
Enter getServletFromGDS
getClassDefGDSKeyByGuid: name to match=
{eea893d3-d646-4f8e-8c6d-6f92a8563c46}
BaseKey= com.kivasoft.gds.GDSKey@41cd1f
getServletGDSKeyByGuid: return key: com.kivasoft.gds.GDSKey@76c74b
load-on-startup value from GDS= 0
number-of-singles value from GDS= 10
DescriptorManager.getServletByGuidStr, ctx=
com.kivasoft.context.Context@6ee36c
write Xml to output file: web.xml.out
Finished writing out j2ee xml file
Enter getAllServlets,registeredServletNames.size= 2
write Xml to output file: ias-web.xml.out
Finished writing out IAS xml file
Extracting JSPs from testdb.xml to /opt/iplanet/ias6/ias/APPS/
Processing input WAR 1
Processing input WARi 21 testdb.xml
Encountered exception java.util.zip.ZipException processing input file
testdb.xml
<[email protected]> wrote in message
news:[email protected]...
Hi,
At what stage did this error shoot up ? Is it possible for you to
send
the
application for me to check ?
Regards
Raj
lu yanqiang wrote:
Hi,
I use the iAS 6.0SP1 in HP-UX and I use command to regist
application,
this error message is response by "webappreg", i use webappreg to
regist
my
application,and i registed it success in windows.
thanks
Lu yanqiang
"Raj" <[email protected]> wrote in message
news:[email protected]...
Hi,
What is the version of app server on HP UX ? How did you
deploy on
the
app
server in HP UX using command line deployment or GUI tool ? Where
are
these
errors shooting from, are these coming at the time of deployment
or
thrown
at
runtime ? What is the application type that you are trying to
deploy
?, if
possible send me the kxs and kjs log files please.
Regards
Raj
lu yanqiang wrote:
My application work fine in iAS SP3 for Win2000, but when I
deployed
it
to
HP-UX 11.0, It can not regist the application in HP-UX.
can any onr help me, thanks
Lu yanqiang -
Problem with JSTL 1.0.6 in WLS 8.1.4 - Please Help
I am trying to use JSTL 1.0.6 in WLS 8.1.4. Here are the steps I followed:
<br>
Step 1:
Copied the following jar files to WEB-INF/lib directory:<br>
- jaxen-full.jar<br>
- jdbc2_0-stdext.jar<br>
- jstl.jar<br>
- saxpath.jar<br>
- standard.jar<br>
- xalan.jar<br>
- xercesImpl.jar<br>
- xml-apis.jar<br>
<br>
Step 2:
Imported JSTL into my one-and-only JSP page as follows:<br>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c"<br>uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="c_rt" uri="http://java.sun.com/jstl/core_rt" %>
<%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml"%>
<%@ taglib prefix="x_rt" uri="http://java.sun.com/jstl/xml_rt" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<%@ taglib prefix="fmt_rt" uri="http://java.sun.com/jstl/fmt_rt" %>
<%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
<%@ taglib prefix="sql_rt" uri="http://java.sun.com/jstl/sql_rt" %>
<br><%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<br>
<br>
(I am also using struts, hence the last two page directives)
<br>
<br>
Step 3:
Finally I tried to build an EAR (which used to build OK before I added JSTL) using a slightly modified version of the build.xml that comes with the Medrec tutorial. wlcompile went OK, but <b>wlappc</b> failed with the following message:
<br>
java.lang.NoClassDefFoundError: javax/servlet/jsp/el/VariableResolver
<br>
<br>
What am I doing wrong? I followed the instructions given in the JSTL 1.0.6 package. Is wlappc not the right tool for translating/compiling the JSP?
<br>
Please help!
<br>
<br>
Regards,
NadeemI can't be sure about exactly what's happening here, but I can point out several things.
The class "javax.servlet.jsp.el.VariableResolver" is associated with JSTL 1.1.x, and JSP 2.0. It's not part of JSTL 1.0.x. Make sure you really have version 1.0.6, and don't have 1.1 somewhere.
If you're just trying to use the JSTL, you shouldn't need several of those jars that you're presently including. You only need jstl.jar and standard.jar.
Why are you using the "rt" versions of these taglibs? Those don't even use the expression language. I would remove "_rt" from all of those references.
Note that if you're using Struts and the JSTL, you probably want to use Struts-EL, which is a version of the Struts jar that uses the EL to evaluate attribute values. Check the struts-user archive for some information about this. You'll find the struts-el distribution in the "contrib" directory of the Struts distribution. -
Hi,
I'm getting the below mentioned error in my tld file
cvc-complex-type.2.4.b: The content of element 'tag' is not complete. One of '{"http://java.sun.com/xml/ns/javaee":tei-class, "http://java.sun.com/
xml/ns/javaee":body-content}' is expected.
tld file :
<taglib xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
version="2.1">
<tlib-version>1.0</tlib-version>
<short-name>privilager</short-name>
<uri>http://tags/privilager</uri>
<tag>
<name>check</name>
<tag-class>com.boss.jstl.Privilager</tag-class>
</tag>
</taglib>
Kindly help me to solve this issue.
Thanks in advanceHi,
I'm getting the below mentioned error in my tld file
cvc-complex-type.2.4.b: The content of element 'tag' is not complete. One of '{"http://java.sun.com/xml/ns/javaee":tei-class, "http://java.sun.com/
xml/ns/javaee":body-content}' is expected.
tld file :
<taglib xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
version="2.1">
<tlib-version>1.0</tlib-version>
<short-name>privilager</short-name>
<uri>http://tags/privilager</uri>
<tag>
<name>check</name>
<tag-class>com.boss.jstl.Privilager</tag-class>
</tag>
</taglib>
Kindly help me to solve this issue.
Thanks in advance
Maybe you are looking for
-
Using roadmap and select-options
I'm new to abap web dynpro, i'm using a roadmap with 4 views. This is working fine but, when I try to use select options in view1 they don't show. When I set view1 as default view the select options are working fine. this is how my current web dynpro
-
IPod not detected on iTunes and iPod SW Updater
Hello, I have a 30GB iPod Photo. Up until the time I upgraded to iTunes 5.01, my iPod would automatically update. Two days ago, I started having problems--I would get an 'unknown error -69' message, after say...200 songs are uploaded onto the iPod. I
-
In need of help applying 'minor' stabilization to DSLR clip.
Hi gang. I am brand new to AE. My head has already exploded, of course. I am working on a very short short film/comedy that has a great deal of short clips shot with a Canon 60D in 1080p/24. Handheld. My desired look is in my short, but a few clips a
-
When I try to sync my iphone I get the following error, "The iphone "Malia" cannot be synced. An unknown error occurred (-50)." Please help. I've restarted my phone and computer and it did nothing.
-
Soure system in Bw development
Hi all, Right now our BW development system (BW1) is connected R/3 Development(R/3D). We need some additional data which is not in R/3D. So we are planning to connect our BW1 to R/3 quality system(R/3Q). I ahve gone thru some posts and gathered some