Error creating JSP provider channel with desktop channel wizard in SP2

We're unable to create a JSP provider channel using the desktop channel

wizard in SP2.

From the admin console we get the error message "Error: An error occurred

while creating the channel. Consult the iwtAdmin debugging files for more

information and seek technical assistance."

The iwtAdmin error log has the following lines:

9/13/01 9:51:21 AM GMT-05:00: Thread[Thread-112,5,main]

ERROR: ChannelWizard

java.io.IOException: ipsadmin -import ERROR:

at java.lang.Throwable.fillInStackTrace(Native Method)

at java.lang.Throwable.fillInStackTrace(Compiled Code)

at java.lang.Throwable.<init>(Compiled Code)

at java.lang.Exception.<init>(Compiled Code)

at java.io.IOException.<init>(Compiled Code)

at

com.iplanet.portalserver.admin.modules.chwizard.ChannelWizard.makeFinishPage

(Compiled Code)

at

com.iplanet.portalserver.admin.modules.chwizard.ChannelWizard.getData(Compil

ed Code)

at

com.iplanet.portalserver.admin.servlet.AdminCon.doGetData(Compiled Code)

at

com.iplanet.portalserver.admin.servlet.AdminCon.doGetPost(Compiled Code)

at

com.iplanet.portalserver.admin.servlet.AdminCon.doPost(AdminCon.java:245)

at javax.servlet.http.HttpServlet.service(Compiled Code)

at javax.servlet.http.HttpServlet.service(Compiled Code)

at com.netscape.server.http.servlet.NSServletRunner.Service(Compiled

Code)

9/13/01 9:51:21 AM GMT-05:00: Thread[Thread-112,5,main]

ERROR: ChannelWizard.getData:

ChannelWizard: <font color=red>Error: An error occurred while creating the

channel. Consult the iwtAdmin debugging files for more information and seek

technical assistance.</font>

at java.lang.Throwable.fillInStackTrace(Native Method)

at java.lang.Throwable.fillInStackTrace(Compiled Code)

at java.lang.Throwable.<init>(Compiled Code)

at java.lang.Exception.<init>(Compiled Code)

at

com.iplanet.portalserver.admin.servlet.AdminException.<init>(AdminExcepti on.

java:24)

at

com.iplanet.portalserver.admin.modules.chwizard.ChannelWizard.makeFinishPage

(Compiled Code)

at

com.iplanet.portalserver.admin.modules.chwizard.ChannelWizard.getData(Compil

ed Code)

at

com.iplanet.portalserver.admin.servlet.AdminCon.doGetData(Compiled Code)

at

com.iplanet.portalserver.admin.servlet.AdminCon.doGetPost(Compiled Code)

at

com.iplanet.portalserver.admin.servlet.AdminCon.doPost(AdminCon.java:245)

at javax.servlet.http.HttpServlet.service(Compiled Code)

at javax.servlet.http.HttpServlet.service(Compiled Code)

at com.netscape.server.http.servlet.NSServletRunner.Service(Compiled

Code)

I looked through the knowledge base and I didn't see anything specifically

about this. I did see the technote on suggested solutions for channel

wizard problems. We didn't have a core file, so I don't think it is the

swap space issue, and since we have SP2 I don't think it is the

2&1>/dev/null at the end of the ipsadmin that is needed (although I tried

that and I got the same result).

I'm not doing anything weird like putting illegal characters in the channel

or jsp names.

Any ideas?

Thanks

[3428 byte] By [] at [2007-11-25 4:30:19]
# 1

To isolate the problem to see if it is a channel wizard problem or an ipsadmin

issue, take a sample xml provided in the samples directory do a simple ipadmin

-import xmlfilename. If the import goes through successfully then the problem is

due to ipsadmin not being able to import channels. In that case you can try this

go to the ipsadmin script present in /install_dir/SUNWips/bin

look for the line

${JAVA_HOME}/bin/java -classpath ${CLASSPATH}

com.iplanet.portalserver.ipsadmin.ImportComponent $*

change it to

${JAVA_HOME}/bin/java -ms32m -mx256m -classpath ${CLASSPATH}

com.iplanet.portalserver.ipsadmin.ImportComponent $*

You may wanna run top and look at the size of your slapd process, we have had an

ldap server memory leak with sp2 and this issue was fixed in sp3.

Karthik !

Marshall Levin wrote:

> We're unable to create a JSP provider channel using the desktop channel

> wizard in SP2.

>

> From the admin console we get the error message "Error: An error occurred

> while creating the channel. Consult the iwtAdmin debugging files for more

> information and seek technical assistance."

>

> The iwtAdmin error log has the following lines:

>

> 9/13/01 9:51:21 AM GMT-05:00: Thread[Thread-112,5,main]

> ERROR: ChannelWizard

> java.io.IOException: ipsadmin -import ERROR:

> at java.lang.Throwable.fillInStackTrace(Native Method)

> at java.lang.Throwable.fillInStackTrace(Compiled Code)

> at java.lang.Throwable.<init>(Compiled Code)

> at java.lang.Exception.<init>(Compiled Code)

> at java.io.IOException.<init>(Compiled Code)

> at

> com.iplanet.portalserver.admin.modules.chwizard.ChannelWizard.makeFinishPage

> (Compiled Code)

> at

> com.iplanet.portalserver.admin.modules.chwizard.ChannelWizard.getData(Compil

> ed Code)

> at

> com.iplanet.portalserver.admin.servlet.AdminCon.doGetData(Compiled Code)

> at

> com.iplanet.portalserver.admin.servlet.AdminCon.doGetPost(Compiled Code)

> at

> com.iplanet.portalserver.admin.servlet.AdminCon.doPost(AdminCon.java:245)

> at javax.servlet.http.HttpServlet.service(Compiled Code)

> at javax.servlet.http.HttpServlet.service(Compiled Code)

> at com.netscape.server.http.servlet.NSServletRunner.Service(Compiled

> Code)

>

> 9/13/01 9:51:21 AM GMT-05:00: Thread[Thread-112,5,main]

> ERROR: ChannelWizard.getData:

> ChannelWizard: <font color=red>Error: An error occurred while creating the

> channel. Consult the iwtAdmin debugging files for more information and seek

> technical assistance.</font>

> at java.lang.Throwable.fillInStackTrace(Native Method)

> at java.lang.Throwable.fillInStackTrace(Compiled Code)

> at java.lang.Throwable.<init>(Compiled Code)

> at java.lang.Exception.<init>(Compiled Code)

> at

> com.iplanet.portalserver.admin.servlet.AdminException.<init>(AdminExcepti on.

> java:24)

> at

> com.iplanet.portalserver.admin.modules.chwizard.ChannelWizard.makeFinishPage

> (Compiled Code)

> at

> com.iplanet.portalserver.admin.modules.chwizard.ChannelWizard.getData(Compil

> ed Code)

> at

> com.iplanet.portalserver.admin.servlet.AdminCon.doGetData(Compiled Code)

> at

> com.iplanet.portalserver.admin.servlet.AdminCon.doGetPost(Compiled Code)

> at

> com.iplanet.portalserver.admin.servlet.AdminCon.doPost(AdminCon.java:245)

> at javax.servlet.http.HttpServlet.service(Compiled Code)

> at javax.servlet.http.HttpServlet.service(Compiled Code)

> at com.netscape.server.http.servlet.NSServletRunner.Service(Compiled

> Code)

>

> I looked through the knowledge base and I didn't see anything specifically

> about this. I did see the technote on suggested solutions for channel

> wizard problems. We didn't have a core file, so I don't think it is the

> swap space issue, and since we have SP2 I don't think it is the

> 2&1>/dev/null at the end of the ipsadmin that is needed (although I tried

> that and I got the same result).

>

> I'm not doing anything weird like putting illegal characters in the channel

> or jsp names.

>

> Any ideas?

>

> Thanks

at 2007-6-29 2:34:25 > top of Java-index,Web & Directory Servers,Portal Servers...