[JBoss Tools] New message: "Re: JBossTools-3.0.3.GA On Eclipse Ganymede"
by Salim OFLAZ
User development,
A new message was posted in the thread "JBossTools-3.0.3.GA On Eclipse Ganymede":
http://community.jboss.org/message/529127#529127
Author : Salim OFLAZ
Profile : http://community.jboss.org/people/salimoflaz
Message:
--------------------------------------------------------------
Hi Dennis,
I finally achieved to generate some files with Jboss Tools in eclipse. I read the database user guide you mentioned in your post and added some parameters to the command used to start database in server mode. like this one;
java -cp ~/lib/hsqldb/lib/hsqldb.jar org.hsqldb.Server -database.0 file:test -dbname.0 ta
to give database alias and pyhsical files used for it.
I am using Open SUSE 10.3 LINUX operating system and eclipse ganymede 3.4.2 and Jboss Tools 3.0.3 GA and I discovered that the database table names should be in uppercase, maybe this holds for other database objects such as Foreign Keys, Primary Keys and Views. Otherwise it's not generating anything.
In addition I had to switch to Hibernate perspective and changed Hibernate configuration such as database connection and dialect, added hsqldb.jar to classpath, changed type to core.
After all it worked. But I spent a lot of time. Hope this helps somebody else in the future who plan to use HSQLDB and Jboss Tools.
Thank you for your posts.
Best Regards,
Salim OFLAZ
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529127#529127
14 years, 8 months
[JBoss Web Services] New message: "Re: Occasional exceptions out of SOAPAddressingPropertiesImpl.writeHeaders"
by Andrew Dinn
User development,
A new message was posted in the thread "Occasional exceptions out of SOAPAddressingPropertiesImpl.writeHeaders":
http://community.jboss.org/message/529124#529124
Author : Andrew Dinn
Profile : http://community.jboss.org/people/adinn
Message:
--------------------------------------------------------------
> frapaa wrote:
>
> Thanks for the quick reply!
>
> I am running on JBoss 5.1.0 GA (bundled with Mobicents 1.2), but I don't know if I should start debugging that platform, hehe.. :-)
>
> Could the issue be that one of the classes in my application is holding on to a reference to this class that failed to undeploy/deploy?
Well, 5.1.0.GA may be worth trying to sort out. However,. hot deploy is a difficult thing to be get right because there are lots of places where something could be holding on to classes it should not be referring to -- that might be JBoss or it might be your code or it might be both. Whether the problem shows or not depends in part upon the order of classloading so probelms may linger for a while even when you think it is working.
Are you deploying several artefacts and then only updating one? This can cause problems if you don't declare dependencies between your deployments. If there are dependencies then declare them so that the AS will undeploy the whole set.
If not then you may have uncovered a bug in the AS or WS code. Since we don't offer any guarantees that hot deploy will work any problem you find will be a low priority for fixing -- hot deploy is merely a 'nice to have' for development, it's not somehting anyone should rely on in production. If you really want to find out what is wrong/fix it you'll need to rev up your debugger.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529124#529124
14 years, 8 months
[jBPM] New message: "Re: Exception handling in JBPM4 ?"
by Atul Joshi
User development,
A new message was posted in the thread "Exception handling in JBPM4 ?":
http://community.jboss.org/message/529121#529121
Author : Atul Joshi
Profile : http://community.jboss.org/people/AtulJoshi
Message:
--------------------------------------------------------------
I have changed the process design as follows.1. Instead of System Activity call Sub Process, name as "Sub_process_catch_Exception" ,
2. In this sub process Instead of calling the system activity add Decision activity (Implement Business Logic in decision instead of SystemActiviy),
3. If Decision activity executed successfully then
Sub Process will end Else Forward control to next activity (i.e. State Node.)End if1. Trigger Wait (State Node) activity after resolving the exception by using the execution Id of the activity
Please refer the attached code.** *Advantage:*1. I am able to implement *Retry, Skip, Max No. of Retries and timeout* for all JAVA activities present in my Workflow design, using this common solution,
*Disadvantage:*1. I have almost completed my workflow design, if I want to implement Exception Handling I need to change my design *from scratch*,
Suggest me if i can do better to handle exceptions in JBPM4?
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529121#529121
14 years, 8 months
[JBoss Microcontainer Development] New message: "JBDEPLOY-243 or change deployment's relative order"
by Ales Justin
User development,
A new message was posted in the thread "JBDEPLOY-243 or change deployment's relative order":
http://community.jboss.org/message/529119#529119
Author : Ales Justin
Profile : http://community.jboss.org/people/alesj
Message:
--------------------------------------------------------------
> They want a -properties.xml to be deployed as a -service.xml
> but for the -properties to go first in the REAL stage
> so it can set the system properties before the mbeans
> are created.
Currently we don't order components -- with this new feature we will have to,
otherwise we cannot order deployments with multiple matchings.
e.g. both -properties.xml and -service.xml in the same sub-deployment
> NOTE: The setting of the relative order should be always
> done, like the init() call. e.g. if the metadata
> comes from manangement console rather than from the file.
Based on what would an init() pick-up metadata and set the relative order?
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529119#529119
14 years, 8 months
[JBoss Web Services] New message: "Re: Occasional exceptions out of SOAPAddressingPropertiesImpl.writeHeaders"
by Andrew Dinn
User development,
A new message was posted in the thread "Occasional exceptions out of SOAPAddressingPropertiesImpl.writeHeaders":
http://community.jboss.org/message/529112#529112
Author : Andrew Dinn
Profile : http://community.jboss.org/people/adinn
Message:
--------------------------------------------------------------
> frapaa wrote:
>
>
> Did you manage to solve this problem?
>
>
No. I didn't bother to do so. The error indicated that it was to do with an application classloader refusing to load classes correctly because the app had been undeployed. That implies that the problem relates to use of hot deployment. If the configuration I ran on was a stable production release it might merit the effort tracking down which class was hanging on to old rereferences. I think there are far more important things to fix in the version I was using. If you rsituation is the former it might be worth pushing for someone to look at the problem. Of course, you could alwasy try to debug it yourself. We are always happy to be sent fixes :-)
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529112#529112
14 years, 8 months