Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
borderStylesolid
titlejndi.properties
####################################################################
### JBoss Settings
####################################################################
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
java.naming.provider.url=localhost


####################################################################
### Geronimo Settings
####################################################################
#java.naming.factory.initial=org.openejb.client.RemoteInitialContextFactory
#java.naming.provider.url=localhost:4201
#java.naming.security.principal=username
#java.naming.security.credentials=passwd

Back to Top

...

Verify the WAR files

Open the web.xml file located in the <session_home>/src/webapp/WEB-INF directory and make sure the following taglib element is not commented out.

...

To deploy the Session Bean sample application you just built with Maven, copy the session-ejb-SNAPSHOT.jar file and session-ejb.war files from the <session_home>/target directory to the following directory:

...

No Format
bgColor#000000
borderStylesolid
E:\session>maven run:stateless
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

build:start:

run:stateless:
    [java] Customers with denied loan applications:
    [java] - Customer1
BUILD SUCCESSFUL
Total time: 2 seconds
Finished at: Wed Nov 02 10:12:21 EST 2005

You can also run the webapp client by opening a browser window and going to the following URL:

http://localhost:8080/session

Back to Top

The Geronimo environment
Anchor
Geronimo
Geronimo

...