Re: [jboss-user] [JBoss Web Services CXF] - JBossWS-CXF-3.3.0.GA exception on startup
by web websson
web websson [http://community.jboss.org/people/rotula] replied to the discussion
"JBossWS-CXF-3.3.0.GA exception on startup"
To view the discussion, visit: http://community.jboss.org/message/545623#545623
--------------------------------------------------------------
Neither first or second solutions seems to work - tested on fresh JBoss 5.1 GA:
- install 3.2.2 and then 3.3.0:
the server.log is too long and completely full with errors
- use the src distribution instead of the bin:
seems that the script is looking after "default" configuration and sience I'm using "all" ...:
> C:\jbossws-cxf-3.3.0.GA\src>ant deploy-jboss510
> Buildfile: C:\Tools\jbossws-cxf-3.3.0.GA\src\build.xml
>
> target-jboss510:
>
> os-init:
>
> mvn-settings:
> [mkdir] Created dir: C:\jbossws-cxf-3.3.0.GA\src\target
> [exec] [INFO] Scanning for projects...
> [exec] [WARNING] Overriding profile: 'jboss510' (source: pom) with new instance from source: profiles.xml
> [exec] [WARNING] Overriding profile: 'jboss510' (source: pom) with new instance from source: profiles.xml
> [exec] [WARNING] Overriding profile: 'jboss510' (source: pom) with new instance from source: profiles.xml
> [exec] [WARNING] Overriding profile: 'jboss510' (source: pom) with new instance from source: profiles.xml
> [exec] [WARNING] Overriding profile: 'jboss510' (source: pom) with new instance from source: profiles.xml
> [exec] [WARNING] Overriding profile: 'jboss510' (source: pom) with new instance from source: profiles.xml
> [exec] [INFO] Reactor build order:
> [exec] [INFO] JBoss Web Services - Stack CXF
> [exec] [INFO] JBoss Web Services - Endorsed factories
> [exec] [INFO] JBoss Web Services - Stack CXF Runtime Client
> [exec] [INFO] JBoss Web Services - Stack CXF Server
> [exec] [INFO] JBoss Web Services - Stack CXF Management
> [exec] [INFO] JBoss Web Services - Stack CXF Resources
> [exec] [INFO] Searching repository for plugin with prefix: 'help'.
> [exec] [INFO] org.apache.maven.plugins: checking for updates from jboss-nexus
> [exec] [INFO] org.codehaus.mojo: checking for updates from jboss-nexus
> [exec] [INFO] ------------------------------------------------------------------------
> [exec] [INFO] Building JBoss Web Services - Stack CXF
> [exec] [INFO] task-segment: [help:effective-settings] (aggregator-style)
> [exec] [INFO] ------------------------------------------------------------------------
> [exec]
> [exec] [INFO] Effective-settings written to: C:\Tools\jbossws-cxf-3.3.0.GA\src\target\effective-settings.xml
> [exec] [INFO] ------------------------------------------------------------------------
> [exec] [INFO] BUILD SUCCESSFUL
> [exec] [INFO] ------------------------------------------------------------------------
> [exec] [INFO] Total time: 20 seconds
> [exec] [INFO] Finished at: Tue Jun 01 14:43:32 CEST 2010
> [exec] [INFO] Final Memory: 12M/30M
> [exec] [INFO] ------------------------------------------------------------------------
> [echo]
> [echo] jboss501.home=${profiles.profile.properties.jboss501.home}
> [echo] jboss510.home=/jboss-5.1-cxf
> [echo] jboss600.home=${profiles.profile.properties.jboss600.home}
> [echo] jboss601.home=${profiles.profile.properties.jboss601.home}
>
> prepare:
>
> init:
> [echo] version.id=3.3.0.GA
> [echo] integration.target=jboss510
>
> undeploy-jboss510:
> [loadfile] C:\jboss-5.1-cxf\server\default\deployers\jbossws.deployer\jbossws-deploy.conf doesn't exist
> [loadfile] C:\jboss-5.1-cxf\server\default\deployers\jbossws.deployer\jbossws-server-deploy.conf doesn't exist
>
> BUILD FAILED
> C:\jbossws-cxf-3.3.0.GA\src\src\main\distro\build-deploy.xml:95: The following error occurred while executing this line:
> C:\jbossws-cxf-3.3.0.GA\src\modules\resources\src\main\resources\resources\jbossws-deploy-macros.xml:362: Directory does not exist: C:
> \jboss-5.1-cxf\server\default
>
> Total time: 22 seconds
It would be great if somone from JBoss can provide a *working* installation script for this stack!
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/545623#545623]
Start a new discussion in JBoss Web Services CXF at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 11 months
[Beginner's Corner] - Newbie here.. and in need of some help with Drools
by Darren Carr
Darren Carr [http://community.jboss.org/people/DC_Drools] created the discussion
"Newbie here.. and in need of some help with Drools"
To view the discussion, visit: http://community.jboss.org/message/545605#545605
--------------------------------------------------------------
Hi All,
Firstly im so glad I found this forum and a big hello to everyone in this group!
Currently im working on a project to in which we are deciding to which is the best rules engine to apply for our clients requirements. Ive been playing around with drools and have sucessfully got it up and running with the Stock ticker example within eclipse. I have worked with Java some time ago annd must say im very impressed with drools!
Im fairly rusty with Java (but a fast learner) im trying to get up to speed asap.
Ive currently put in simple new rule with the DRL file and am trying to load in my own test data to use with the rules file. However im getting an error and really cant see what ive done wrong.
My dat file contains simple data e.g
0;5000;£199.99
0;5001;£199.99
0;5002;£199.99
0;5003;£199.99
0;5004;£199.99
0;5005;£199.99
0;5006;£199.99
0;5007;£199.99
009;5000;£9.99
010;5001;£9.99
011;5002;£9.99
012;5003;£9.99
013;5004;£9.99
014;5005;£9.99
015;5006;£9.99
016;5007;£9.99
However for some reason i receive
java.text.ParseException
: MessageFormat parse error!at java.text.MessageFormat.parse(Unknown Source)
at net.game.poc.achievements.events.PointsAwardPersister.load(
PointsAwardPersister.java:62)at net.game.poc.achievements.events.PointsAwardPersister.hasNext(
PointsAwardPersister.java:85)at net.game.poc.achievements.events.EventFeeder$FeedJob.execute(
EventFeeder.java:84)at org.drools.time.impl.JDKTimerService$JDKCallableJob.call(
JDKTimerService.java:132)at org.drools.time.impl.JDKTimerService$JDKCallableJob.call(
JDKTimerService.java:110)at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
After debugging the following code is throwing the exception from the load method below.
*public *boolean hasNext() { if( in != null ) { try { PointsAward tick = load(); next = new EventImpl<PointsAward>( tick.getTimestamp(), tick ); return true;}catch ( Exception e ) { // nothing to do, return falsee.printStackTrace();}} return false;*
*
It appears to me that it looking over the end of file but im not sure.
Has anyone got any pointers for me as im completly stuck
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/545605#545605]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 11 months
[jBPM] - How to start a process with variable from JBPM-Console
by Wladimir Lavrov
Wladimir Lavrov [http://community.jboss.org/people/wawan_beta] created the discussion
"How to start a process with variable from JBPM-Console"
To view the discussion, visit: http://community.jboss.org/message/545594#545594
--------------------------------------------------------------
I want to start the process with user forms and I need to declare global variables so as to continue working with them, how to do this?
example:
<?xml version="1.0" encoding="UTF-8"?>
<process name="test" xmlns=" http://jbpm.org/4.3/jpdl http://jbpm.org/4.3/jpdl">
<start g="29,490,48,48" name="StartEvent_1">
<transition to="ask name"/>
</start>
<task assignee="alex" form="org/bew/prozess/test.ftl" g="168,414,190,80" name="ask name">
<transition to="send email"/>
</task>
<mail g="387,32,179,80" language="juel" name="send email">
<to addresses=${email}/>
<subject>${subject}</subject>
<text>Hallo ${userName}</text>
<transition g="-76,-18" name="to EndEvent_1" to="EndEvent_1"/>
</mail>
<end g="676,38,48,48" name="EndEvent_1"/>
</process>
test.ftl
<html><body>
<form action="${form.action}" method="POST" enctype="multipart/form-data">
<h3>Hallo</h3>
Your Name: <input type="text" name="userName"/><br/>
<hr>
<br/><br/>
<input type="submit" name="Done"/>
</form></body></html>
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/545594#545594]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 11 months