Richard Vagner

Ranch Hand
+ Follow
since Jun 26, 2001
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 Richard Vagner

I am using Spring 4 MVC Code based configuration in my app:



If classes are packed in a jar and deployed in WEB-INF/lib like WEB-INF/lib/app.jar, the application works fine.
If classes are placed in WEB-INF/classes, then Spring can't seem to find resources:

org.springframework.web.servlet.PageNotFound] (http-localhost/127.0.0.1:8080-1) No mapping found for HTTP request with URI [/resources/app/css/app.css] in DispatcherServlet with name 'dispatcher'
..........

Can anyone shed some light?

Thanks,
Rich
7 years ago

Hi, I am unalbe to fingure this out. Please help.


I have configured JMS provider, connection factories and queues on Websphere app server 8. I am trying to setup connection to connect to Tibco EMS which requires SSL.
In JMS provider--> External provider URL I set it is ssl://xxx.xxx.xxx:5000. However, I am getting this exception when I started the application: Unable to lookup JMS resources, JNDI lookup exception: Failed to connect to the server at tcp://xxx.xxx.xxx:5000. Can't figure out why it is searching for tcp://... instead of ssl:// ? What caused it?

Please shed some light.

Thanks,

Rich
9 years ago
Please ignore. Problem solved. System path issue. Thanks.
9 years ago
I have freshly installed a trial version RAD8.5 and Websphere App Server v8.5.. I got the following errors during app server start. Could not figure out what went wrong.
Can anyone throw some light on this?

Exception in thread "main" java.lang.NoClassDefFoundError: Files\SSH
Caused by: java.lang.ClassNotFoundException: Files\SSH
at java.net.URLClassLoader.findClass(URLClassLoader.java:434)
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:665)
at java.lang.ClassLoader.loadClass(ClassLoader.java:644)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:627)
Could not find the main class: Files\SSH. Program will exit.

Thank you so much,
Rich
9 years ago

I have a web page which asks user to upload a xml file from local directory to web application. The webapplication code will take the xml file, parse it and display the contents of the xml. Someone recommend dom4j to me. I guess I can use HTML browse for the local file but not sure how to make the xml file availble to dom4j to parse?

I am new to this, can someone recommend a good approach to do this?

Thanks so much,

Rich
Thanks David.

I tried the following but it is still not working. The jar files still get checked out.

mvn scm:checkout -Dexcludes=/lib
mvn scm:checkout -Dexcludes=*.jar

I am trying to exclude jar files in suversion repository: http://192.168.1.100/svn/trunk/XYZSystem/WebContent/WEB-INF/lib

I have this in pom.xml

<scm>
<connection>
scm:svn:http://xxx:yyy@192.168.1.100/svn/trunk/XYZSystem
</connection>
<tag>HEAD</tag>

</scm>

What am I missing here?

I appreciate your help.
Rich
12 years ago
I want to exclude all the jar files under /lib during check out from SVN.
I tried mvn scm:checkout Dexcludes=/lib, *.jar but it didn't work.

Haven't figured out how to do it. Can someone throw some light on?

Thanks,
Rich
12 years ago
Hi Joseph,

Thanks so much. Actually I was thinking about the same thing: Aged Timeout. However, my collegue said once a connection is being used it would never be aged timeout. IBM doc seems to suggests that the physical connection wil not be discarded if the connection is involved in a transaction when the aged timeout is reached.

Can you give me a snario where we might be keeping connections active but not doing anything with them as you suggested?

I think that maybe our problem.

Thanks,
Rich
12 years ago
Our web app uses Websphere App server 6.1 and db2 database. We got into a situation where a db2 load job essentially prevented the web application from accessing the database and web application just hung.

The problem is after the db2 load job completed for some time, the web application still hung. It looks like a race condition in connection pooling. I was wondering why the connection pooling is not getting back to normal automatically after the load job is long gone?

Please throw some light on this.

Thanks,
Rich
12 years ago
Hi Cameron McKenzie,

Thanks for your reply.

Our Websphere app server has recently been upgraded to version 6.1.0.21 on both Dev and QA. One of our apps on DEV failed after the upgrade -- I should say the app was ok initially after the server upgrade and the problem only occurred after we edited an simply jsp page and redeployed the app to the DEV server. We found that an older version of a jar file causes the problem in upgraded server environment and problem resolved after we replace the jar file with a new one.


So after QA server was upgraded to the version 6.1.0.21, I expected that app on QA to fail because of that jar file. But it didn't fail. I have the same package (old jar file in it) redeployed to QA server and the app still worked. I am a bit puzzled by that. That is why I am wondering if cache may play a part in this?

Thanks a lot,
Rich
13 years ago
Hello,

Does anyone know if Webshpere App server 6.1 caches jar files? If so where are they cached? I know where it caches jsp files.

Thanks,
Rich
13 years ago

I have a problem with this method after our app migrated to WAS6.1 from WAS5.1.
BigDecimal getBigDecimal(int parameterIndex)

On WAS6.1, If the result is a "0", it returns "E-8". For any none-zero numbers, it works fine. No such problem on WAS5.1.
Anyone see that issue?

Rich
13 years ago

I have implemented a search function which uses a form like this:


What I want is to change it into a <s:textfield...> and uses "onkeyup" so that the search result is displayed while using types.

Of course, this is not working:


Form what I googled, "onkeyup" can be used with "dojo.event.connect" but I could not figure out how to use it.

Can someone shed some light on this?

Thank you so much,
Rich

13 years ago
Overwriting the default wwFormTable can only change the font of the label and background of the table but not the layout of the form.

Is there a way to have user name and password, for example, on the same row instead of separating them into separate rows defined by the default style? In other words, how to achieve this:


Instead of


Any idea?

Thanks a lot,
Rich
13 years ago