I'm using Netbeans 7, JEE project with application client, stateless ejb with remote interface, and JPA entity clasess made from sql script. Interfaces are in separate library project which is referenced in ejb and client project. **And the problem is the remote method that use custom interface object made from entity class cannot be returned. Serialized probably.** Remote methods that use standard types work properly. You can look exceptions at the error code: Exception in thread "AWT-EventQueue-0" javax.ejb.EJBException: java.rmi.RemoteException: CORBA NO_IMPLEMENT 1398079489 Maybe; and this one: Caused by: java.lang.ClassNotFoundException: entity_klase.Varalica (no security manager: RMI class loader disabled) I'm suspecting that …

Member Avatar
+0 forum 0

If i have a jar file on a server, and i have a program that needs to use the file as a dependency on the server also. How could i patch up the code to build without the dependecy before i deploy it. I know it can use the dependency once it is up on the server, but if i take it out now in the IDE it will give errors. How do i get around this?

Member Avatar
Member Avatar
+0 forum 1

Suppose i have a standalone java project that performs two main functions, send and recieve. I want to deploy it to the glassfish server to be used just like that. An EJB connects to it though a resource adapter, and i just want it to run one of those methods, and return a log. Forget about the log for now, would i leave the project a plain project and deploy the jar? should it be a web project? Also if anyone know, i'm starting a thread pool in the resource adapter, and i want to send a thread to the …

Member Avatar
+0 forum 0

Suppose i have a standalone java project that performs two main functions, send and recieve. I want to deploy it to the glassfish server to be used just like that. An EJB connects to it though a resource adapter, and i just want it to run one of those methods, and return a log. Forget about the log for now, would i leave the project a plain project and deploy the jar? should it be a web project? Also if anyone know, i'm starting a thread pool in the resource adapter, and i want to send a thread to the …

Member Avatar
+0 forum 0

I'm trying to create a jUnit test for my EJB's and if my app just contains a few beans everything's all good but as soon as I incorporate JPA and entity-classes my jUnit test blows up. My test fails at ejbContainer = javax.ejb.embeddable.EJBContainer.createEJBContainer(); and the stack trace says the following: > apr 03, 2012 6:28:05 FM org.glassfish.deployment.admin.DeployCommand execute SEVERE: Exception while preparing the app : Invalid resource : robbandsresor__pm com.sun.appserv.connectors.internal.api.ConnectorRuntimeException: Invalid resource : robbandsresor__pm I'm using NetBeans 7.1 and GlassFish 3.1.x (and jUnit 4) and this is a simple web application, and my Persistency Unit was created by NetBeans wizard …

Member Avatar
Member Avatar
+0 forum 1

Hello! I am newbie in creating enteprise applications. I need some help. I managed to configure hibernate correctly. It is connecting directly to MySQL server - everything works well. I want to develop application for small company. I wanted to leave it like that, but I have read that application should connect to application server such as GlassFish, not directly to databse. Is that true? Or can I connect directly to database?

Member Avatar
+0 forum 0

I have Oracle 8i installed in my PC And i Installed NetBeans7.0rc2 with glassfish server It shows an error that the glassfish server cannot be started SEVERE: Shutting down v3 due to startup exception : No free port within range: 8080=com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectorHandler@187955b i want to chnage the default port number 8080 of glassfish server help me plssssssssss

Member Avatar
Member Avatar
+0 forum 2

Hi, I have developed a web application using NetBeans and GlassFish v3. Now I want to change to Apache Tomcat, beacause of the unavalabilty of free GlassFish web hosting. So, my question is that, can I change my fully built web application to Apache Tomcat from GlassFish and [B]If yes how[/B]? I have not used struts or anything. My project only contains jsp files, servlets and java class files. I have googled for the same and most results show how to switch from tomcat to glassfish, opposite of what I am looking for. P.S. If you can suggest a free …

Member Avatar
Member Avatar
+0 forum 5

i'm building an web application using jsp, and i use the default server: glassfish v3. my application is used for recommending item and give prediction. But when i'm running it, i got this [B]WARNING: Interrupting idle Thread: http-thread-pool-17667[/B]...i've changed the wait_timeout,interactive_time out in mysql to 3...what should i do???i'm using a large database, and i'm ready to wait as long as it will takes, but the result show me nothing, the jps page show nothing, and i get this WARNING: Interrupting idle Thread: http-thread-pool-17667 in glassfish v3. I'm using netbean 6.8.. Thanks before for the answer..

Member Avatar
Member Avatar
+0 forum 1

how to lookup datasource which is created in glassfish with some jndi/dbname name. I am trying to get datasource writing code in a servlet like this Datasource datasource = (Datasource)initialContext.lookup("jdbc/customer"); Connection con = datasource.getConnection(); but it is throwing NameNotFoudExcepion for this context . how can access datasource created outside of tomcat that is in Glassfish in our servlets....

Member Avatar
+0 forum 0

Is there a way to add a user to a group in J2EE dynamically (using glassfish btw)? If so, is there a away to have a user in a group called members to be promoted to an admin group. Thanks in advance

Member Avatar
+0 forum 0

Hi, I would just like to know if it's possible to ping a certain port from a jsp page. For example: If I had a Apache_Status.jsp on my machine and I wanted to ping it on another machine at: 123.456.78.90:8080 And I had a Glassfish_Status.jsp on my machine and I wanted to ping it on another machine at: 321.654.87.09:8484 Would this be possible? Thanks, -Ashton.

Member Avatar
Member Avatar
+0 forum 1

Everyone from techie bloggers to technical journalists to stay-at-home moms are talking about today's big news: [URL="http://www.ibm.com"]IBM[/URL] is trying to buy [URL="http://www.sun.com"]Sun Microsystems[/URL]. Big deal. What's in it for Linux? As a matter of fact, it is a big deal. And an even bigger deal for Linux. Sun owns MySQL, Java, Glassfish, VirtualBox and the Solaris Operating System. It also has its own proprietary hardware known as Sparc but is it a good buy for IBM? On the 'no' side of things, Sun is sinking in the West with no foreseeable chance of rising again in the East. Solaris and …

Member Avatar
Member Avatar
+0 forum 5

The End.