[JBossWS] - Re: JBossWS Tools Overview (wstools, wsprovide, wsconsume)
by donato.brito2
Hello people!
I think I´m little late, but here is my solution to this problem.
I´ve just installed JBossWS 2.0.2GA and following the user guide I´ve had the same problem.
To solve that, I looked in the .bat file and remove the line that contains
"set JBOSS_HOME=%DIRNAME%\.."
Before I removed that line I´d made a backup.
Because in my computer I´ve defined the JBOSS_HOME environment variable to the path where I´ve installed JBoss 4.2.2GA
Just doing that I removed the problem.
Well, that´s it, I´d like to help someone with the same problem.
See ya,
donato
PS: Sorry about my english
"shrikantmulik" wrote : I tried to use wsconsume from JBossWS Native 2.0.1 GA binary distribution. It gives following error:
|
| Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/wsf/spi/tools/cmd/WSConsume
|
| This could be due to classpath setting but is there a need to explicitly set the classpath for running this tool?
|
| Related details are as follows:
|
| OS: Windows XP SP2
| JDK: 1.5.0_12
| Folder: jbossws-native-2.0.1.GA\bin
|
| Hoping for a quick reply!
|
| Shrikant
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122613#4122613
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122613
18 years, 6 months
[JBoss/Spring Integration] - Re: JBoss 4.2 Spring Deployer + Spring 2.08
by alesj
"devnulled0" wrote :
| I also tried upgrading all of the jar's in the deployer to Spring 2.08 and ran into various problems because some of the methods the deployer relies on have been removed, etc.
|
Which methods?
Can you post your exceptions.
It's been a while since I compiled the version for JBoss4.x.
"devnulled0" wrote :
| The downloads section of the Spring Deployer is not at all clear to me, so I may have downloaded/implemented it wrong. I basically did this to create a Spring deployer that seems to work for the most part:
|
Yup, it can be a bit confusing.
The thing is that only core deployer code changes, so no need for the full update on spring.jar and jboss-service.xml.
That's why I only put that artifact on the download site.
"devnulled0" wrote :
| 1. Did I implement the deployer correctly? If not, what should I do?
| 2. What version of Spring is supported/shipped with the deployer?
| 3. Will Spring 2.0.8 or 2.5.1 support get rolled into the deployer anytime soon for JBoss 4.x? I think I ran into some bugs which put me on 2.0.8 (2.5.1 would be much preferred however)
|
1) Looks ok, but like you said, and I'm aware of, there can be compability issues.
You can try it yourself - to build against 2.0.8 and 2.5 - the changes needed to be done should be trivial.
Eventually I'll do those two releases, but currently there is no time for that. :-(
2) Uf, dunno. :-) If there is a spirng.jar, it should have MANIFEST.MF, where the version is stated.
3) Hmmm, after JBossWorld.
I could do the changes for JBoss5 much quicker, since I'm working on the trunk on daily bases. But porting it back for 4.x will take some time.
But I'm always thumbs up for some contribution. ;-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122611#4122611
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122611
18 years, 6 months
[JBossCache] - Re: Config Question
by manik.surtani@jboss.com
"lovelyliatroim" wrote :
| Currently running every 5 seconds, will set it for a longer time period. Can you set the "wakeUpIntervalSeconds" on a region basis or is it a global cache setting??
|
No, this is a cache-wide setting.
"lovelyliatroim" wrote :
| Hmmm im not sure we are talking about the same async, I'm talking about the asynch mode with the cacheloader i.e JDBCCacheLoader nothing to do with replication. Ive actually set this cache as LOCAL so i have no replication going on what so ever. What I was asking was is there any way to get the asynch buffer for the JDBCCaheLoader to run more often/quicker to clear the buffer as quick as possible?? Reason i ask is that when i run say 5,000 writes and stop, i check the the DB to see how many records are written and i can see that over the space of one to three,four minutes it eventually will write all records in the DB. But it is this 3-4 minutes time lag that worries me, in production it wont get this 3-4 min break. Maybe it actually is running as fast as possible to clear the buffer but due to the fact it is writing images it actually takes this long!!
|
Oh right - sorry, forget what I said about replication queues then! :-)
See the JavaDocs for the AsyncCacheLoader wrapper, which has all the options you can add to your cache loader. You can control your batch size and triggers.
"lovelyliatroim" wrote :
| Thanks for the info, I already tried 4.2.X with JBossCache 2.0 and tried deploying as an MBean, this is a while back now, but i remember i did run into problems trying to deploy it as an MBean and when i did get it to work none of the statistics were getting updated in jmx-console. So was kind of put off the combination of 4.2.x with JbossCache 2.0 but i might have to venture back with this combination!
|
You may not be able to use 2.X as an MBean in AS 4.2.X since AS 4.2.X ships with JBC 1.4.X. You may have to package JBC 2.X in your app and start it programmatically.
Otherwise, you could create a SAR with JBC 2.X libraries and have it deployed and registered as an MBean there. Note that I haven't tried this approach yet though. If you do, and it works, do you mind sharing what you learned on [wiki]http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCacheAsCompatibility[/...] ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4122605#4122605
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122605
18 years, 6 months