Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Deploying orchard on Tomcat
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nihita Goel  
View profile  
 More options Feb 1 2011, 6:23 am
From: Nihita Goel <nih...@tifr.res.in>
Date: Tue, 1 Feb 2011 16:53:58 +0530
Local: Tues, Feb 1 2011 6:23 am
Subject: Deploying orchard on Tomcat

Hi: Has anyone tried to deploy the orchard.war on Tomcat ?

I am facing this problem. It gets delployed but when I start it it gives
message

FAIL - Application at context path /orchard could not be started

and the following message in the log
Feb 1, 2011 4:37:50 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Error configuring application listener of class
com.sun.xml.ws.transport.http.servlet.WSServletContextListener
java.lang.ClassNotFoundException:
com.sun.xml.ws.transport.http.servlet.WSServletContextListener
 at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.ja va:1438)
 at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.ja va:1284)
 at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java :3743)
 at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4252)
 at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java: 760)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
 at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:884)
 at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:737)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1203)
 at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppo rt.java:120)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
 at org.apache.catalina.core.StandardService.start(StandardService.java:448)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Feb 1, 2011 4:37:50 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)

I am not very sure if the log message is relevant to this problem though.

If anyone has done this earlier please let me know..

-- Nihita


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nihita Goel  
View profile  
 More options Feb 2 2011, 7:13 am
From: Nihita Goel <nih...@tifr.res.in>
Date: Wed, 2 Feb 2011 17:43:54 +0530
Local: Wed, Feb 2 2011 7:13 am
Subject: Re: Deploying orchard on Tomcat

Hello:

This problem got resolved by copying all jars in orchard/lib to
tomcat/common/endorsed directory.

Now the orchard is deployed on my tomcat and is accessible as
http://localhost:8080/orchard

Now when I enter any orc script and execute run I am getting the following
error.( As "Error on Page" on my browser)

Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
Trident/4.0; GTB6.6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
3.0.30729; Media Center PC 6.0; InfoPath.2)
Timestamp: Wed, 2 Feb 2011 12:08:55 UTC

Message: 'CodeMirror' is undefined
Line: 1
Char: 8163
Code: 0
URI: http://localhost:8080/orchard/orc-ready-min.js

Message: 'g' is null or not an object
Line: 1
Char: 2419
Code: 0
URI: http://localhost:8080/orchard/orc-ready-min.js

Please let me know what could have gone wrong.

Regards
Nihita

--
Nihita Goel
Tata Institute of Fundamental Research
Mumbai-400005

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Kitchin  
View profile  
 More options Feb 2 2011, 5:32 pm
From: David Kitchin <dkitc...@cs.utexas.edu>
Date: Wed, 2 Feb 2011 14:32:45 -0800 (PST)
Local: Wed, Feb 2 2011 5:32 pm
Subject: Re: Deploying orchard on Tomcat
CodeMirror is the Javascript code editor program that we use as the
basis of the Try Orc editor window. If it can't be found then there
may be some missing .js files that Orchard needs to serve to display
the editor correctly.

On Feb 2, 6:13 am, Nihita Goel <nih...@tifr.res.in> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nihita Goel  
View profile  
 More options Feb 3 2011, 1:26 am
From: Nihita Goel <nih...@tifr.res.in>
Date: Thu, 3 Feb 2011 11:56:41 +0530
Local: Thurs, Feb 3 2011 1:26 am
Subject: Re: [orc-lang] Re: Deploying orchard on Tomcat

Hello:

I tried my best to resolve this.

codemirror directory exists in webapps/orchard directory on my tomcat
server. Within the orchard directory a codemirror directory exists and
contains some codemirror related js files.

The webapps/orchard/codemirror directory has following files
codemirror.jsp,editor.js,select.js,stringtokenizer.js,tokenize.js,undo.js,u til.jsp

And the the webapps/orchard directory has
date.js, jquery-1.2.6-min.js, mock-executor.js, orc.js, orc-parser-min.js
and orc-ready-min.js

I tried to debug this through the browser script debugger and noticed that
the html file created was using the following js files

/orchard/codemirror-extra-min.js
/orchard/orc-parser-min.js
/orchard/jquery-1.2.6-min.js
/orchard/codemirror-min.js
/orchard/orc-ready-min.js

I noticed that while the other 3 files were present in orchard directory the
codemirror-min and codemirror-extra-min was not. I copied the codemirror.js
file present in codemirror directory as codemirror-min.js in orchard
directory directly.

This changed the error of "CodeMirror" undefined to "Editor" undefined which
is now coming in orc-parser-min.js

I would like to know what these "min" files are? If I download codemirror js
files - they also do not contain these min files.

I noticed that it is using -min.js files based on the value of this mock
variable.

Kindly provide some more information on this to help me in setting this up..

-- Nihita

On Thu, Feb 3, 2011 at 4:02 AM, David Kitchin <dkitc...@cs.utexas.edu>wrote:

--
Nihita Goel
Tata Institute of Fundamental Research
Mumbai-400005

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nihita Goel  
View profile  
 More options Feb 5 2011, 4:44 am
From: Nihita Goel <nih...@tifr.res.in>
Date: Sat, 5 Feb 2011 15:14:34 +0530
Local: Sat, Feb 5 2011 4:44 am
Subject: Re: [orc-lang] Re: Deploying orchard on Tomcat

Hello:

I tried to do a fresh setup and got exactly the same error. In order to
deploy on Tomcat

1. Download and install tomcat from http://tomcat.apache.org/download-55.cgi
2. Copied the orchard.war to webapps directory
3. Copied all jars at orchard/lib directory to tomcat's common/endorsed
directory
4. Start tomcat and access the application at http://localhost:8080/orchard

However the browser gives a warning with details as given in the mail
earlier.

Please let me knoe how to go about resolving it.

Regards
Nihita

--
Nihita Goel
Tata Institute of Fundamental Research
Mumbai-400005

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »