[Design of JBoss jBPM] - GWT Console login problem
by kukeltje
Ok, I admit it... I am learning GWT (a little) to investigate a certain forms technology. So I checked out the source and followed these steps:
- cd gwt-console
- mvn install
- cd ../jbpm4
- mvn -Pdistro clean install
and ran the jbpm installer on a clean JBoss AS 5.0
When I tried to login, I got the following exception in the Firebug console:
| [Exception... "'java.lang.RuntimeException: Unknown error upon login attempt' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no]
No errors in the AS log or whatever.
When I want to debug the application using
[kukel@laptop war]$ mvn com.totsp.gwt:maven-googlewebtoolkit2-plugin:gwt
All I get is
Warning: JAVA_HOME environment variable is not set.
| [INFO] Scanning for projects...
| [INFO] ------------------------------------------------------------------------
| [INFO] Building JBoss BPM - GWT Console (WAR)
| [INFO] task-segment: [com.totsp.gwt:maven-googlewebtoolkit2-plugin:gwt]
| [INFO] ------------------------------------------------------------------------
| [INFO] Preparing gwt:gwt
| [INFO] [resources:resources]
| [INFO] Using default encoding to copy filtered resources.
| [INFO] [gwt:mergewebxml {execution: default}]
| [INFO] copy source web.xml - /home/kukel/workspace/gwt-console/war/src/main/webapp/WEB-INF/web.xml to build dir (source web.xml required if mergewebxml execution is enabled)
| [INFO] establishing classpath list (buildClaspathList - scope = COMPILE)
| [INFO] google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependencies
| [INFO] Module file: /home/kukel/workspace/gwt-console/war/src/main/resources/org/jboss/bpm/console/Application.gwt.xml
| [INFO] [compiler:compile]
| [INFO] Compiling 3 source files to /home/kukel/workspace/gwt-console/war/target/classes
| [INFO] [dependency:unpack {execution: unpack}]
| [INFO] Configured Artifact: com.google.gwt:gwt-dev:linux-libs:?:zip
| [INFO] gwt-dev-1.5.2-linux-libs.zip already unpacked.
| [INFO] [gwt:gwt]
| [INFO] source web.xml present - /home/kukel/workspace/gwt-console/war/src/main/webapp/WEB-INF/web.xml - using it with embedded Tomcat
| [INFO] establishing classpath list (buildClaspathList - scope = RUNTIME)
| [INFO] google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependencies
| ============= gwt-log-2.5.2 =============Thu Apr 16 20:01:03 CEST 2009=============
| [DEBUG] Console server: http://localhost:8888/org.jboss.bpm.console.Application/xhp
| [DEBUG] Report server: http://localhost:8080/report-server
| [DEBUG] Authentication against: http://localhost:8888/org.jboss.bpm.console.Application/xhp/rs/identity/u...
| GET http://localhost:8080/gwt-console-server/rs/identity/user/roles?roleCheck...: 200
| [DEBUG] Reload ext-gen168
| GET http://localhost:8080/gwt-console-server/rs/tasks/alex?start=0&limit=15&_...: 200
|
when I try to login.
The application does not even respond anymore in this situation
So does anybody have any idea how to 'fix' this?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226009#4226009
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226009
16 years, 11 months
[Design of JBoss jBPM] - Re: schema for mail template and activity
by tom.baeyens@jboss.com
1) we shouldn't create a dependency on commons stuff. our users will use it as well and that way we get library version conflicts. using standards directly we don't have that problem.
commons email is intended as a convenient api abstraction on top of JavaMail. we don't need that convenience. we should be good enough to figure out JavaMail on our own.
our users will see neither. not our mail session, not commons mail abstraction. so it is an internal only implementation detail.
2) the api i proposed is based on the functionality that we build: use named templates to prepopulate fields in an email. i don't see the arguments why you think a separate email class is better.
3) true. the name session is only inspired by the rest. but a mail mnager would be just as good.
i'll have a look at the branch this evening
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226004#4226004
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226004
16 years, 11 months
[Design of JBoss ESB] - Smooks Splitting Message
by ama1
Hi,
I trying to split a message into pieces and write those pieces to a file.
But in difference to the available examples I want to write all e.g. order-items to a file order-item.txt and dont want to create a file/order-item.
I tryed a configuration like that (my order-item is my product, which is a child element of Company):
<!-- Hotel - Create/open a file output stream. -->
| <file:outputStream openOnElement="Company" resourceName="hotelSplitStream">
| <file:fileNamePattern>hotel.csv</file:fileNamePattern>
| <file:destinationDirectoryPattern>d:/temp/inbound/</file:destinationDirectoryPattern>
| <file:listFileNamePattern>sam-files.lst</file:listFileNamePattern>
| <file:highWaterMark mark="1" />
| </file:outputStream>
|
| <!-- Hotel -->
| <ftl:freemarker applyOnElement="Product">
| <ftl:template><!--${bla}--></ftl:template>
| <ftl:use>
| <ftl:outputTo outputStreamResource="hotelSplitStream" />
| </ftl:use>
| </ftl:freemarker>
But that produces me this error message:
Caused by: org.milyn.SmooksException: OutputResource 'hotelSplitStream' not bound to context. Configure an 'org.milyn.io.AbstractOutputStreamResource' implementation, or change resource ordering.
Apperently, the stream is only visible on the same element...?
Is my use case feasible like this? Or do I have to find another way?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225973#4225973
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225973
16 years, 11 months