From: Guillermo M. P. <gui...@si...> - 2013-02-19 09:36:20
|
Hello, I managed to fix the problem. It was an issue with *.jar inside tomcat's lib folder. Opal 2.6 working with tomcat7. Gonna try to setup a first service wrapper and GSI security. On 02/19/2013 09:32 AM, Guillermo Marco Puche wrote: > Hello, > > I deleted previous opal version, filled in config files > opal/etc/opal.properties and build.properties > Stopped tomcat7 server. Built new opal version with: sudo ant install: > > $ sudo ant install > Buildfile: build.xml > setenv: > [mkdir] Created dir: /opt/web/opal/build > [mkdir] Created dir: /opt/web/opal/build/classes > compile: > Trying to override old definition of task wsdl2java > setenv: > generateStubs: > [mkdir] Created dir: /opt/web/opal/build/gen > [wsdl2java] WSDL2Java /opt/web/opal/wsdl/opal.wsdl > [javac] Compiling 31 source files to /opt/web/opal/build/classes > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > [javac] Compiling 99 source files to /opt/web/opal/build/classes > [javac] Note: Some input files use or override a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > [copy] Copying 2 files to /opt/web/opal/build/classes > jar: > [mkdir] Created dir: /opt/web/opal/build/jar > [jar] Building jar: /opt/web/opal/build/jar/opal-ws-2.5.jar > install: > [copy] Copying 339 files to /usr/tomcat7/webapps > [copy] Copying 1 file to /usr/tomcat7/webapps/opal2/WEB-INF/lib > [copy] Copying 13 files to /usr/tomcat7/webapps/opal2/WEB-INF/lib > [copy] Copying 1 file to /opt/web/opal/etc > [copy] Copying 1 file to /opt/web/opal/etc > [move] Moving 1 file to /usr/tomcat7/webapps/opal2/WEB-INF/classes > [copy] Copying 1 file to /usr/tomcat7/webapps/opal2/WEB-INF/classes > [copy] Copying 13 files to /usr/tomcat7/webapps/opal2/WEB-INF/lib > [copy] Copying 11 files to /usr/tomcat7/webapps/opal2/WEB-INF/lib > [copy] Copying 9 files to /usr/tomcat7/lib > [copy] Copying 1 file to /usr/tomcat7/lib > [copy] Copying 1 file to /usr/tomcat7/lib > [copy] Copying 1 file to /usr/tomcat7/webapps/opal2/WEB-INF/classes > [copy] Copying 1 file to /usr/tomcat7/webapps/opal2/WEB-INF/classes > BUILD SUCCESSFUL > Total time: 4 seconds > > Started tomat7 server, home page works (172.19.0.12:8080). > When I try to access http://172.19.0.12:8080/opal2/happyaxis.jsp I get > 404 error from tomcat. > I've no idea what'she problem. Maybe a permission issue? > > My tomcat7 install is located on /usr/tomcat7: > > $ ls -l /usr/tomcat7/ > total 124 > drwxr-xr-x. 2 tomcat tomcat 4096 Feb 18 11:00 bin > drwxr-xr-x. 4 tomcat tomcat 4096 Feb 18 05:11 common > drwxr-xr-x. 3 tomcat tomcat 4096 Feb 18 10:58 conf > drwxr-xr-x. 2 tomcat tomcat 4096 Feb 19 02:20 lib > -rw-r--r--. 1 tomcat tomcat 56812 Jan 10 23:55 LICENSE > drwxr-xr-x. 2 tomcat tomcat 4096 Feb 19 02:21 logs > -rw-r--r--. 1 tomcat tomcat 1192 Jan 10 23:55 NOTICE > -rw-r--r--. 1 tomcat tomcat 8826 Jan 10 23:55 RELEASE-NOTES > -rw-r--r--. 1 tomcat tomcat 16163 Jan 10 23:55 RUNNING.txt > drwxr-xr-x. 3 tomcat tomcat 4096 Feb 18 05:11 server > drwxr-xr-x. 2 tomcat tomcat 4096 Feb 18 02:45 temp > drwxr-xr-x. 8 tomcat tomcat 4096 Feb 18 11:28 webapps > drwxr-xr-x. 3 tomcat tomcat 4096 Feb 18 02:48 work > > webapps dir: > > $ ls -l /usr/tomcat7/webapps/opal2/ > total 72 > drwxr-xr-x. 2 tomcat tomcat 4096 Feb 19 02:20 css > drwxr-xr-x. 2 tomcat tomcat 4096 Feb 19 02:20 dashboard-jsp > -rw-r--r--. 1 tomcat tomcat 9912 Feb 19 02:20 fingerprint.jsp > -rw-r--r--. 1 tomcat tomcat 15524 Feb 19 02:20 happyaxis.jsp > -rw-r--r--. 1 tomcat tomcat 7335 Feb 19 02:20 i18nLib.jsp > drwxr-xr-x. 4 tomcat tomcat 4096 Feb 19 02:20 images > -rw-r--r--. 1 tomcat tomcat 582 Feb 19 02:20 index.html > -rw-r--r--. 1 tomcat tomcat 2282 Feb 19 02:20 index.jsp > drwxr-xr-x. 2 tomcat tomcat 4096 Feb 19 02:20 opalGUI-jsp > drwxr-xr-x. 2 tomcat tomcat 4096 Feb 19 02:20 scripts > drwxr-xr-x. 3 tomcat tomcat 4096 Feb 19 02:20 viewer > drwxr-xr-x. 5 tomcat tomcat 4096 Feb 19 02:20 WEB-INF > > And opal installation is located under /opt/web/opal/: > > $ ls -l /opt/web/opal/ > total 80 > drwxr-xr-x. 5 gmarco users 4096 Feb 19 02:20 build > -rw-r--r--. 1 gmarco users 350 Feb 19 02:18 build.properties > -rw-r--r--. 1 gmarco users 17873 Feb 19 00:47 build.xml > -rw-r--r--. 1 gmarco users 8924 Feb 19 00:47 CHANGELOG > drwxr-xr-x. 2 gmarco users 4096 Feb 19 02:12 configs > drwxr-xr-x. 3 gmarco users 4096 Feb 19 02:12 docs > drwxr-xr-x. 2 gmarco users 4096 Feb 19 02:20 etc > drwxr-xr-x. 3 gmarco users 4096 Feb 19 02:12 lib > -rw-r--r--. 1 gmarco users 1786 Feb 19 00:47 LICENSE > -rw-r--r--. 1 gmarco users 511 Feb 19 00:47 README > drwxr-xr-x. 2 gmarco users 4096 Feb 19 02:12 samples > drwxr-xr-x. 5 gmarco users 4096 Feb 19 00:47 src > drwxr-xr-x. 3 gmarco users 4096 Feb 19 00:47 webapps > drwxr-xr-x. 2 gmarco users 4096 Feb 19 02:12 wsdl > > Tomcat7 install guide I've followed is this one: > http://www.server-world.info/en/note?os=CentOS_6&p=tomcat7 > > Thanks. > > Best regards, > Guillermo. > > > On 02/19/2013 01:03 AM, Luca Clementi wrote: >> On Mon, Feb 18, 2013 at 4:48 AM, Guillermo Marco Puche >> <gui...@si...> wrote: >>> Hello, >>> >>> I just installed Opal over my tomcat 7 server. >>> >>> My happyaxis.jsp test page is showing the following error: >> Hey, >> The current version of opal 2.4 does not support tomcat 7 or tomcat 6, >> but only tomcat 5. >> See the doc:http://www.nbcr.net/data/docs/opal/docs/2.X/serverprerequisites.html >> >> In the source code we have a new version which works with tomcat 7. I >> haven't pushed it out as a new release yet though. >> >> I sent you a link from which you can download the source code of opal 2.6 >> In case you haven't received here is the link: >> http://we.tl/7O6ZoGVLEE >> >> Could you test it and let me know if you have any problem? >> >> Luca >> >> PS: Guillermo sorry for the duplicate emails... > > > -- > <http://i.imgur.com/1MjpCpe.png> *g.marco*: Informatician at Sistemas > Genómicos S.L <#> > phone: 0034635197460 <callto:0034635197460> > web: www.sistemasgenomicos.com <http://www.sistemasgenomicos.com> > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > > > _______________________________________________ > Opaltoolkit-users mailing list > Opa...@li... > https://lists.sourceforge.net/lists/listinfo/opaltoolkit-users -- <http://i.imgur.com/1MjpCpe.png> *g.marco*: Informatician at Sistemas Genómicos S.L <#> phone: 0034635197460 <callto:0034635197460> web: www.sistemasgenomicos.com <http://www.sistemasgenomicos.com> |