aspose file tools*
The moose likes JBoss/WildFly and the fly likes About log4 in eclipse/jbpm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "About log4 in eclipse/jbpm" Watch "About log4 in eclipse/jbpm" New topic
Author

About log4 in eclipse/jbpm

yaira lima ojeda
Greenhorn

Joined: Jan 20, 2010
Posts: 10
Hello, i´m new in this site and new in jboss developer , i have do my first proces definition and i have yhe next warn:

log4j:WARN No appenders could be found for logger (org.jbpm.JbpmConfiguration).
log4j:WARN Please initialize the log4j system properly.

Could someone tell me how i could solve that? step or action for this, i don´t know how to configure or do with this?
Thankss
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

Yiara, welcome to Java Ranch!

There is no log4j.properties file or log4j.xml file in your app's classpath.

If you don't care about the logging, you can ignore these warnings.


JBoss In Action
yaira lima ojeda
Greenhorn

Joined: Jan 20, 2010
Posts: 10
sorry, but i dont know where is app´classpath,
i know that jboss/jbpm instalation has an archive log4j.properties and a log4j.xml file but i dont know what its mean??
and besides, the tess run do not match result becouse of this warn..stop de runing and enything else happen with the process
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

the tess run do not match result becouse of this warn..stop de runing and enything else happen with the process

What? I did not understand this at all.

i know that jboss/jbpm instalation has an archive log4j.properties and a log4j.xml file

So you are running something using JBPM? How are you running it? Using a JBPM run script? If so, you can specify the classpath in that script, or possibly even pass the classspath to the script (I don't have JBPM on my system so I can't check offhand). Please provide more details on exactly how you are running your application.

yaira lima ojeda
Greenhorn

Joined: Jan 20, 2010
Posts: 10
Peter, i am using eclipse tu run jbpm process, lets see if you could understand me.
Step that i have do:

1- Install Jboss 2.7.2
2- Install Eclipse (eclipse-jee-galileo-SR1-linux-gtk)
3- Install Jbpm 3.2.6 into Eclipse
4- Process Definition

them, i have no configuration or any thing else, becouse i don't know what i have to do, i need know what is the next step to see is finally i could run my aplication.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

yaira lima ojeda wrote:1- Install Jboss 2.7.2

JBoss what? JBoss Application Server? If so, I don't know if there ever was a 2.7.2 version, and if there was, it is ancient.

yaira lima ojeda wrote:4- Process Definition

I am not sure what this means. Are you processing a Definition? Or are you defining a process?

You are also complicating things by attempting to do it within Eclipse. I really recommend running from the command line, and not from within Eclipse, because Eclipse can cause additional problems to happen due to incorrect Eclipse settings. Now if you ran from a command line, and posted the command you entered and the full command line output, then it would be easier to determine what the problem is.
yaira lima ojeda
Greenhorn

Joined: Jan 20, 2010
Posts: 10
look, i am defining a process with jbpm in eclipse, i just want to see that in the web browser with jboss
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

Originally you said you wanted to resolve the warnings about logging. I could help with that, but it has been ages since I played with JBPM, perhaps someone with JBPM experience would be kind enough to help.

By the way, the logging warnings are not critical and you can ignore them - they will not prevent the program from running correctly. If your JBPM program is not working correctly, perhaps you should tell the details.
yaira lima ojeda
Greenhorn

Joined: Jan 20, 2010
Posts: 10
well, i am trying to learn about jbmp and definition of process but i do not have result, if you find something that could help me, please write me de adress..
thanks
regardss yaira
 
jQuery in Action, 2nd edition
 
subject: About log4 in eclipse/jbpm