dev@glassfish.java.net

Unable to migrate a Tomcat 5.5 webapp to Glassfish

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Sat, 17 Dec 2005 18:42:40 -0500

Just read that on the forum. Can someone from the security team follow
up. We should try to support such simple apps in GlassFish.

Thanks

-- Jeanfrancois

> migrating a web-application Tomcat 5.5 --> Glassfish
> Posted: Dec 17, 2005 12:13 PM
> Click to reply to this topic Reply
>
> Dear friends,
>
> I have a web-application that runs well in the Tomcat 5.5 and also in the Websphere 6.1.
>
> I downloaded the latest promoted build of Glassfish, follow the QuickStartGuide and everything was ok until I try to deploy my war file.
>
> Using the admin page, I got a sucessfuly deploy but the web-application didnīt started up. The application page opened, but any path I tried returned a blank page.
>
> How to proceed?
>
> vbkraemer
>
> Posts: 10
>
> Re: migrating a web-application Tomcat 5.5 --> Glassfish
> Posted: Dec 17, 2005 1:21 PM
> Click to reply to this topic Reply
>
> Have you looked in the server's error log file?
>
> The name of the file is server.log... it should be in <install-dir>/domains/domain1/logs/server.log.
>
> That may have some help information.
>
> To get much more help via this forum, you may need to describe your app, etc. in a bit more detail.
>
> vbk
>
> felipegaucho
>
> Posts: 10
>
> Re: migrating a web-application Tomcat 5.5 --> Glassfish
> Posted: Dec 17, 2005 2:38 PM
> Click to reply to this topic Reply
>
> The project is the Cejug-Classifieds: https://cejug-classifieds.dev.java.net/
>
> all code available through CVS - Check out source code with a CVS client. For example:
>
> cvs -d ;pserver:guest_at_cvs.dev.java.net:/cvs login
>
> followed by
>
> cvs -d ;pserver:guest_at_cvs.dev.java.net:/cvs checkout cejug-classifieds
>
>
> The cejug-classifieds is a web-app that include JAAS features, and the problem seems related to the security issues:
>
> [#|2005-12-17T16:16:32.671-0200|INFO|sun-appserver-pe9.0|javax.enterprise.system.core.security|_ThreadID=14;_ThreadName=Thread-31;|JACC Policy Provider: PolicyWrapper.implies, context(null)- permission((java.util.PropertyPermission java.security.manager write)) domain that failed(ProtectionDomain (file:/E:/glassfish/domains/domain1/applications/j2ee-modules/cejug-classifieds/WEB-INF/classes/net/java/dev/cejug/classifieds/filter/JaasFilter.class <no signer certificates>;)
> WebappClassLoader
> delegate: true
> repositories:
> /WEB-INF/classes/
> ----------> Parent Classloader:
> EJBClassLoader :
> urlSet = []
> doneCalled = false
> Parent -> java.net.URLClassLoader_at_1724a9d
>
>
> <no principals>
> java.security.Permissions_at_1ba49d (
> (javax.security.auth.PrivateCredentialPermission javax.resource.spi.security.PasswordCredential * "*" read)
> (org.apache.naming.JndiPermission