initial-context Questions

7

Solved

All, I'm trying to do some unit testing in some archaic java code (no interfaces, no abstraction, etc.) This is a servlet that uses a ServletContext (which I'm assuming is set up by Tomcat) and i...
Bode asked 6/4, 2012 at 15:17

3

Solved

I try to connect from a stand-alone swing client (running in a separate JVM on the client machine) to the Glassfish server. I currently use the following settings from Netbeans and everything work...
Myron asked 17/8, 2012 at 9:11

0

We have a project moving to use Storm and as such our code must be packaged in a jar. We had previously used com.sun.jndi.fscontext.RefFSContextFactory as our InitialContextFactory implementation t...
Tune asked 13/8, 2013 at 16:57

1

Solved

I have an existing Spring web-based application that has datasources defined using JNDI, and I'm trying to create a standalone app to use the beans. How can I create the JNDI entry and database pro...
Unterwalden asked 20/2, 2013 at 14:21

0

I'm using Maven 3.0.3, Spring 3.1.0.RELEASE, and JUnit 4.8.1. How do I create JNDI functionality outside the container (which in my case would be JBoss)? I thought Spring's jndiTemplate would do th...
Below asked 31/7, 2012 at 18:48

1

Solved

I am learning basics of EJB 3.0. I have managed to get a sample code up and running. Now I am doing a line by line analysis to have in-depth knowledge. But I am stuck at few lines where there is a ...
Pill asked 30/3, 2012 at 5:12

1

Solved

Could you please tell me how to lookup EJB on Weblogic? I have following bean: @Stateless @EJB(name = "DataAccess", beanInterface = DataAccessLocal.class) public class DataAccess implements DataA...
Forefather asked 17/8, 2011 at 9:22
1

© 2022 - 2024 — McMap. All rights reserved.