glassfish « Development « Java Swing Q&A





1. GF3-1 Non GUI Installation and JVM option    java.net

First, check to see if you have enough memory on the system. Since you are running with 2GB, it is possible that with many other processes on the system and not enough swap space, you could be running out of memory at the system level. To do this, run the "top" program. At the top of the display is the amount ...

2. [GFv3.1] GUI doesn't accept DataSource class name    java.net

In GFv3 there is no more classpath prefix, so we only gave the native path prefix, but copied the driver JAR into domain1/lib, then restarted. When we try to create a JDBC Connection Pool, we have to say "unknown vendor" and give the DataSource's class name. We type it in and press Finish but GFv3 always says: "Must specify either Datasource ...

3. Glassfish 3.1 Admin GUI Crash    java.net

Hello, I am having a fairly serious problem with Glassfish v3.1. I had written several application, underglassfish 3.0, and after upgrading to 3.1, all of them began experincing problems (even after updating the applications to use the new libraries, etc...). I have had difficulty in processing JSF applications (the ELResolvers do not appear to get invoked, and the "web page" that ...

4. Building admin-gui and deploying it    java.net

> > Does anyone have any instructions on customizing the > admin console project? > We don't have any instructions writen up yet, but working on one. Can you tell us what is it that you want to modify in the login screen but doesn't seem to work and what other functions you want to customerize, maybe we can help.

5. asadmin gui won't start with deployed app    java.net

I'm already able to deploy the core of the application. When deploying the ear while glassfish is already running everything is fine. But when I then stop and re-start the server the admin gui won't start until I remove all artifacts of my app and restart again. Instead I can see the following error. I have a feeling that this happens ...

6. Admin GUI & Firefox 1.5.0.6    java.net

I originally (and now errantly) filed an Admin GUI bug for this. But I'm now finding out this is probably an issue with Firefox 1.5.0.6 or later. Can anyone else check this out and see if I'm not going crazy? So far I've confirmed it on the latest promos of both GF 1 & 2.

7. Is there a way to augment/extend the GF Admin GUI?    java.net

That is, is there a mechanism that lets us, perhaps, add nodes to the tree on the side and to call up pages that we can use without having to actually rebuild Glassfish, but rather install a stock Glassfish and then add a jar/war/etc. that the GUI sees and loads on server restart?

9. restart required and admin gui issue    java.net

I've a cluster and 2 server instances in the cluster.(build b33d-beta on windows.) the issue is that if I modify the cluster's configuration in a way that would require to restart the cluster, the Restart Required label does not appear on the admin gui (unless I explicitly click on Clusters and check the instances) , so people with less experience would ...





10. Admin gui via SSL    java.net

11. admin gui weirdness    java.net

12. CORBA.NO_PERMISSION when using GUI in ACC    java.net

--- Start Stack Trace (WebStart console) --- javax.ejb.EJBException: nested exception is: java.rmi.AccessException: CORBA NO_PERMISSION 0 No; nested exception is: org.omg.CORBA.NO_PERMISSION: ----------BEGIN server-side stack trace---------- org.omg.CORBA.NO_PERMISSION: vmcid: 0x0 minor code: 0 completed: No at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.handle_null_service_context(SecServerRequestInterceptor.java:393) at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:415) at com.sun.corba.ee.impl.interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:598) at com.sun.corba.ee.impl.interceptors.PIHandlerImpl.invokeServerPIIntermediatePoint(PIHandlerImpl.java:500) at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.getServantWithPI(CorbaServerRequestDispatcherImpl.java:377) at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:195) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1821) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1681) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1063) at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:179) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:781) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:538) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2542) at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:502)

15. domain.xml keeps getting corrupted, admin GUI not accessible, need help!    java.net

Since this is my first time using web services, I'm not quite sure how to answer your question. I can't remember everything I did, honestly, other than follow some online instructions on how to create a persistence unit, how to persist and entity, and how to pass this entity through a web service. The only thing special, really, was converting that ...

16. One EAR - multiple Swing Clients    java.net

Of course, NetBeans is handling the launch of the app client for you when you run the EAR from inside NetBeans. Because the EAR - and therefore the generated app client JAR - contains multiple app clients it seems that NetBeans cannot tell which app client you want to run, so it has no way of telling the ACC which one ...





17. app-client + jaas + swing = I am confused    java.net

I'll answer the injection question first - I did try with injection, but being honest, I am looking at converting one of our main apps over from the hodgepodge of evil that it is, to using glassfish. The program is somewhat large - somewhere in the range of 150 UI panels not to mention the logic behind them. While the injection ...

18. Self-cert SSL for admin gui    java.net

> I'm having an issue with getting the admin gui to run over SSL with a > given certificate. > > I believe that I have the certificate in the keystore correctly: > > glassfish/domains/domain1/config$ keytool -list -keystore > keystore.jks -alias chrissearle.net > Enter keystore password: > chrissearle.net, Jul 10, 2008, trustedCertEntry, > Certificate fingerprint (MD5): 01:91:81:C5:79:71:96:A3:EA: > 58:B4:16:CA:AC:F0:6E > the ...

19. admin gui login without credentials    java.net

Running Appserver 9.1_01 on Solaris sparc i created a domain. Admin port is 4849, SSL enabled. All ok. However. I can go to the admin page and make all modifications i want. Without logging in!!!! Going to Domain -> Administrator password i see that the role is asadmin but the User id is empty.

20. asadmin GUI    java.net

21. Client GUI Login problems    java.net

My aim: - To make use of server side annotations such as @RolesAllowed. - To present the user with a custom GUI login interface that only closes on successful login. - To be able to deny certain password-valid users (i.e. someone who is banned for a while). - For the client to display reasons for why the user couldn't log on. ...

22. Opinions Wanted: v3 GUI Prototype    java.net

I don't think Ken's email make it to the users alias, so i am doing it in the forum to ensure that the message reaches out to the community as the team would like to hear from everyone. You can respond to this thread or leave comments in any of our blogs:

24. Admin GUI roles?    java.net

> > Hi Sean, > > Sorry to say that Admin Console does not support Role Based Access > Control in both v2 and v3 preview. To do that requires > infrastructure improvements in the admin backend. This is > specified as CoreInfra-004 Feature in the V3 Core Infrastructure > Improvements doc and logged as a feature #4361 in the issue ...

27. JDBCRealm from Swing GUI    java.net

username = (String) loginInfo.get("username"); try { password = CryptUtils.getInstance().decodeText((byte[]) loginInfo.get("password")); } catch (Throwable e) { log.error(e); password = new String("unknown"); } // ------- // ------- // ------- try { log.debug("START: jdbcRealm"); ph = new CTMedikaClientPassiveCallbackHandler(username, password); lc = new LoginContext("jdbcRealm",ph); lc.login(); aa = (UserAuthenticationRemote)getRemote(UserAuthenticationRemote.class.getName()); aa.getUserByPassword(password); lc.logout(); log.debug("STOP: jdbcRealm"); } catch (Exception e) { log.error(e); } // ------- // ------- // ------- ...

28. LoginContext and Swing GUI    java.net

29. unable to logout of admin gui. GF 2.1.1    java.net

I am going crazy with this issue. I have multiple installs of GF 2.1.1 patch 04. developer (just domain) and enterprise profile (cluster). For some reason when I hit logout button in admin gui sitting on port 4848, it pops up an empty box with OK/Cancel options and does not actually log out. To make matter worse, anyone hitting https://gf:4848 is ...

32. install glassfish on a non gui system    java.net

Hi, I would like to install GlassFish on a remote system with no GUI installed. Actually it is a Fedora 11 system. I tried with a glassfish-xxxxxx.sh file that seams to run some .jar file Then I truel a glassfish-xxxxxx.jar file. Bout of them fail because the could not start de Graphic environment. Here is teh error reported: java.lang.InternalError: Can't connect ...