Skip to main content

v3 brand new installation. Admin console not working

28 replies [Last post]
gniontas
Offline
Joined: 2009-07-15
Points: 0

I went to http://localhost:4848 after a brand new installation.

It showed a page saying 'Admin console is loading' and then redirected to a blank page.
Now it just shows a blank page and the following error in the logs....

[#|2009-07-14T13:58:23.236-0700|INFO|glassfish|null|_ThreadID=18;_ThreadName=Thread-1;|AdminConsoleAdapter's STATE IS: The Admin Console is loading...|#]

[#|2009-07-14T13:58:23.471-0700|INFO|glassfish|javax.enterprise.resource.webcontainer.jsf.config|_ThreadID=17;_ThreadName=Thread-1;|Unsanitized stacktrace from failed start...
com.sun.faces.config.ConfigurationException:
Source Document: jndi:/__asadmin/WEB-INF/faces-config.xml
Cause: Unable to find class 'com.sun.webui.jsf.faces.UIComponentELResolver'
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:254)
at com.sun.faces.config.processor.ApplicationConfigProcessor.addELResolver(ApplicationConfigProcessor.java:470)
at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:278)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:207)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:311)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:208)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5022)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:5711)
at com.sun.enterprise.web.WebModule.start(WebModule.java:506)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:935)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:919)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:693)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2064)
at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1751)
at com.sun.enterprise.web.WebApplication.start(WebApplication.java:88)
at org.glassfish.internal.data.EngineRef.start(EngineRef.java:113)
at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:202)
at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:180)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:277)
at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:286)
at com.sun.enterprise.v3.admin.adapter.InstallerThread.load(InstallerThread.java:285)
at com.sun.enterprise.v3.admin.adapter.InstallerThread.run(InstallerThread.java:100)
|#]

C'mon glassfish team. It's a fucking brand new installation. This just tells me that glassfish is just lame and the glassfish developers and maintainers a bunch of losers.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
km
Offline
Joined: 2005-10-28
Points: 0
gniontas
Offline
Joined: 2009-07-15
Points: 0

Thanks km.

I tried adding a comment to that issue but I need to be a developer before I do that. I have submitted a request for the same.

In the meantime, can you add the following comment on my behalf (before it slips off the radar):

> I noticed that latest-glassfish-unix.sh does check for
> the jdk major and minor version. Here is the
> snippet:
>
> # We want 1.6 or newer
> if [ "$major" -eq "1" -a "$minor" -ge "6" ]; then
> echo "$j/java"
> return
> fi
> lt would be nice if it also checks for the revision no.

I'll start a new thread for the helpset file issue.

km
Offline
Joined: 2005-10-28
Points: 0

I guess Byron Nevins (the owner of the issue) is trying to resolve this by handling it in the
Java code instead. That keeps scripts easier to understand, I hope. Stay tuned till 8460 is
resolved.

I am wondering why you need to be a GlassFish developer before you can file bugs on GlassFish. That was not needed from what I heard previously.

Regards,
Kedar

jdlee
Offline
Joined: 2006-01-25
Points: 0

> I am wondering why you need to be a GlassFish
> developer before you can file bugs on GlassFish. That
> was not needed from what I heard previously.

If I recall correctly, you have to have at least Observer permissions to comment on an issue, though anyone can file one.

Mark Mielke

On 07/22/2009 02:24 PM, glassfish@javadesktop.org wrote:
> Ghosh.. are there any JAVA developers here in this community...?
>
> What part of "Cause: Unable to find class 'com.sun.webui.jsf.faces.UIComponentELResolver'" don't you understand tjsnell ?
>
> Surely, I don't need any help from you :)
>

For my own kicks... I downloaded glassfish-v3-web-preview-b55-unix.sh
and installed it with:

Fedora 11 (x86 64-bit)
Java 1.6.0_14

I changed the port to :4849 and :8081 to not conflict with my Glassfish
2.1 installation.

Guess what? It works fine. No problems. http://localhost:4849/ came
right up. Login succeeded.

For the original poster who truly does not deserve a response, I suggest:

1) Upgrade to Java 1.6.0_14.
2) Ensure that the permissions for your install are correct for the
user that you are running the server as.
3) Try something more recent than Fedora Core 4 - maybe Java is
having problems with older Linux kernel releases?

The steps I followed:

1) Download glassfish-v3-web-preview-b55-unix.sh
2) Install as /usr/java/glassfish-v3 with admin user and pass set
(I also set ports to :4849 and :8081)
3) Execute bin/asadmin start-domain
4) Access http://localhost:4849/ (use whatever port you set in 2)

Seems simple enough.

Cheers,
mark

--
Mark Mielke

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

cheeser
Offline
Joined: 2004-08-02
Points: 0

this is the latest promoted build: http://download.java.net/glassfish/v3/promoted/glassfish-v3-preview-b55.zip

Unzip that, start it, and see if the console works for you. It does for me.

Inside the directory created after unzipping, cd into glassfishv3/glassfish and run:

bin/asadmin --start-domain

then hit localhost:4848. you'll the see console.

And either you like to "shout" or you think that Java is an acronym. It's Java or even java but not JAVA. JAVA is stock symbol for Sun. Or at least it was before last week...

Martin, Ray

Would you please leave the forum - you said good-bye and that is what we
expect.

I have been on this forum for years. I will need to leave if you cannot
control yourself.

Can we have this - er - a - person's posts removed from an otherwise
quality forum? I am afraid he does not have enough intelligence to go
away even after he said good-bye.

-----Original Message-----
From: glassfish@javadesktop.org [mailto:glassfish@javadesktop.org]
Sent: Wednesday, July 22, 2009 2:24 PM
To: users@glassfish.dev.java.net
Subject: Re: v3 brand new installation. Admin console not working

Ghosh.. are there any JAVA developers here in this community...?

What part of "Cause: Unable to find class
'com.sun.webui.jsf.faces.UIComponentELResolver'" don't you understand
tjsnell ?

Surely, I don't need any help from you :) [Message sent by forum member
'gniontas' (gniontas)]

http://forums.java.net/jive/thread.jspa?messageID=357040

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

jdlee
Offline
Joined: 2006-01-25
Points: 0

> hmm.. I thought JAVA was platform independent.

It is, but some platforms can be different. Macs, for example, were a bit behind on updates until recently. I see you're on an SMP machine, and it's certainly conceivable that there are concurrency issues. I'd be surprised, to be honest, but you never know. Total swag. :)

> But since this is first time I got a rational
> response, I will give this another shot.

To be fair, as was noted in other thread, your requests have not been rational or professional. Toning down the attitude would help a lot. Despite that, I'll try to help.

> No, I haven't tried it on other systems and I don't
> think that should make a difference.

Well, it WOULD make a difference. If you can test the same installer on another system, you'll be able to tell if the installer is broken (if it fails on other machines) or if there's some sort of environmental issue on the box in question. Since we're trying to troubleshoot over a forum and can't see the box, it would certainly help at least to try and rule out what we can.

> It's really not so hard. The exception I pasted with
> first post should tell the whole story.
> "Cause: Unable to find class
> 'com.sun.webui.jsf.faces.UIComponentELResolver'"
>
> The question is why is it not able to find that
> class...

Right, which is what I'm trying to determine. That class comes from webui-jsf.jar, which should be in $GF_HOMElib/install/applications/__admingui/WEB-INF/lib/webui-jsf-4.3.0.8.jar. If you'd like, you can verify that the class is in the jar. Assuming the file is there, then there might be a Classloader issue. What would be really helpful is the server.log. If you could delete the current log ($GF_HOME/domains/domain1/logs/server.log, then start the server, we could see everything related to a single server start, which could go a long way toward finding the root cause.

So that leaves two action items:
1) Try on another machine
2) Post a server log

Doing those two things will help a lot.

Thanks.

cdonaldson
Offline
Joined: 2007-11-13
Points: 0

During the install process are you installing the bundled JDK or providing the global system install?

chameera
Offline
Joined: 2009-06-28
Points: 0

hehe..:) is he complaining on bunch of beta versions???

Wel amigoo If you judge it too quickly, you have no time to love it for its true remarks...

yifeng1
Offline
Joined: 2005-08-30
Points: 0

you are using jdk1.6.0_03, please use at least jdk1.6.0_13.

From release notes:

Required JDK Version

Installation of Sun GlassFish Enterprise Server v3 Preview requires JDKTM release 6.

The minimum (and certified) version of the JDK software that is required for Enterprise Server depends on the operating system:

*

For supported operating systems except MacOS, the minimum required version is 1.6.0_13.
*

For the MacOS operating system, the minimum required version is 1.6.0_07.

cdonaldson
Offline
Joined: 2007-11-13
Points: 0

This contributes to what I was getting at. It looks like you are using the system JRE, which is not a supported version, and it is quite possible that you are pointing to a JRE and not a JDK, which is not supported. This potential discrepancy goes away if you allow the installer to install the bundled JDK.

gniontas
Offline
Joined: 2009-07-15
Points: 0

Thank you for the suggestion. It was the JDK version after all.

Updating it to jdk1.6.0_14 solved the problem.

Now, I am back to another issue that I reported earlier. Admin application can't find the helpset file.

Here is the stack trace:

[#|2009-07-22T14:50:20.560-0700|WARNING|glassfish|com.sun.webui.jsf|_ThreadID=16;_ThreadName=Thread-1;|WEBUI0002: The following Message ID was not found in the the com.sun.webui.jsf.resources.LogMessages ResourceBundle: Can not create helpset for en locale: Could not parse
Got an IOException (Connection refused)
Parsing failed for null
Got an IOException (Connection refused)

Let me know if I can provide more info.

Going back to the original issue of jdk version. I noticed that latest-glassfish-unix.sh does check for the jdk major and minor version. Here is the snippet:

# We want 1.6 or newer
if [ "$major" -eq "1" -a "$minor" -ge "6" ]; then
echo "$j/java"
return
fi

It would be nice if it also checks for the revision no.

jdlee
Offline
Joined: 2006-01-25
Points: 0

> Thank you for the suggestion. It was the JDK version
> after all.
>
> Updating it to jdk1.6.0_14 solved the problem.

Excellent! I'm glad it was an easy fix, albeit rather subtle.

> Now, I am back to another issue that I reported
> earlier. Admin application can't find the helpset
> file.
>
> Here is the stack trace:
>
> [#|2009-07-22T14:50:20.560-0700|WARNING|glassfish|com.
> sun.webui.jsf|_ThreadID=16;_ThreadName=Thread-1;|WEBUI
> 0002: The following Message ID was not found in the
> the com.sun.webui.jsf.resources.LogMessages
> ResourceBundle: Can not create helpset for en locale:
> Could not parse
> Got an IOException (Connection refused)
> Parsing failed for null
> Got an IOException (Connection refused)

That I'm not real familiar with. Let me ask around the "office" and see what I can dig up. I do know that the OLH is under-going some overhauls. It should be functional, but I haven't done anything in that area, so I don't know off hand.

> Going back to the original issue of jdk version. I
> noticed that latest-glassfish-unix.sh does check for
> the jdk major and minor version. Here is the
> snippet:
>
> # We want 1.6 or newer
> if [ "$major" -eq "1" -a "$minor" -ge "6" ]; then
> echo "$j/java"
> return
> fi
> ld be nice if it also checks for the revision no.

It probably would. I'll try to file an RFE on that (or you can if you feel like it) and see what the build/RE teams think.

trejkaz
Offline
Joined: 2004-01-05
Points: 0

I just got tripped up on this exact issue on the final release... it's ridiculous that it will let you start the server on a known broken version of the JDK, and then force you to search for a couple of hours until you finally find an obscure solution like this.

gniontas
Offline
Joined: 2009-07-15
Points: 0

c'mon.. anybody???

All you busy people at glassfish.. does anyone fucking care about this project at all. Why don't you guys just post a message that you guys don't know what you all are doing and close this lame project.

Do you have any idea what you are doing to JAVA as a language?? You are killing it just by associating it with JAVA.

fuck you all

jdlee
Offline
Joined: 2006-01-25
Points: 0

To be honest, I'm not sure what to tell you. You haven't given us any details on your environment (OS, JDK, etc), so it's hard to say. I work on the Admin Console, and I can assure you it IS working correctly, as I use it all the time. Obviously, there's something falling apart, but, knowing what we know, which is nothing, really, it's impossible to tell.

Does a nightly build work? Is there another machine on which you can try the same installer? Is anyone else on your team having the same problem?

We DO have a QA team who takes a very careful look at each release. They're not going to catch everything, but they do a pretty good job of catching things we on the development team might miss. We would not ship a product, even a pre-release build like the promoted builds, with such a glaring bug.

If you could provide us with more details, we'll do our best to help, but please try not to be so rude and abusive. There's absolutely no need for that.

gniontas
Offline
Joined: 2009-07-15
Points: 0

hmm.. I thought JAVA was platform independent.

But since this is first time I got a rational response, I will give this another shot.

It's a Fedora Core 4 system.

This is what uname says:
Linux test 2.6.11-1.1369_FC4smp #1 SMP Thu Jun 2 23:08:39 EDT 2005 i686 i686 i386 GNU/Linux

Here is what java -version says:
$ java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)

JAVA_HOME points to the right directory.

No, I haven't tried it on other systems and I don't think that should make a difference.

It's really not so hard. The exception I pasted with first post should tell the whole story.
"Cause: Unable to find class 'com.sun.webui.jsf.faces.UIComponentELResolver'"

The question is why is it not able to find that class...

tjsnell
Offline
Joined: 2004-03-04
Points: 0

Platform independence does not mean you don't have to properly setup your environment. It means that when you do correct code will run.

If you really want help I'd suggest giving the additional information you were asked for (hint, he knows more than you about this stuff and isn't asking just for grins).

Or you continue the comical rants. Do you really want help?

gniontas
Offline
Joined: 2009-07-15
Points: 0

Ghosh.. are there any JAVA developers here in this community...?

What part of "Cause: Unable to find class 'com.sun.webui.jsf.faces.UIComponentELResolver'" don't you understand tjsnell ?

Surely, I don't need any help from you :)

tjsnell
Offline
Joined: 2004-03-04
Points: 0

.

Message was edited by: tjsnell

gniontas
Offline
Joined: 2009-07-15
Points: 0

Downloaded and installed prelude. Admin console shows up now. So, I'm pretty sure there is nothing wrong with the system or the setup.

But it's not over. The problem now is that the help page doesn't work.

[#|2009-07-20T22:37:04.755-0700|WARNING|glassfish|com.sun.webui.jsf|_ThreadID=18;_ThreadName=Thread-3;|WEBUI0002: The following Message ID was not found in the the com.sun.webui.jsf.resources.LogMessages ResourceBundle: Can not create helpset for en locale: javax.help.HelpSetException: Could not parse

yifeng1
Offline
Joined: 2005-08-30
Points: 0

hello,

would you like to try b55?

I have glassfish-v3-preview-b55.zip from http://download.java.net/glassfish/v3/promoted/
jdk1.6.0_14
solaris sparc

I can get to admin console without problem.

gniontas
Offline
Joined: 2009-07-15
Points: 0

Finally got a chance to spend some more time on glassfish.

b55 doesn't help. Same error:

Cause: Unable to find class 'com.sun.webui.jsf.faces.UIComponentELResolver'

Why is it so hard to find UIComponentELResolver class? Anybody who has worked on the build system should instantly know what's going on with the install. Please don't send me on a wild goose chase by saying.. "Oh install version X... if it doesn't work try version X+1 and so on....".

I can just find the right jar and put it in the path somewhere but I don't want to start with a new platform this way.

gniontas
Offline
Joined: 2009-07-15
Points: 0

hmm.. so who does the builds at glassfish. I suppose there is no point asking for QA team since there seems to be none. Only some lame developers trying to make something that they don't want anyone to be able to use :))

Alexis Moussine-Pouchkine

what version of GlassFish is that precisely?
-Alexis

On Jul 16, 2009, at 18:36, glassfish@javadesktop.org wrote:

> hmm.. so who does the builds at glassfish. I suppose there is no
> point asking for QA team since there seems to be none. Only some
> lame developers trying to make something that they don't want anyone
> to be able to use :))
> [Message sent by forum member 'gniontas' (gniontas)]
>
> http://forums.java.net/jive/thread.jspa?messageID=356046
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

gniontas
Offline
Joined: 2009-07-15
Points: 0

glassfish-v3-ea-b44.zip

anilam
Offline
Joined: 2005-03-29
Points: 0

> glassfish-v3-ea-b44.zip

Please use a more recent release.
v3 Preview release which happened in early June, corresponds to b47, can be downloaded from
https://glassfish.dev.java.net/downloads/v3-preview.html

More recent promoted build can be downloaded from
http://download.java.net/glassfish/v3/promoted/

and we are now at promoted build 55.

thanks
Anissa.