Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4741049
Votes 0
Synopsis WS builds long SoapBuildeClass names for W2000 and hence deploy fails on S1SAS7
Category forte4j:webservices-development
Reported Against 4.1 , 4_fcs
Release Fixed
State 6-Fix Understood, bug
Priority: 3-Medium
Related Bugs 4403166
Submit Date 03-SEP-2002
Description
Ludo says the max file name on Windows platfolms is 259 characters and it seems the full path of generated files such as the one mentioned in synopsis sometimes gets longer than that and causes a deploy error:
com.iplanet.ias.admin.common.exception.DeploymentException: Deployment Error --
com.iplanet.ias.util.zip.ZipFileException: filename: F:\IAS7\domains\domain1\ser
ver1\applications\j2ee-apps\ArrayApp_1\ArrayService_War_war\WEB-INF\classes\Inpu
tOutput\ArrayDataTypes\t0825\ArrayServiceGenServer\ArrayServiceServantInterface_
ArrayTest_getArrayMixedPrimitiveAndComposite_ResponseStruct_SOAPBuilder.class  j
ava.io.FileNotFoundException: F:\IAS7\domains\domain1\server1\applications\j2ee-
apps\ArrayApp_1\ArrayService_War_war\WEB-INF\classes\InputOutput\ArrayDataTypest0825\ArrayServiceGenServer\ArrayServiceServantInterface_ArrayTest_getArrayMixed
PrimitiveAndComposite_ResponseStruct_SOAPBuilder.class (The system cannot find t
he path specified)^M
    at com.iplanet.ias.admin.server.core.mbean.config.ManagedServerInstance.depl
oyJ2EEApplicationArchiveOrDirectory(ManagedServerInstance.java:761)^M
    at com.iplanet.ias.admin.server.core.mbean.config.ManagedServerInstance.depl
oyJ2EEApplication(ManagedServerInstance.java:666)^M
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)^M
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
:39)^M
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
mpl.java:25)^M
    at java.lang.reflect.Method.invoke(Method.java:324)^M
    at com.iplanet.ias.admin.server.core.jmx.Introspector.invokeMethodOn(Introsp
ector.java:188)^M
    at com.iplanet.ias.admin.server.core.jmx.MBeanServerImpl.invoke(MBeanServerI
mpl.java:137)^M
    at com.iplanet.ias.admin.server.core.jmx.ASMBeanServerImpl.invoke(ASMBeanSer
verImpl.java:222)^M
    at com.iplanet.ias.admin.server.core.servlet.AdminAPIEntryServlet.callInvoke
(AdminAPIEntryServlet.java:217)^M
    at com.iplanet.ias.admin.server.core.servlet.AdminAPIEntryServlet.callMBean(
AdminAPIEntryServlet.java:176)^M
    at com.iplanet.ias.admin.server.co

the full server.log is placed on /net/trident/trident2/bugs/<bug no>
For recreation try to deploy the ear file placed also on trident to S1AS7.


For more info on related bugs on bugtraq on the same issue please see bug 4403166
Work Around
N/A
Evaluation
  xxxxx@xxxxx   2002-09-03
I tried to make the path name shorter and the easiest was to rename my service to something shorter. It worked fine with shorter path but my service name wasn't something a user might use. The other avenues are not also very convenient. I think we should at least put something in release notes if we can't shorten webservices generated directory names for sierra

  xxxxx@xxxxx   2003-03-12: JAX-RPC RI is the one creating these filenames.  Not much we can do about that.
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang