[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem about TDS deploy



Hi Chengfang,

What version of Tomcat are you running? And what version of the TDS do
you have deployed?

Actually, did you have an earlier thredds.war installed and then install
a new thredds.war over the top of that? And how did you do this undeploy
and deploy? Are you using the Tomcat Admin interface to undeploy and deploy?

The root cause of java.lang.IncompatibleClassChangeError makes me think
that there are two versions of the same .class file(s) somewhere in your
TDS/Tomcat. Or that the deploy of the new thredds.war didn't go as it
should.

I would suggest you make sure you fully undeploy the TDS first. By which
I mean, once you undeploy, make sure the ${tomcat_home}/webapps
directory does not contain either a thredds directory or a thredds.war
file. (It seems like the various ways to undeploy in Tomcat don't always
clean this up and sometimes the deploy trips over this stuff.) Then
redeploy from a clean war file. There is a download link to the newest
TDS war file at http://www.unidata.ucar.edu/projects/THREDDS/tech/#TDS.

Ethan


chengfang wrote:
> Hi,Ethan,
>
> Thank you for your help! There are another problem about TDS.
> Our server OS is Solaris 8.0, JDK 1.5, after I deploy the Thredds.war to the 
> Tomcat, Tomcat display everything is OK, but when I  input 
> "http://servername:8099/thredds/catalog.html"; to the explore, it show mistake 
> as follow:
> =========================================================================================================
> type Exception report
>
> message 
>
> description The server encountered an internal error () that prevented it 
> from fulfilling this request.
>
> exception 
>
> javax.servlet.ServletException: Servlet.init() for servlet CatalogServices 
> threw exception
>       
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
>       
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
>       
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
>       org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>       
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>       
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
>       
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>       
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>       java.lang.Thread.run(Thread.java:595)
>
>
> root cause 
>
> java.lang.IncompatibleClassChangeError
>       thredds.servlet.ServletUtil.logServerSetup(ServletUtil.java:244)
>       thredds.servlet.CatalogServices.init(CatalogServices.java:49)
>       javax.servlet.GenericServlet.init(GenericServlet.java:211)
>       
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
>       
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
>       
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:535)
>       org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>       
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>       
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
>       
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>       
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>       java.lang.Thread.run(Thread.java:595)
> ====================================================================================================================
> I also try it in my owner PC OS is Windows XP, JDK 1.5, and TDS runs very 
> well, I put "http://PCIP:8080/thredds/catalog.html";, everything is ok, so 
> could you please give me some advice about what's the problem about it?
>
>
>
> Thanks!
>
>
> chengfang
> 2006-04-26
>
>
> -------------------------------------------------------------------------------------------------------------------------
>   Ethan Davis
>   2006-04-24 11:53:16
>   chengfang
>   thredds
>   Re: problem about using datasetScan
>
> Hi  Chengfang,
>
> Do  you  have  the  THREDDS  Data  Server  (TDS)  installed?  The  TDS  is
> described  here  (http://www.unidata.ucar.edu/projects/THREDDS/tech/#TDS)
> with  links  to  the  war  file  and  further  documentation.
>
> >From  the  main  TDS  documentation
> (http://motherlode.ucar.edu:8080/thredds/docs/),  the  "Getting  Started"
> page  (http://motherlode.ucar.edu:8080/thredds/docs/GettingStarted.html)
> is  probably  the  best  place  to  start.
>
> Once  you  have  the  TDS  installed,  the  main  catalog  resides  at
> ${tomcat_home}/content/thredds/catalog.xml.  Other  catalogs  can  reside  in
> that  directory  or  subdirectories  but  they  all  have  to  be  linked  by
> catalogRef  from  the  main  catalog.xml.  Any  of  these  catalogs  can  
> contain
> datasetScan  elements.
>
> Hope  that  helps.  Let  me  know  if  you  need  further  assistance.
>
> Ethan
>
> chengfang  wrote:
>   
>>  Hi  all,
>>
>>  I  am  a  new  user  and  want  to  generate  catalog  using  datasetScan.  
>> I  already  have  testing  dataset  on  server,  after  I  read  the  
>> webpage  of  "Automatic  Catalog  Generation  using   <datasetScan >",  I  
>> still  have  no  idea  about  the  detail  steps.  Could  you  please  let  
>> me  know  when  where  and  how  I  place  the  XML  which  containing  
>> datasetScan  element  to  generate  catalog?
>>
>>
>>  Thanks
>>
>>  Chengfang
>>  2006-04-24
>>
>>
>>
>>  
>> ===============================================================================
>>  To  unsubscribe  thredds,  visit:
>>  http://www.unidata.ucar.edu/mailing-list-delete-form.html
>>  
>> ===============================================================================
>>      
>>     
>
> --  
> Ethan  R.  Davis                                                              
>   Telephone:  (303)  497-8155
> Software  Engineer                                                          
> Fax:              (303)  497-8690
> UCAR  Unidata  Program  Center                                      E-mail:   
>      address@hidden
> P.O.  Box  3000
> Boulder,  CO    80307-3000                                              
> http://www.unidata.ucar.edu/
> ---------------------------------------------------------------------------
>
>   

-- 
Ethan R. Davis                                Telephone: (303) 497-8155
Software Engineer                             Fax:       (303) 497-8690
UCAR Unidata Program Center                   E-mail:    address@hidden
P.O. Box 3000
Boulder, CO  80307-3000                       http://www.unidata.ucar.edu/
---------------------------------------------------------------------------



NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.