RSS Feed
15
October
2003

Restarting a webapp via RMIAdapter: why doesn't it work for me?

Posted by woeye | Comments: 0

Restarting a webapp via HTMLAdapter (jmx-console) works fine. Restarting a webapp via RMIAdapter, however, produces a lot of errors, mostly javax.management.InstanceAlreadyExistsException. Reading through the sources I could not find any serious differences between the way the HTMLAdapter invokes an operation on the MBean and the way RMIAdaptor does. The provided Ant task (jbossjmx-ant.jar) doesn't work either. Perhaps someone has a good hint or tip for me?

15
October
2003

Busy days

Posted by woeye | Comments: 1

Nothing new. I was very busy the last days working on a customer project. I had a lot of fun with OS/390, Domino and WebSphere >:-(. Hopefully I will publish my Struts extensions this weekend ...

15
October
2003

Restarting webapps in JBoss/Jetty broken on win32 systems?

Posted by woeye | Comments: 0

If you try to redeply a webapp via jmx-console in JBoss/Jetty you may get the following error:

java.io.FileNotFoundException: C:javajboss-3.2.1...jbossweb-jetty.sar.webdefault.xml 
is alias of C:javajboss-3.2.1...jbossweb-jetty.sarwebdefault.xml
...
After digging into the sources I possibly found the bug in the toString() method of BadResource.java because the toString() method appends additional information to the original URL. The toString() method, however, is used by WebApplicationContext as the path to webdefault.xml.
I have already posted a mail on the jetty-discuss mailinglist. I will keep you informed about the status ...

15
October
2003

Struts and auto fill ... watch out =)

Posted by woeye | Comments: 0

I was working on an ActionForm which has the property password. When I was testing the JSP view I wondered why the field always was filled although I never called the corresponding setter in the action. "Damn", I thought. "Where does this stupid value come from?" I had no clue. Then suddenly a light flashed through my mind: Mozilla has a nice feature called "auto fill forms" ... oh my =)

15
October
2003

What's coming in JDK 1.4.2?

Posted by woeye | Comments: 0

Read this article and you will know =)

« 1 2 3 ...  23 24 25 26 27 ...  30 »