Eric Braun

Greenhorn
+ Follow
since Apr 13, 2004
Merit badge: grant badges
For More
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 Eric Braun

I upgraded my environment from WSAD 5 to RAS 6. I need to setup the JNDI setting for my test tomcat server and I cannot find the server.xml document. In WSAD 5, I just had to go to the server perspective and I found it. I do not see that in RAD 6.

Also, I tried going to the apache directory and changed the server.xml file, but that is not the file the test tomcat server is using.

Where is that config file?
18 years ago
Hello,

I just turned on SSL on my tomcat server and it seems to be working properly. However, I am able to hit my application with the http:// and https://.

How do I disable the http:// url?

Thanks
18 years ago
Yes, we are wathinc the cpu system resources and we are experiencing OutOfMemory issues.

If we let them open too many jPanels (each one is taking a good chunk of memory), they get the OutOfMemory. If we limit them to a predefined amout of JPanels, then we eliminate the memory error.

Also, do you know if the inner classes used for the swing objects actually get destroyed when the class is destroyed? I am wondering if I create a class for each form that holds the inner classes and then manually destroy that class, if that will give up memory?
18 years ago
We have a pretty complicated swing application that is eating up memory. We found some memory issues, but still have this remaining. We allocate 128mb of RAM to the heap. We see the garbage collector doing the work from 20 to 127mb because the the memory will go up and down. Once we hit the 128mb size, the memory never goes down and just stays there. The only way we can clear it out is to restart the swing application.

Any ideas? Thanks in advance!
18 years ago
I looked in the file system and there were some 2 weird files. It had some of the same file system name, but other characters. It was .#OriginalFileName1.96.96 and .#OriginalFileName1.91.91

It appears those files could be old CVS version of the original file.

I deleted from the class file and java file and all compiled properly.
19 years ago
I am trying to export my web application to a war file. It will turn for a few seconds and then I get the following error:

IWAW0001E Unable to complete the operation. The failure was caused by the folowwing error: Resource /Dashboard/WEbConetne/WEB-ING/classes/org/tcutcu/reportdata does not exist...

Is there a log file that will give me more information on this error? It appears that my callses are built, but I need the specific error.

Thanks!
19 years ago
Hello,

I am attemping to using JNDI in my servlet. I have JDBC working, but not sure how to setup the JNDI when connecting to SQL Server 2000. I have the drivers, but that is as far as I am. Any help is appreciated.

Eric
19 years ago
Hello,

I am trying to connect Tomcat to a DB2 database. I have it working on Websphere App Dev, but now I am attempting to move it over to Tomcat.

Error is:
Unexpected error; javax.naming.NameNotFoundException: Name DBDatasource is not bound in this Context
com.ibm.db.beans.DBException: Unexpected error; javax.naming.NameNotFoundException: Name DBDatasource is not bound in this Context

1. I added db2java.zip to the lib folder.
2. Edited the web.xml as the following:

<resource-ref id="ResourceRef_1100642207292">
<res-ref-name>jdbc/DBDatasource</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Application</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>

3. Edited server.xml as the following:
<ResourceParams name="jdbc/DBDatasource">
<parameter>
<name>maxWait</name>
<value>5000</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>4</value>
</parameter>
<parameter>
<name>password</name>
<value>db2admin</value>
</parameter>
<parameter>
<name>url</name>
<value>jdbc b2:TECHBOOK</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>COM.ibm.db2.jdbc.app.DB2Driver</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>2</value>
</parameter>
<parameter>
<name>username</name>
<value>db2admin</value>
</parameter>
</ResourceParams>
[ November 18, 2004: Message edited by: Eric Braun ]
19 years ago
I have a JTextField and I added a PropertyChangeListener to listen for changes to my Java Bean. This is working great.
However, I need to set the original value in the text field when the form is loaded. I cannot use the PropertyChangeListener, because it hasn't changed. I am making a customized JTextField that will have my listner and all of my field objects will be extending this one. So, I cannot hardcode my getter.
Is there a way to fire my PropertyChangeListener on intialization? How do I go about getting the value out of my JavaBean? Do I need to do reflection?
19 years ago
I have a JTextField and I added a PropertyChangeListener to listen for changes to my Java Bean. This is working great.
However, I need to set the original value in the text field when the form is loaded. I cannot use the PropertyChangeListener, because it hasn't changed. I am making a customized JTextField that will have my listner and all of my field objects will be extending this one. So, I cannot hardcode my getter.
Is there a way to fire my PropertyChangeListener on intialization? How do I go about getting the value out of my JavaBean? Do I need to do reflection?
19 years ago
Hello,
I have created some java beans that I want to place on the palette in Visual Editor. I am running Websphere 5.1.1.
I did find a tutorial in Websphere 5.0, but the steps have changed. Has anyone else been successful?
Here is a link to that topic: http://www7b.boulder.ibm.com/wsdd/library/techarticles/0302_winchester/winchester.html

Thanks!
19 years ago