I'm trying to use the glassfish-maven-plugin (https://maven-glassfish-plugin.dev.java.net/) with GlassFish v3 (I'm on a Mac and using Eclipse) and I can't seem to get my web app to deploy. I ... |
I have a property defined like this:
<properties>
<main.basedir>${project.parent.basedir}</main.basedir>
</properties>
Since I use Windows as OS, it contains backslashes. I want to add this path to a glassfish domain as JVM ... |
I have just started using maven-glassfish-plugin. I got the start-domain goal working. However when I try to execute the deploy goal, the plugin thinks that the domain is not started and ... |
I've been looking all over for the documentation of the maven-glassfish-plugin:
<groupId>org.glassfish.maven.plugin</groupId>
<artifactId>maven-glassfish-plugin</artifactId>
<version>2.1</version>
Any hints where I could find it?
I want to which goals it has and what config options there are.
|
I struggling to figure out a correct pom.xml for development of a webservice project, which should be deployed on glassfish. I need jws and glassfish, because I consume the service from ... |
There a many articals pointing to embedded-glassfish:admin when it comes to create a datasource for embedded glassfish. But at the end there is now good description of how this should actually ... |
|
|
I'm having a problem with an example of OSGi as a maven project.
NetBeans: http://netbeans.org/kb/docs/javaee/maven-osgi-declarativeservices.html or there is a non-Netbeans version which yields identical results (blogs.oracle.com/arungupta/entry/totd_124_osgi_declarative_services)
I've tried going through both ... |
My web application loads it configuration parameters from a .PROPERTIES file located on the Java classpath. When this application is deployed in Glassfish 3, I normally specify the location of ... |
I want to create webservice using Jersey and I am using Glassfish with Eclipse.
So far, I find different tutorial but they are either using Maven or they used different application server ... |
I am trying to create a maven based Enterprise Application with an Application Client which runs in the Application Client Container from GlassFish. It should fit togheter as the Project template ... |
This one starts to drive me completely nuts ...
I want to create a Glassfish client application using Maven.
For that, I've added the requried gf-client dependency :
<dependency>
...
|
I'm still unable to make my unit tests work. When I'm executing the test, I get ClassFormatException: Absent Code attribute in method that is not native or abstract in class file ... |
Hi, I've not long started developing my first application against Glassfish under Netbeans. Previously I've always been using Eclipse + Tomcat. I've found JSF development to be fantastic, as soon as ... |
|
Im not sure whether this is a Netbeans problem or a Maven plugin problem or a Glassfish problem, so Ive posted this to both the nbusers and nbj2ee groups... (Im new to Maven, so please bear with me if I get the terminology wrong..) If I use the IDE to deploy a Mavenised enterprise app with an ejb and a war, ... |
Im not sure whether this is a Netbeans problem or a Maven plugin problem or a Glassfish problem, so Ive posted this to both the nbusers and nbj2ee groups... (Im new to Maven, so please bear with me if I get the terminology wrong..) If I use the IDE to deploy a Mavenised enterprise app with an ejb and a war, ... |
|
|
This all works perfectly fine (mostly) when the test are run localy, but fails when the Maven (via our CI tool) does a build. This appears to be an issue with the use of maven multi module project, that is we have a parent project that has a module for each webservice, and as each webservice has its own set of ... |
# /export/glassfish_workspace/publish/glassfish/bin/asadmin create-domain --adminport 4848 --adminuser admin domain1 Please enter the admin password>adminadmin Please enter the admin password again>adminadmin Please enter the master password>changeit Please enter the master password again>changeit Using default port 8080 for HTTP Instance. Using default port 7676 for JMS. Using default port 3700 for IIOP. Using default port 8181 for HTTP_SSL. Using default port 3820 for IIOP_SSL. ... |
|
|
------------------------------------------------------- T E S T S ------------------------------------------------------- Running com.arsoebr.architecture.ejb.DemoServiceTest 29 juin 2007 09:20:57 com.sun.enterprise.util.ORBManager initORB GRAVE: UTIL6009:Unexcpected Exception in createORB. org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.sun.corba.ee.impl.orb.ORBImpl vmcid: 0x0 minor code: 0 completed: No at org.omg.CORBA.ORB.create_impl(ORB.java:297) at org.omg.CORBA.ORB.init(ORB.java:336) at com.sun.enterprise.util.ORBManager.initORB(ORBManager.java:506) at com.sun.enterprise.util.ORBManager.getORB(ORBManager.java:264) at com.sun.enterprise.naming.SerialInitContextFactory.getInitialContext(SerialInit ContextFactory.java:141) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) at javax.naming.InitialContext.init(InitialContext.java:223) at javax.naming.InitialContext.(InitialContext.java:175) at com.arsoebr.architecture.ejb.DemoServiceTest.direBonjour(DemoServiceTest.java:4 1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ... |
I'd like to partition my java ee application into a few separate maven projects: one for the servlet, one for the session beans, one for the JPA entities. Is this normal? Is there a maven archetype which would generate such a multi-module project? It would be nice to get dummy versions of glassfish specific elements like sun-web.xml too. |
|
|
* my failing pom fragment were copied from Ludo's blog :( * the manual import works.. and the rest of the goals run fine.. I am just concerned that all my project collaborators will need to proceed this manual step, while we migrated to maven expecting to get free of the libs management by hand :) * I will review your ... |
|
Can anyone please tell me if there is a way to use GlassFish's JAX-RPC in my Maven web project? I suspect there is because NetBeans 6.7 M2's maven support has a new web service client wizard, and a JAX-RPC option. It tells me that I need to install the JAX-RPC support plugin before I can use it. I have the plugin ... |
|
Felipe Gacho schrieb: [...] > I need to write a Maven pom that creates my container resources, like: > > - create JMS resources (queues and factories) > - create JDBC realm resource > - create JavaMail resource > > please point me good documentation about that... > > * I have it working here but I need to recreate by ... |
I'm trying to build Glassfish V2 and wondering if it can be done with Maven 2 or if you really have to use Maven 1. I seem to be having problem either way but I at least know I have a working Maven 2 setup for other projects (I've never used Maven v1 before). |
|
This is what I tried so far: 1) Create Maven JEE6 enterprise application using wizard in NB6.9 2) Added session bean to EJB module project which contains references to Commons Logging log classes (class won't compile) 3) Added dependency to EJB module project for Commons Logging (session bean created in step 2 now compiles 4) Clean and Build EJB module project ... |
|
I am fairly new to JEE so I'm currently working my way around Glassfish, Maven, etc. Specifically I'm going through the book 'Beginning Java EE 6 With Glassfish 3'. Of course the provided examples don't compile and don't run straight out of the box, most likely because the versions of the written about software have moved on. So I'm trying to ... |
|