Re: [jboss-user] [EJB 3.0] - Problem running ejb3 tutorial examples
by eivind hognestad
eivind hognestad [http://community.jboss.org/people/ehognestad] replied to the discussion
"Problem running ejb3 tutorial examples"
To view the discussion, visit: http://community.jboss.org/message/555078#555078
--------------------------------------------------------------
D:\development\tutorials\ejb3\source\stateless>echo %PATH%
C:\java\jdk1.5.0_17\bin;C:\Arquivos de programas\PC Connectivity Solution\;C:\java\javafx\javafx-sdk1.2\bin;C:\java\javafx\javafx-sdk1.2\emulator\bin;C:\Arquivos de programas\PHP\;C:\Arquivos de programas\Windows Resource Kits\Tools\;C:\Arq
uivos de programas\CSL Arm Toolchain\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Arquivos de programas\Intel\Wireless\Bin\;C:\Arquivos de programas\Arquivos comuns\Lenovo;D:\development\ant\bin;C:\Arquivos de programas\Ar
quivos comuns\DivX Shared\;C:\Arquivos de programas\IDM Computer Solutions\UltraEdit-32;C:\Arquivos de programas\QuickTime\QTSystem\;D:\development\apache-maven-2.0.9\bin;C:\Sun\jwsdp-2.0\jwsdp-shared\bin
D:\development\tutorials\ejb3\source\stateless>
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/555078#555078]
Start a new discussion in EJB 3.0 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 5 months
[JBoss Web Services] - WS-Security usernameToken
by Angelo Pellegrinon
Angelo Pellegrinon [http://community.jboss.org/people/angelo.pellegrinon] created the discussion
"WS-Security usernameToken"
To view the discussion, visit: http://community.jboss.org/message/555076#555076
--------------------------------------------------------------
Hi to all.
I'm new to jboss and jee.
I realized one ejb3 and a webservice (another ejb) to communicate with it from a php page.
I deployed it and all is good! GREAT.
Now I need to authenticate this webservice (I don't whant that all the world can use it).
What do you think about the "yahoo api webservice auth" mechanism? Is it possible to have something similar in jboss?
I searched about WS-Security and found usernameToken auth, but how can I implement it??
I Can't find one good tutorial, and I surfed the net all day long. Do you know one good tutorial?
Are there some other auth mechanisms? Forget about basic authentication, i must have as security as possible.
I'm using jboss AS 5.1.0.
Remember that i need to call the webservice from php and I have a class for Ws-Security (from phpClasses).
Thanks in advance and sorry for my English!
Angelo
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/555076#555076]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 5 months
Re: [jboss-user] [EJB 3.0] - Problem running ejb3 tutorial examples
by eivind hognestad
eivind hognestad [http://community.jboss.org/people/ehognestad] replied to the discussion
"Problem running ejb3 tutorial examples"
To view the discussion, visit: http://community.jboss.org/message/555061#555061
--------------------------------------------------------------
I attached the file classes.txt Jaikiran, and also printed output below:
[INFO] Scanning for projects...
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building EJB3.0 Stateless Bean Tutorial
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-enforcer-plugin: checking for updates from jboss
[INFO] [clean:clean]
[INFO] Deleting directory D:\development\tutorials\ejb3\source\stateless\target
[INFO] [enforcer:enforce {execution: enforce-banned-dependencies}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 5 source files to D:\development\tutorials\ejb3\source\stateless\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar: D:\development\tutorials\ejb3\source\stateless\target\jboss-ejb3-tutorial-stateless.jar
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] [enforcer:enforce {execution: enforce-banned-dependencies}]
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: D:\development\tutorials\ejb3\source\stateless\target\jboss-ejb3-tutorial-stateless-sources.jar
[INFO] [enforcer:enforce {execution: enforce-property}]
[INFO] [jboss-as-control:start {execution: start-jbossas}]
Starting server "all", with command (start timeout is 120 seconds ):
C:\java\jdk1.5.0_17\bin\java -cp D:\development\jboss-5.1.0.GA\bin\run.jar;C:\java\jdk1.5.0_17\lib\tools.jar -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Xms128m -Dsun.rmi.dgc.server.gcInterval=3600000 -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dxb.builder.useUnorderedSequence=true org.jboss.Main -c all -b localhost -g DefaultPartition
[INFO] [jboss-as-control:deploy {execution: deploy-tutorial}]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Could not deploy D:\development\tutorials\ejb3\source\stateless\target\jboss-ejb3-tutorial-stateless.jar
no protocol: and
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 minutes 37 seconds
[INFO] Finished at: Thu Jul 29 19:27:07 CEST 2010
[INFO] Final Memory: 47M/63M
[INFO] ------------------------------------------------------------------------
Shutting down server: all
Writing server thread dump to D:\development\jboss-5.1.0.GA\server\all\log\threadDump.log
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/555061#555061]
Start a new discussion in EJB 3.0 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 5 months
Re: [jboss-user] [jBPM] - in jbpm 4.3, timer's event listener throws exception on ExecuteEventListener.java:68.
by Tun Mang
Tun Mang [http://community.jboss.org/people/tunmang] replied to the discussion
"in jbpm 4.3, timer's event listener throws exception on ExecuteEventListener.java:68."
To view the discussion, visit: http://community.jboss.org/message/555047#555047
--------------------------------------------------------------
Hi HuiSheng:
Because the process never reached the next node "remove-file", that is why executeJob() was added to the event handler. (By the way, during the process the job entry has been automatically removed from jbpm4_job table though.)
In the same process, if change the timer's node "generate-file" to the following, then it works (i.e. it reached the "remove-file" node):
<state g="222,123,147,40" name="generate-file">
<on event="start">
<event-listener>
<field name="msg"><string value="entered the (generate-file) state node."/></field>
</event-listener>
</on>
<transition g="-71,-15" name="timeout" to="remove-file">
<timer duedate="10 seconds"/>
</transition>
</state>
Why it does not go to the next node if use the "timeout" event handler and how to make it work ?
Thanks a lot for your help.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/555047#555047]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 5 months