Dallas Cowboy

Greenhorn
+ Follow
since May 22, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dallas Cowboy

I have an enterprise application which runs on JBoss 3.2.3. Communication to this app is through the JBoss JMS queues. I'm trying to set up JBoss as the Foreign JMS provider so that the client app running on Weblogic 8.1.4 can put & get messages off the JBoss queues.

Here is the list of steps I'm doing,
1. Configure a new Foreign JMS Server ....
Name: ABC JBOSS JMS Server
JNDI Initial Context Factory: org.jnp.interfaces.NamingContextFactory
JNDI Connection URL: jnp://localhost:1099

2. Configure a new Foreign JMSConnection Factory...
Name: ABC JMS Connection Factory
Local JNDI Name: jms/LocalABC
Remote JNDI Name: UIL2ConnectionFactory
User Name: test
Password: test
Confirm Password: test

3. Configure a new Foreign JMSDestination...
Name: ABC SOA Input JMS Destination
Local JNDI Name: jms/SoaDemoInputQueue
Remote JNDI Name: queue/soaDemoInput

The JBoss has queue level security enabled. When my client tries to put a message its getting the error,

MAdapter ERROR - (025):Cannot obtain queueConnection from queueConnectionfactory jms/LocalABC; context(JMSAdapterUtil.getQueueConnection()); Nested:User: null is NOT authenticated
javax.jms.JMSSecurityException: User: null is NOT authenticated


I have specified the username and password in,
sbm60> Foreign JMS Servers> ABC JBOSS JMS Server> Foreign JMSConnection Factories> ABC JMS Connection Factory

Looks like WLS is not passing the username and password. Any thoughts??
[ June 21, 2005: Message edited by: Dallas Cowboy ]
Hi,
I have installed MQ SQL Server 2000 on my laptop and trying to use
SPRINTA 2000 JDBC Driver (inetmssql.jar) to connect to the local db. I
wrote a sample Java app to test the connection and I get the following
error trace,

DriverManager.initialize: jdbc.drivers = null
JDBC DriverManager initialized
SQLException: SQLState(08S01)
{sql7=true, port=1433, user=sa, url=jdbc:inetdae7:US0-WP01:1433,
password=passMe, host=US0-WP01}
getConnection failed: com.inet.tds.SQLException: Connection refused:
connect
com.inet.tds.SQLException: Connection refused: connect
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.inet.tds.TdsDriver.a(Unknown Source)
at com.inet.tds.TdsDriver.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

I tried searching the web and product doc. Nothing seems to help me.
Has anyone come across similiar problems? Any pointers will be
appreciated also.

Thanks,
Swami.
Hi all,
Let me declare first that I'm no J2EE expert and still consider myself
as an adolescent in this area. I have worked on quite a few J2EE
projects and noticed that each time, my team is following their own
way/template of developing code. Also there is quite a substantial
amount of code reproduction. My post here is regarding creating a
framework/factory of components that can be reused as I go along
projects.

I wish standardize the development approach, by using a framework that
all developers will use to write apps. I know there are Struts,
Velocity, Torque and many more. I want to keep this simple and stupid.
Can the J2EE gurus out there help me here and also give me your
valuable experience on how you used, a framework for JDBC, JMS, Web
(Servlets, JSP) and EJB.

Can I choose the best of breed frameworks and if so how?

Thanks a ton for all replying and helping me.
I'm using WAS 4.0.1 and seeing major CPU utilization hits on the WebSphere server. The CPU utilization is gradually increasing, then after a certain amount of time it booms up to 95%. Stays there until I re-boot the server. I think its due to SimpleFileServlet. Have you guys seen anything like this? Any patches to this version of WAS. Any ideas? :roll:
16 years ago