Page 1 of 5 123 ... LastLast
Results 1 to 10 of 47

Thread: Embedded TC server initialization problem

  1. #1
    Join Date
    Jan 2011
    Location
    Istanbul
    Posts
    1

    Exclamation Embedded TC server initialization problem

    Hello,
    This is my first post, I hope I can get an answer, fast and working.

    I have just installed STS 2.5.2 which comes with TC Server Developer Edition 2.1.1 (on Windows 7). When I try to set up TC Server instance for the first time I get the following error :

    Could not load the Tomcat server configuration at \Servers\SpringSource tc Server Developer Edition (Runtime) v2.1 at localhost-config. The configuration may be corrupt or incomplete.


    It seems like STS cannot get the server instantinated. After all, it seems like it has been created but it is not working.

    Is this a bug?

    Thanks everybody for the support,

    YILDIZ

  2. #2
    Join Date
    Jan 2011
    Posts
    1

    Default Yes, me too

    Having the same exact problem.

  3. #3
    Join Date
    Jan 2011
    Posts
    3

    Default Same problem on XP32, Vista64, Win7 and Fedora 14 x64

    I have been having the exact same problem in STS 251 and STS 252. On the mentioned OS's. One time it got fixed by my creating a new tcServer, then in the file system, copy 8 files from a working instance on another pc, to the Servers/SpringSource tc Server Developer Edition v2.1-config folder. Here are the 8 files I copied that made it work. This does NOT always fix it.
    catalina.policy
    catalina.properties
    context.xml
    jmxremote.access
    jmxremote.password
    server.xml
    tomcat-users.xml
    web.xml

    It always seems broken instances have this folder empty, while working instances have these 8 files.

  4. #4

    Default Same problem with the Tc server and STS

    I am having the same problem. The files are not being created in the Servers folder...?

    Can someone get me these files?


    Thanks.
    Pedro Fazenda

  5. #5
    Join Date
    Aug 2004
    Location
    Duesseldorf, Germany
    Posts
    1,210

    Default

    Hi,

    in order to re-create this issue I need the following information:

    * What OS are you using?
    * In what directory did you install STS?

    Thanks for your help.

    Christian
    Christian Dupuis
    SpringSource, a division of VMware
    Lead, SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/cdupuis

  6. #6
    Join Date
    Jan 2011
    Posts
    3

    Default OS and Install location info

    I was using XP32, Vista64, Win7 and Fedora 14 x64
    and generally let the installer put the files in the default locations.

    2 questions: is it better to use the zip (larger download) than the somewhat smaller installer? I have been using the smaller installer so far.

    And, when installing on linux, is it better to install as a regular user, or root?

  7. #7

    Default

    I'm using Ubuntu 10.10 and installed the latest STS using the install script.
    After spending so much time around this issue...

    I somehow solved the problem – I deleted the Virtual Server, Created a new one and downloaded the gzip STS instead of the installation script and voilà – it works. Going on to the next problem…

  8. #8
    Join Date
    Sep 2010
    Posts
    6

    Default

    Is there a way to setup the tc Server that's integrated with the STS so that when applications are deployed the environment variable can be set.

    Mine are always being deployed as production.

  9. #9
    Join Date
    Apr 2007
    Posts
    19

    Default Same issue here.

    Here's what i've done:

    Download STS zip file from here http://download.springsource.com/rel...n32-x86_64.zip

    By the way, the fact that have to enter my contact information every time i want to re-download something i've already downloaded, is freaking irritating.

    Then, unzip the TC server and the STS into a directory, it doesn't matter where.

    Launch the STS tool, pick a new workspace.

    Go into Window->Preferences. From there select Server->Runtime Environments->New. Now pick a new Spring tc Server v2.1 and also select to create a new server. Click Next and select the TC server unzipped earlier(which came with the STS instance). Hit next then, for server configuration, pick "create new instance". Hit Next then put "testing" for the name, and use "base" template. And hit finish. then click OK.

    If you look in the Server's project in your workspace, you'll see two SpringSource tc server folders. One that was created when the workspace was created. This one will actually work. The other one, the one we just created, will not start as it has no files in its folder.

    Copying the files from the one to the other doesn't work.

    Actually it shouldn't matter, when i select a properly installed SpringSource tc Server folder location, the tooling should be able to create any and all necessary configuration files to use that instance to run a server.

    Also, if you'll notice my other forum post, i wonder if this will work in that manner.

    Finally, when you start the SpringSource tc Sever that actually works, the following error shows in the console:

    Jan 18, 2011 4:25:03 PM org.apache.catalina.core.StandardContext listenerStart
    SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListe ner
    java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContextException
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Cla ss.java:2389)
    Why, oh why does a brand new server instance have a NCDF on boot?

    -B
    Last edited by BStopp; Jan 18th, 2011 at 04:28 PM. Reason: added a bit more content.

  10. #10
    Join Date
    Jan 2011
    Posts
    1

    Default

    Hello All,

    I have exactly the same issues as the two explained above.

    OS: Win XP
    JDK: jdk1.5.0_18
    Version: 2.5.2.RELEASE, Build Id: 201101081000

    -First issue, when you start up the pre-configured embeded TC server you will get this exception it fails to starup the Insight context:

    SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListe ner
    java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContextException
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Cla ss.java:2357)
    at java.lang.Class.getConstructor0(Class.java:2671)
    at java.lang.Class.newInstance0(Class.java:321)
    at java.lang.Class.newInstance(Class.java:303)
    at org.apache.catalina.core.StandardContext.listenerS tart(StandardContext.java:4079)
    at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4630)
    at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:771)
    at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:568)
    at org.apache.catalina.startup.HostConfig.deployDescr iptor(HostConfig.java:637)
    at org.apache.catalina.startup.HostConfig.deployDescr iptors(HostConfig.java:563)
    at org.apache.catalina.startup.HostConfig.deployApps( HostConfig.java:498)
    at org.apache.catalina.startup.HostConfig.start(HostC onfig.java:1282)
    at org.apache.catalina.startup.HostConfig.lifecycleEv ent(HostConfig.java:321)
    at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:142)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:807)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:445)
    at org.apache.catalina.core.StandardService.start(Sta ndardService.java:519)
    at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:581)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:414)
    Jan 26, 2011 5:03:15 PM org.apache.catalina.core.StandardContext listenerStart
    SEVERE: Skipped installing application listeners due to previous error(s)
    Jan 26, 2011 5:03:15 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error listenerStart
    Jan 26, 2011 5:03:15 PM org.apache.catalina.core.StandardContext start
    SEVERE: Context [/insight] startup failed due to previous errors

    -Second issue if you you cerate a new TC server config from the wizard you will get this error:
    Could not load the Tomcat server configuration at \Servers\SpringSource tc Server Developer Edition (Runtime) v2.1 at localhost-config. The configuration may be corrupt or incomplete.
    Regards,

    Olivier

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •