ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donal Quinlan <do...@savvion.com>
Subject Re: websphere jsp precompile problems...<SOLUTION>
Date Wed, 12 Nov 2003 18:07:29 GMT
bounced the first time 'cos I sent it in html format...

Donal Quinlan wrote:

> I don't know if it is a good thing or a bad thing when I recognize the 
> names of IBM engineers I have worked with before. Am I having that 
> many problems with WebSphere? ;-) The information from Eng Kian will 
> indeed prove useful in the future.
>
> Thanks for passing it along.
>
> Donal
>
> Ciramella, EJ wrote:
>
>>Here's the official response from IBM:
>>
>>Hi Ciramella,                                                           
>>                                                                        
>>This is Eng Kian and I would be working on this PMR with regards to the 
>>WAS 5.0 JspC task not recognize classpath attribute.                    
>>                                                                        
>>I searched in our database to know that it is a known problem and has   
>>been fixed in an e-fix which has an APAR number: PQ74731.               
>>                                                                        
>>APAR number: PQ74731                                                    
>>Description/symptom of problem:                                         
>>                                                                        
>>WebSphere ant task wsjspc does not use the classpath classref attribute.
>>If user specify these two attribute in the xml, user may get            
>>classNotFoundExceptions.                                                
>>                                                                        
>>You can download this e-fix as is from the WAS Support website below    
>>and apply it on WAS 5.0.0 and WAS 5.0.1.                                
>>                                                                        
>>PQ74731: WSJSPC does not use "CLASSPATH" OR "CLASSPATHREF" attribute.   
>>http://www-1.ibm.com/support/docview.wss?rs=180&context=SSEQTP&q=PQ74731&uid
>>=swg24005596&loc=en_US&cs=utf-8&lang=en                             
>>                                                                        
>>Or, alternative. This e-fix has also been packaged as part of the       
>>latest Fixpack 2 Cumulative Fix 1. Therefore, you may want to apply the 
>>latest Fixpack 2 first and then the cumulative fix 1 on your existing   
>>WAS 5.0. This will ensure your WAS 5.0 is at the latest fixlevel which  
>>has all the latest cumulative fixes since 5.0.0.                        
>>                                                                        
>>http://www-1.ibm.com/support/docview.wss?rs=180&context=SSEQTP&q=PQ74731&uid
>>=swg24005569&loc=en_US&cs=utf-8&lang=en                             
>>                                                                        
>>Please let me know if you have any question or if the efix or FP2-cf1   
>>helps to resolve the problem. If yes, please let me know if I may       
>>close the PMR ?                                                         
>>                                                                        
>>Thanks,                                                                 
>>                                                                        
>>Eng Kian Tan                                                            
>>IBM WebSphere Competency Center
>>
>>-----Original Message-----
>>From: Donal Quinlan [mailto:donal@savvion.com]
>>Sent: Tuesday, November 11, 2003 7:16 PM
>>To: Ant Users List
>>Subject: Re: websphere jsp precompile problems...
>>
>>
>>The classpath gets set in WebSphere\AppServer\setupCmdLine.bat.
>>ws_ant calls the bat file before doing anything else. I have never 
>>succeeded in using the classpath/classpathref parameters. The workaround 
>>for me was to put the jar files in the WEB-INF/lib.
>>
>>Thanks
>>
>>Donal
>>
>>Ciramella, EJ wrote:
>>
>>  
>>
>>>Has anybody used the jspc task for precompiling jsps for WebSphere?
>>>
>>>I'm having mucho difficulty...
>>>
>>>The task has classpath and classpathref parameters, neither of which are
>>>used when the task gets executed.
>>>
>>>Can anyone help me here?
>>>
>>>ws-jspc:
>>>    [copy] D:\ePASSV4.1WAS50Build0198\deploy\war\WEB-INF\web.xml omitted
>>>    
>>>
>>as
>>  
>>
>>>D:\ePASSV4.1WAS50Build0198\com\avinamart\We
>>>bInterface\public_html\en\WEB-INF\web.xml is up to date.
>>>Class com.ibm.websphere.ant.tasks.JspC loaded from parent loader
>>>+User task: wsjspc     com.ibm.websphere.ant.tasks.JspC
>>>  +Task: wsjspc
>>>  [wsjspc] Executing 'C:\ePASSTOOLS\jdk1.3.1_07\jre\bin\java.exe' with
>>>arguments:
>>>  [wsjspc] '-Dws.output.encoding=console'
>>>  [wsjspc]
>>>'-Dcom.ibm.CORBA.ConfigURL=file:\C:\ePASSTools\WebSphere\AppServer\properti
>>>    
>>>
>>e
>>  
>>
>>>s\sas.client.props'
>>>  [wsjspc]
>>>'-Dcom.ibm.SOAP.ConfigURL=file:\C:\ePASSTools\WebSphere\AppServer\propertie
>>>    
>>>
>>s
>>  
>>
>>>\soap.client.props'
>>>  [wsjspc] '-Dwebsphere.lib.dir=C:\ePASSTools\WebSphere\AppServer\lib'
>>>  [wsjspc]
>>>'-Dws.ext.dirs=C:\ePASSTOOLS\WebSphere\AppServer\java\lib;C:\ePASSTools\Web
>>>    
>>>
>>S
>>  
>>
>>>phere\AppServer\classes;C:\ePASS
>>>Tools\WebSphere\AppServer\lib;C:\ePASSTools\WebSphere\AppServer\lib\ext;C:\
>>>    
>>>
>>e
>>  
>>
>>>PASSTools\WebSphere\AppServer\web\help;C:\eP
>>>ASSTools\WebSphere\AppServer\deploytool\itp\plugins\com.ibm.etools.ejbdeplo
>>>    
>>>
>>y
>>  
>>
>>>\runtime;C:\ePASSTOOLS\IBM\WebSphere MQ\java
>>>\lib'
>>>  [wsjspc] '-Dwas.install.root=C:\ePASSTools\WebSphere\AppServer'
>>>  [wsjspc] '-Dwas.node.name=STARDIF1'
>>>  [wsjspc] '-Dwas.cell.name=STARDIF1'
>>>  [wsjspc] '-Dcom.sun.tools.javac.main.largebranch=false'
>>>  [wsjspc] '-Djava.security.auth.login.config=null/properties/wsjaas.conf'
>>>  [wsjspc] '-Djava.security.policy=null/properties/server.policy'
>>>  [wsjspc] '-DenableJava2Security=true'
>>>  [wsjspc]
>>>'-Dcom.ibm.itp.location=C:\ePASSTools\WebSphere\AppServer\deploytool\itp'
>>>  [wsjspc] '-Xmx256M'
>>>  [wsjspc] '-classpath'
>>>
>>>******************************************
>>>Note that the classpath below is defined elsewhere and I can't seem to
>>>change it!
>>>******************************************
>>>
>>>  [wsjspc]
>>>'C:\ePASSTools\WebSphere\AppServer\properties;C:\ePASSTools\WebSphere\AppSe
>>>    
>>>
>>r
>>  
>>
>>>ver\lib\bootstrap.jar;C:\ePASSTo
>>>ols\WebSphere\AppServer\lib\j2ee.jar;C:\ePASSTools\WebSphere\AppServer\lib\
>>>    
>>>
>>l
>>  
>>
>>>mproxy.jar;C:\ePASSTools\WebSphere\AppServer
>>>\lib\urlprotocols.jar'
>>>  [wsjspc] 'com.ibm.ws.bootstrap.WSLauncher'
>>>  [wsjspc] 'com.ibm.ws.webcontainer.jsp.compiler.ibmtools.JspModC'
>>>  [wsjspc] '-appDir'
>>>  [wsjspc]
>>>'D:\ePASSV4.1WAS50Build0198/com/avinamart/WebInterface/public_html/en'
>>>  [wsjspc] '-tmpDir'
>>>  [wsjspc] 'D:\ePASSV4.1WAS50Build0198/MyServer/classfiles/'
>>>  [wsjspc]
>>>  [wsjspc] The ' characters around the executable and arguments are
>>>  [wsjspc] not part of the command.
>>>
>>> 
>>>
>>>    
>>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>For additional commands, e-mail: user-help@ant.apache.org
>>
>>  
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message