The Source for Java Technology Collaboration
Webmaster Alert: Posting to Jive Forums is currently not working. Estimated time for fix is unknown.

Home » java.net Forums » GlassFish » GlassFish

Thread: Glassfish v2.1 HTTP500 ( admin console )

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 5 - Last Post: Mar 6, 2009 7:58 AM by: pietro321
pietro321

Posts: 5
Glassfish v2.1 HTTP500 ( admin console )
Posted: Mar 5, 2009 4:45 AM
  Click to reply to this thread Reply

Hi,
when app is deployd on cluster, in admin console
Applications > Enterprise Applications > MyNameOfApp > tab Target

I get
HTTP Status 500 -

type Exception report

message

descriptionThe server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: java.lang.reflect.InvocationTargetException while attempting to process a 'command' event for 'targetTab'.

root cause

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException while attempting to process a 'command' event for 'targetTab'.

root cause

java.lang.reflect.InvocationTargetException

root cause

java.lang.RuntimeException: Attempted to get input value 'encoding', however, this is not a declared input parameter in handler definition 'urlencode'! Check your handler and/or the XML (near LayoutElement 'targetTab')

note The full stack traces of the exception and its root causes are available in the Sun GlassFish Enterprise Server v2.1 logs.


Any ideas?

anilam

Posts: 159
Re: Glassfish v2.1 HTTP500 ( admin console )
Posted: Mar 5, 2009 7:54 AM   in response to: pietro321
  Click to reply to this thread Reply

What version of GlassFish v2 are you running ?
I believe you have the wrong version of jsftemplating in your installation which probably is due to upgrade. Did you do any upgrade or this is just through download and install ?
Please do the following:

%asadmin version --verbose=true

and also
%cd <AS>/lib/install/applications/admingui/adminGUI_war/WEB-INF/lib
%ls -l

I would like to see the jars you have and the size.

thanks
Anissa

pietro321

Posts: 5
Re: Glassfish v2.1 HTTP500 ( admin console )
Posted: Mar 6, 2009 12:59 AM   in response to: anilam
  Click to reply to this thread Reply

pgftest1# uname -a
SunOS pgftest1 5.10 Generic_137138-09 i86pc i386 i86pc
pgftest1# ls -l /opt/glassfish/SUNWappserver/lib/install/applications/admingui/adminGUI_war/WEB-INF/lib/
total 29922
-rw-r--r-- 1 glassfish staff 48700 Feb 9 10:10 admin-en.jar
-rw-r--r-- 1 glassfish staff 2100906 Feb 9 10:10 admin-jsf.jar
-rw-r--r-- 1 glassfish staff 420414 Feb 9 10:10 admin.jar
-rw-r--r-- 1 glassfish staff 190490 Feb 9 10:10 ajax-wrapper-comp-1.0.2.jar
-rw-r--r-- 1 glassfish staff 31909 Feb 9 10:10 commons-fileupload-1.1.1.jar
-rw-r--r-- 1 glassfish staff 65621 Feb 9 10:10 commons-io-1.2.jar
-rw-r--r-- 1 glassfish staff 101509 Feb 9 10:10 dataprovider.jar
-rw-r--r-- 1 glassfish staff 4687844 Feb 9 10:10 dojo-0.4.1-ajax.jar
-rw-r--r-- 1 glassfish staff 1044889 Feb 9 10:10 help.jar
-rw-r--r-- 1 glassfish staff 36756 Feb 9 10:10 jsfcompounds-0.0.2.jar
-rw-r--r-- 1 glassfish staff 422259 Feb 9 10:10 jsftemplating-1.2-SAILFIN.jar
-rw-r--r-- 1 glassfish staff 132712 Feb 9 10:10 jsftemplating-dynafaces-0.1-1.0.jar
-rw-r--r-- 1 glassfish staff 132712 Jan 29 15:35 jsftemplating-dynafaces-0.1.jar
-rw-r--r-- 1 glassfish staff 423089 Jan 29 15:35 jsftemplating.jar
-rw-r--r-- 1 glassfish staff 38560 Feb 9 10:10 json.jar
-rw-r--r-- 1 glassfish staff 14443 Feb 9 10:10 prototype-1.5.0.jar
-rw-r--r-- 1 glassfish staff 487333 Feb 9 10:10 webui-jsf-suntheme.jar
-rw-r--r-- 1 glassfish staff 4023741 Feb 9 10:10 webui-jsf.jar
pgftest1# ./asadmin version --verbose=true
Unable to communicate with admin server, getting version locally.
Version = Sun GlassFish Enterprise Server v2.1 (9.1.1) (build b60e-fcs)
Command version executed successfully.

pietro321

Posts: 5
Re: Glassfish v2.1 HTTP500 ( admin console )
Posted: Mar 6, 2009 3:07 AM   in response to: pietro321
  Click to reply to this thread Reply

I think the problem is that first we installed
sjsas-9_1_02-solaris-i586.bin ( Jan 29 15:35 )
and then we upgraded v2.1 into same the same directory newer version
sges-2_1-solaris-i586.bin (Feb 9 10:10 )

so this kind of upgrade has mixed libraries

Should I just delete files with timestamp Jan 29 15:35 ?

anilam

Posts: 159
Re: Glassfish v2.1 HTTP500 ( admin console )
Posted: Mar 6, 2009 7:33 AM   in response to: pietro321
  Click to reply to this thread Reply

Hi,
Just as i expected, your upgrade to GF2.1 ends up with duplicate copies of jsftemplating jars. This is a bug in the upgrade tool, i will file a bug for that.

-rw-r--r-- 1 glassfish staff 422259 Feb 9 10:10 jsftemplating-1.2-SAILFIN.jar
-rw-r--r-- 1 glassfish staff 132712 Feb 9 10:10 jsftemplating-dynafaces-0.1-1.0.jar
-rw-r--r-- 1 glassfish staff 132712 Jan 29 15:35 jsftemplating-dynafaces-0.1.jar
-rw-r--r-- 1 glassfish staff 423089 Jan 29 15:35 jsftemplating.jar

Please delete these 2 jars
-rw-r--r-- 1 glassfish staff 423089 Jan 29 15:35 jsftemplating.jar
-rw-r--r-- 1 glassfish staff 132712 Jan 29 15:35 jsftemplating-dynafaces-0.1.jar

restart the server, and you should be fine.

thanks.
Anissa

pietro321

Posts: 5
Re: Glassfish v2.1 HTTP500 ( admin console )
Posted: Mar 6, 2009 7:58 AM   in response to: anilam
  Click to reply to this thread Reply

Yes, now it works, thanx




 XML java.net RSS