RE: Deploying emboss in Opal2

2011-07-11 Thread jeroen vannevel



 Date: Fri, 8 Jul 2011 10:39:16 -0700
 From: its_toas...@yahoo.com
 Subject: Re: Deploying emboss in Opal2
 To: users@tomcat.apache.org
 
 - Original Message -
 
  From: jeroen vannevel jer_vanne...@hotmail.com
  To: users@tomcat.apache.org
  Cc: 
  Sent: Friday, July 8, 2011 6:37 AM
  Subject: RE: Deploying emboss in Opal2
  
  
  
  
   Date: Fri, 8 Jul 2011 15:21:05 +0200
   From: a...@ice-sa.com
   To: users@tomcat.apache.org
   Subject: Re: Deploying emboss in Opal2
  
   jeroen vannevel wrote:


Date: Fri, 8 Jul 2011 14:04:37 +0200
From: a...@ice-sa.com
To: users@tomcat.apache.org
Subject: Re: Deploying emboss in Opal2
   
jeroen vannevel wrote:
Hello
 
I've installed Opal2 on my Tomcat 5.5.33 server and now 
  I'd like to make the emboss programs available in this.
I've been working on this for two days and I just seem to 
  trample at the same spot.
Perhaps someone has the required files or could tell me how to 
  deal with this specific case?
I've tried compiling all the emboss programs and put them 
  in a .war package but after uploading this to Tomcat I just keep getting 
  'The requested r=
esource () is not available.' error messages.
 
It is possible that someone here would not the emboss application, 
  but more likely that 
they would not.  This is just a preliminary to ask : does the 
  emboss program have a 
mailing list, and did you ask there ?
   
Other than that, it would help if you provide some additional 
  details :
- on what platform are you trying this ?
- where (in what directory) is Tomcat installed ?
- what is the path to the Tomcat webapps directory ?
- what is the name of your .war file ?
- how are you uploading your .war file to Tomcat ?
- where does the .war file end up when it is uploaded ?
- in the Tomcat configuration file ..(tomcat_dir)/conf/server.xml, 
  there is (at least) one 
Host tag.  Can you copy it here ?
   

They do, but I've just signed up there and I'm not sure if 
  it's a very active one. Figured I might as well test my luck and ask here.

As for additional information:

- Ubuntu 11.04
- /home/myname/Downloads/apache-tomcat-5.5.33/
- /home/myname/Downloads/apache-tomcat-5.5.33/webapps/
- emboss.war
- using the built-in File-Upload menu in Tomcat's Manager. (so the 
  2nd option to deploy an app)
- /home/myname/Downloads/apache-tomcat-5.5.33/webapps/emboss.war

Host name=localhost appBase=webapps
   unpackWARs=true autoDeploy=true
   xmlValidation=false 
  xmlNamespaceAware=false
   Alias10.0.102.165/Alias
/Host

   At first sight, that all looks good to me (except a detail irrelevant 
  here)
   Next questions :
   - what is the URL you use, to try to access this application ?
   - what do the Tomcat logfiles say ?
  
   .. and, if the URL you used was not the same, what happens when you try 
  to 
  access :
   http://your-host-name[:port]/emboss
  
  
   And the irrelevant detail is :
   If the above Host tag is the only one which is contained in the 
  server.xml file, then 
   the line
   Alias10.0.102.165/Alias
   is unnecessary.  Tomcat will default to this Host anyway for all accesses.
  
  The URL I use is http://localhost:8080/emboss, as you said it should be.
  Perhaps it is of use to know that http://localhost:8080/opal2 does work and 
  shows me the page I expect there.
  
  The logfiles from catalina.out when restarting the service and browsing to 
  the 
  emboss location:
  http://pastebin.com/UUn2dxmD
  
  
  I've used that Alias tag to try and get another program in opal2 to use 
  this 
  IP adress so it would've been accessible from somewhere else in the network.
  This failed, the application in opal2 (it was called Babel) kept linking to 
  http://localhost instead of the alias.
  Not that it really matters, we didn't need that application and it was for 
  testing purposes.
 
 
 The log files show that there is something else running on port 8080:
 
 SEVERE: Error initializing endpoint
 java.net.BindException: Address already in use:8080
 
 Are you running both Ubuntu's installation of Tomcat and one downloaded from 
 tomcat.apache.org?
 
 Just run one copy. You can get everything running in one Tomcat by using the 
 manager application and installing WAR files. See:
 
 http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html
 
 
 for how this works.
 
 Accessing Tomcat at port 8080 from another host should be fairly 
 straightforward. Just go to:
 
 http://ip-address:8080/opal2
 
 to get to the Opal 2 application (for example).
 
 If your hostname / IP address is in DNS (check with your network person), or 
 of the hostname / IP address exists in the other machine's host file, then:
 
 http://hostname:8080/opal2
 
 should work.
 
 I don't know Ubuntu Linux (I run Fedora), but accessing 
 http://hostname:8080/opal2 from a remote

Deploying emboss in Opal2

2011-07-08 Thread jeroen vannevel

Hello
 
I've installed Opal2 on my Tomcat 5.5.33 server and now I'd like to make the 
emboss programs available in this.
I've been working on this for two days and I just seem to trample at the same 
spot.
Perhaps someone has the required files or could tell me how to deal with this 
specific case?
I've tried compiling all the emboss programs and put them in a .war package but 
after uploading this to Tomcat I just keep getting 'The requested r=
esource () is not available.' error messages.
 
Yours
Jeroen V. 

Re: Deploying emboss in Opal2

2011-07-08 Thread André Warnier

jeroen vannevel wrote:

Hello
 
I've installed Opal2 on my Tomcat 5.5.33 server and now I'd like to make the emboss programs available in this.

I've been working on this for two days and I just seem to trample at the same 
spot.
Perhaps someone has the required files or could tell me how to deal with this 
specific case?
I've tried compiling all the emboss programs and put them in a .war package but 
after uploading this to Tomcat I just keep getting 'The requested r=
esource () is not available.' error messages.
 
It is possible that someone here would not the emboss application, but more likely that 
they would not.  This is just a preliminary to ask : does the emboss program have a 
mailing list, and did you ask there ?


Other than that, it would help if you provide some additional details :
- on what platform are you trying this ?
- where (in what directory) is Tomcat installed ?
- what is the path to the Tomcat webapps directory ?
- what is the name of your .war file ?
- how are you uploading your .war file to Tomcat ?
- where does the .war file end up when it is uploaded ?
- in the Tomcat configuration file ..(tomcat_dir)/conf/server.xml, there is (at least) one 
Host tag.  Can you copy it here ?




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Deploying emboss in Opal2

2011-07-08 Thread jeroen vannevel



 Date: Fri, 8 Jul 2011 14:04:37 +0200
 From: a...@ice-sa.com
 To: users@tomcat.apache.org
 Subject: Re: Deploying emboss in Opal2
 
 jeroen vannevel wrote:
  Hello
   
  I've installed Opal2 on my Tomcat 5.5.33 server and now I'd like to make 
  the emboss programs available in this.
  I've been working on this for two days and I just seem to trample at the 
  same spot.
  Perhaps someone has the required files or could tell me how to deal with 
  this specific case?
  I've tried compiling all the emboss programs and put them in a .war package 
  but after uploading this to Tomcat I just keep getting 'The requested r=
  esource () is not available.' error messages.
   
 It is possible that someone here would not the emboss application, but more 
 likely that 
 they would not.  This is just a preliminary to ask : does the emboss program 
 have a 
 mailing list, and did you ask there ?
 
 Other than that, it would help if you provide some additional details :
 - on what platform are you trying this ?
 - where (in what directory) is Tomcat installed ?
 - what is the path to the Tomcat webapps directory ?
 - what is the name of your .war file ?
 - how are you uploading your .war file to Tomcat ?
 - where does the .war file end up when it is uploaded ?
 - in the Tomcat configuration file ..(tomcat_dir)/conf/server.xml, there is 
 (at least) one 
 Host tag.  Can you copy it here ?
 

They do, but I've just signed up there and I'm not sure if it's a very active 
one. Figured I might as well test my luck and ask here.

As for additional information:

- Ubuntu 11.04
- /home/myname/Downloads/apache-tomcat-5.5.33/
- /home/myname/Downloads/apache-tomcat-5.5.33/webapps/
- emboss.war
- using the built-in File-Upload menu in Tomcat's Manager. (so the 2nd option 
to deploy an app)
- /home/myname/Downloads/apache-tomcat-5.5.33/webapps/emboss.war

Host name=localhost appBase=webapps
   unpackWARs=true autoDeploy=true
   xmlValidation=false xmlNamespaceAware=false
   Alias10.0.102.165/Alias
/Host

 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
  

Re: Deploying emboss in Opal2

2011-07-08 Thread André Warnier

jeroen vannevel wrote:




Date: Fri, 8 Jul 2011 14:04:37 +0200
From: a...@ice-sa.com
To: users@tomcat.apache.org
Subject: Re: Deploying emboss in Opal2

jeroen vannevel wrote:

Hello
 
I've installed Opal2 on my Tomcat 5.5.33 server and now I'd like to make the emboss programs available in this.

I've been working on this for two days and I just seem to trample at the same 
spot.
Perhaps someone has the required files or could tell me how to deal with this 
specific case?
I've tried compiling all the emboss programs and put them in a .war package but 
after uploading this to Tomcat I just keep getting 'The requested r=
esource () is not available.' error messages.
 
It is possible that someone here would not the emboss application, but more likely that 
they would not.  This is just a preliminary to ask : does the emboss program have a 
mailing list, and did you ask there ?


Other than that, it would help if you provide some additional details :
- on what platform are you trying this ?
- where (in what directory) is Tomcat installed ?
- what is the path to the Tomcat webapps directory ?
- what is the name of your .war file ?
- how are you uploading your .war file to Tomcat ?
- where does the .war file end up when it is uploaded ?
- in the Tomcat configuration file ..(tomcat_dir)/conf/server.xml, there is (at least) one 
Host tag.  Can you copy it here ?




They do, but I've just signed up there and I'm not sure if it's a very active 
one. Figured I might as well test my luck and ask here.

As for additional information:

- Ubuntu 11.04
- /home/myname/Downloads/apache-tomcat-5.5.33/
- /home/myname/Downloads/apache-tomcat-5.5.33/webapps/
- emboss.war
- using the built-in File-Upload menu in Tomcat's Manager. (so the 2nd option 
to deploy an app)
- /home/myname/Downloads/apache-tomcat-5.5.33/webapps/emboss.war

Host name=localhost appBase=webapps
   unpackWARs=true autoDeploy=true
   xmlValidation=false xmlNamespaceAware=false
   Alias10.0.102.165/Alias
/Host


At first sight, that all looks good to me (except a detail irrelevant here)
Next questions :
- what is the URL you use, to try to access this application ?
- what do the Tomcat logfiles say ?

.. and, if the URL you used was not the same, what happens when you try to 
access :
http://your-host-name[:port]/emboss


And the irrelevant detail is :
If the above Host tag is the only one which is contained in the server.xml file, then 
the line

Alias10.0.102.165/Alias
is unnecessary.  Tomcat will default to this Host anyway for all accesses.



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Deploying emboss in Opal2

2011-07-08 Thread jeroen vannevel



 Date: Fri, 8 Jul 2011 15:21:05 +0200
 From: a...@ice-sa.com
 To: users@tomcat.apache.org
 Subject: Re: Deploying emboss in Opal2
 
 jeroen vannevel wrote:
  
  
  Date: Fri, 8 Jul 2011 14:04:37 +0200
  From: a...@ice-sa.com
  To: users@tomcat.apache.org
  Subject: Re: Deploying emboss in Opal2
 
  jeroen vannevel wrote:
  Hello
   
  I've installed Opal2 on my Tomcat 5.5.33 server and now I'd like to make 
  the emboss programs available in this.
  I've been working on this for two days and I just seem to trample at the 
  same spot.
  Perhaps someone has the required files or could tell me how to deal with 
  this specific case?
  I've tried compiling all the emboss programs and put them in a .war 
  package but after uploading this to Tomcat I just keep getting 'The 
  requested r=
  esource () is not available.' error messages.
   
  It is possible that someone here would not the emboss application, but 
  more likely that 
  they would not.  This is just a preliminary to ask : does the emboss 
  program have a 
  mailing list, and did you ask there ?
 
  Other than that, it would help if you provide some additional details :
  - on what platform are you trying this ?
  - where (in what directory) is Tomcat installed ?
  - what is the path to the Tomcat webapps directory ?
  - what is the name of your .war file ?
  - how are you uploading your .war file to Tomcat ?
  - where does the .war file end up when it is uploaded ?
  - in the Tomcat configuration file ..(tomcat_dir)/conf/server.xml, there 
  is (at least) one 
  Host tag.  Can you copy it here ?
 
  
  They do, but I've just signed up there and I'm not sure if it's a very 
  active one. Figured I might as well test my luck and ask here.
  
  As for additional information:
  
  - Ubuntu 11.04
  - /home/myname/Downloads/apache-tomcat-5.5.33/
  - /home/myname/Downloads/apache-tomcat-5.5.33/webapps/
  - emboss.war
  - using the built-in File-Upload menu in Tomcat's Manager. (so the 2nd 
  option to deploy an app)
  - /home/myname/Downloads/apache-tomcat-5.5.33/webapps/emboss.war
  
  Host name=localhost appBase=webapps
 unpackWARs=true autoDeploy=true
 xmlValidation=false xmlNamespaceAware=false
 Alias10.0.102.165/Alias
  /Host
  
 At first sight, that all looks good to me (except a detail irrelevant here)
 Next questions :
 - what is the URL you use, to try to access this application ?
 - what do the Tomcat logfiles say ?
 
 .. and, if the URL you used was not the same, what happens when you try to 
 access :
 http://your-host-name[:port]/emboss
 
 
 And the irrelevant detail is :
 If the above Host tag is the only one which is contained in the server.xml 
 file, then 
 the line
 Alias10.0.102.165/Alias
 is unnecessary.  Tomcat will default to this Host anyway for all accesses.
 
The URL I use is http://localhost:8080/emboss, as you said it should be.
Perhaps it is of use to know that http://localhost:8080/opal2 does work and 
shows me the page I expect there.

The logfiles from catalina.out when restarting the service and browsing to the 
emboss location:
http://pastebin.com/UUn2dxmD


I've used that Alias tag to try and get another program in opal2 to use this IP 
adress so it would've been accessible from somewhere else in the network.
This failed, the application in opal2 (it was called Babel) kept linking to 
http://localhost instead of the alias.
Not that it really matters, we didn't need that application and it was for 
testing purposes.
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
  

Re: Deploying emboss in Opal2

2011-07-08 Thread Mark Eggers
- Original Message -

 From: jeroen vannevel jer_vanne...@hotmail.com
 To: users@tomcat.apache.org
 Cc: 
 Sent: Friday, July 8, 2011 6:37 AM
 Subject: RE: Deploying emboss in Opal2
 
 
 
 
  Date: Fri, 8 Jul 2011 15:21:05 +0200
  From: a...@ice-sa.com
  To: users@tomcat.apache.org
  Subject: Re: Deploying emboss in Opal2
 
  jeroen vannevel wrote:
   
   
   Date: Fri, 8 Jul 2011 14:04:37 +0200
   From: a...@ice-sa.com
   To: users@tomcat.apache.org
   Subject: Re: Deploying emboss in Opal2
  
   jeroen vannevel wrote:
   Hello
    
   I've installed Opal2 on my Tomcat 5.5.33 server and now 
 I'd like to make the emboss programs available in this.
   I've been working on this for two days and I just seem to 
 trample at the same spot.
   Perhaps someone has the required files or could tell me how to 
 deal with this specific case?
   I've tried compiling all the emboss programs and put them 
 in a .war package but after uploading this to Tomcat I just keep getting 
 'The requested r=
   esource () is not available.' error messages.
    
   It is possible that someone here would not the emboss application, 
 but more likely that 
   they would not.  This is just a preliminary to ask : does the 
 emboss program have a 
   mailing list, and did you ask there ?
  
   Other than that, it would help if you provide some additional 
 details :
   - on what platform are you trying this ?
   - where (in what directory) is Tomcat installed ?
   - what is the path to the Tomcat webapps directory ?
   - what is the name of your .war file ?
   - how are you uploading your .war file to Tomcat ?
   - where does the .war file end up when it is uploaded ?
   - in the Tomcat configuration file ..(tomcat_dir)/conf/server.xml, 
 there is (at least) one 
   Host tag.  Can you copy it here ?
  
   
   They do, but I've just signed up there and I'm not sure if 
 it's a very active one. Figured I might as well test my luck and ask here.
   
   As for additional information:
   
   - Ubuntu 11.04
   - /home/myname/Downloads/apache-tomcat-5.5.33/
   - /home/myname/Downloads/apache-tomcat-5.5.33/webapps/
   - emboss.war
   - using the built-in File-Upload menu in Tomcat's Manager. (so the 
 2nd option to deploy an app)
   - /home/myname/Downloads/apache-tomcat-5.5.33/webapps/emboss.war
   
   Host name=localhost appBase=webapps
          unpackWARs=true autoDeploy=true
          xmlValidation=false 
 xmlNamespaceAware=false
          Alias10.0.102.165/Alias
   /Host
   
  At first sight, that all looks good to me (except a detail irrelevant here)
  Next questions :
  - what is the URL you use, to try to access this application ?
  - what do the Tomcat logfiles say ?
 
  .. and, if the URL you used was not the same, what happens when you try to 
 access :
  http://your-host-name[:port]/emboss
 
 
  And the irrelevant detail is :
  If the above Host tag is the only one which is contained in the 
 server.xml file, then 
  the line
  Alias10.0.102.165/Alias
  is unnecessary.  Tomcat will default to this Host anyway for all accesses.
 
 The URL I use is http://localhost:8080/emboss, as you said it should be.
 Perhaps it is of use to know that http://localhost:8080/opal2 does work and 
 shows me the page I expect there.
 
 The logfiles from catalina.out when restarting the service and browsing to 
 the 
 emboss location:
 http://pastebin.com/UUn2dxmD
 
 
 I've used that Alias tag to try and get another program in opal2 to use this 
 IP adress so it would've been accessible from somewhere else in the network.
 This failed, the application in opal2 (it was called Babel) kept linking to 
 http://localhost instead of the alias.
 Not that it really matters, we didn't need that application and it was for 
 testing purposes.


The log files show that there is something else running on port 8080:

SEVERE: Error initializing endpoint
java.net.BindException: Address already in use:8080

Are you running both Ubuntu's installation of Tomcat and one downloaded from 
tomcat.apache.org?

Just run one copy. You can get everything running in one Tomcat by using the 
manager application and installing WAR files. See:

http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html


for how this works.

Accessing Tomcat at port 8080 from another host should be fairly 
straightforward. Just go to:

http://ip-address:8080/opal2

to get to the Opal 2 application (for example).

If your hostname / IP address is in DNS (check with your network person), or of 
the hostname / IP address exists in the other machine's host file, then:

http://hostname:8080/opal2

should work.

I don't know Ubuntu Linux (I run Fedora), but accessing 
http://hostname:8080/opal2 from a remote machine might also run into some 
firewall issues. In Fedora, I would add the following line to 
/etc/sysconfig/ipatables and restart the firewall.

-A INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -s 192.168.0.0/24 -j 
ACCEPT

Adjust the 192.168.0.0/24 to meet your needs. I suspect