NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [thredds] Adding custom services to TDS

Hi, Sean!

I'm using the same setup as yours but I always 'git pull' the latest
TDS-4.4 and build one myself with MVN. I think that may cause the
problem.

Thus, would you please send me the URL of TDS-4.4 thredds.war file
that you've succeeded in running?
I'd like to make sure that I can run it on my Mavericks as well.
I'd appreciate if you can give the git clone address for the working
TDS-4.4 source as well.

Regards,

--
HDF: Software that Powers Science


On Tue, Nov 12, 2013 at 2:00 PM, Sean Arms <sarms@xxxxxxxxxxxxxxxx> wrote:
> Hello!
>
> I'm not sure what is going on here yet. I am able to run 4.4.0 under
> tomcat 7 using java 7 on OSX Mavericks - is this the same setup you are
> using as well, or do you have a different version of Java / Tomcat?
>
> Thanks!
>
> Sean
>
> On 11/12/13, 12:43 PM, H. Joe Lee wrote:
>> Hi, Sean!
>>
>>    Thanks for your tip. I tried it but it doesn't help. I'm getting
>> the following error in 'content/logs/serverStartup.log':
>>
>> 2013-11-12T13:36:58.767-0600 [      7110][        ] ERROR
>> org.springframework.web.context.ContextLoader: Context initialization
>> failed
>> org.springframework.beans.factory.BeanCreationException: Error
>> creating bean with name 'collectionController': Injection of autowired
>> dependencies failed; nested exception is
>> org.springframework.beans.factory.BeanCreationException: Could not
>> autowire field: private thredds.server.config.TdsContext
>> thredds.server.admin.CollectionController.tdsContext; nested exception
>> is org.springframework.beans.factory.BeanCreationException: Error
>> creating bean with name 'tdsContext' defined in file
>> [/hdfdap/tomcat2/webapps/thredds/WEB-INF/classes/thredds/server/config/TdsContext.class]:
>> Invocation of init method failed; nested exception is
>> java.lang.NullPointerException
>>
>>   Is there something peculiar in Mac OS X Mavericks Java?
>>
>> --
>> HDF: Software that Powers Science
>>
>>
>> On Fri, Nov 8, 2013 at 5:13 PM, Sean Arms <sarms@xxxxxxxxxxxxxxxx> wrote:
>>> Greetings!
>>>
>>> It looks like the issue is that you haven't setup your content path, a
>>> new requirement for TDS 4.4.0. In order to do this, you need to add the
>>> following, with the proper path, to your setenv.sh script in
>>> $CATALINA_BASE/bin (if the script does not exists, go ahead and create
>>> it - catalina.sh will find and use it):
>>>
>>> =======
>>>
>>> export JAVA_OPTS=-Dtds.content.root.path=/path/to/contentDir
>>>
>>> =======
>>>
>>> Note that the content path used to be ${CATALINA_BASE}/content in
>>> previous TDS versions.
>>>
>>> Give that a try and let us know if that fixes things on your end.
>>>
>>> Cheers!
>>>
>>> Sean
>>>
>>> On 11/6/13, 2:02 PM, H. Joe Lee wrote:
>>>> Hi, John!
>>>>
>>>>   I got a strange error on Mac OS X Mavericks with TDS 4.4. I could
>>>> build the 4.4 fine but I cannot start the sever with the following
>>>> springframework error message:
>>>>
>>>> 2013-11-06T14:40:04.325-0600 [      7596][        ] ERROR
>>>> org.springframework.web.context.ContextLoader: Context initialization
>>>> failed
>>>>
>>>> org.springframework.beans.factory.BeanCreationException: Error
>>>> creating bean wth name 'collectionController': Injection of autowired
>>>> dependencies failed; nested exception is
>>>> org.springframework.beans.factory.BeanCreationException: Could not
>>>> autowire field: private thredds.server.config.TdsContext
>>>> thredds.server.admin.CollectionController.tdsContext; nested exception
>>>> is org.springframework.beans.factory.BeanCreationException: Error
>>>> creating bean with name 'tdsContext' defined in file
>>>> [/hdfdap/tomcat2/webapps/thredds/WEB-INF/classes/thredds/server/config/TdsContext.class]:
>>>> Invocation of init method failed; nested exception is
>>>> java.lang.IllegalStateException: Content root directory
>>>> [/share/testdata/cdmUnitTest/it/content] not a directory.
>>>>
>>>>  I don't get such error message during initialization on my Windows 7
>>>> build. I don't have any issue with TDS-4.3 on Mavericks either.
>>>>
>>>>  Is this related to the change you've documented on the wiki? If so,
>>>> what could be wrong?
>>>>
>>>>  Please see the attached file for full error log.
>>>>
>>>> --
>>>> HDF: Software that Powers Science
>>>>
>>>>
>>>> On Thu, Oct 3, 2013 at 1:28 PM, John Caron <caron@xxxxxxxxxxxxxxxx> wrote:
>>>>> We have been working in version 4.4 on using Spring annotations for 
>>>>> developing custom services. Some early documentation is here:
>>>>>
>>>>>   
>>>>> https://wiki.ucar.edu/display/unidata/TDS+Servlets+Configuration+%284.4.0-alpha%29
>>>>>
>>>>> feedback is appreciated.
>>>>>
>>>>> _______________________________________________
>>>>> thredds mailing list
>>>>> thredds@xxxxxxxxxxxxxxxx
>>>>> For list information or to unsubscribe,  visit: 
>>>>> http://www.unidata.ucar.edu/mailing_lists/
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> thredds mailing list
>>>>> thredds@xxxxxxxxxxxxxxxx
>>>>> For list information or to unsubscribe,  visit: 
>>>>> http://www.unidata.ucar.edu/mailing_lists/
>>>
>>> _______________________________________________
>>> thredds mailing list
>>> thredds@xxxxxxxxxxxxxxxx
>>> For list information or to unsubscribe,  visit: 
>>> http://www.unidata.ucar.edu/mailing_lists/



  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: