You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by kumar k <ku...@yahoo.com> on 2007/07/14 15:32:39 UTC

trouble in starting servicemix

When I start servicemix I get an error stating file not found(log4j). File is present in conf directory. Probably it is not able to get dtd. What should I do? 

       
---------------------------------
Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.
       
---------------------------------
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel and lay it on us.

RE: trouble in starting servicemix

Posted by ra...@wipro.com.
I think you are starting $SERVICEMIX_HOME\bin folder 

Start from $SERVICEMIX_HOME giving bin\servicemix


Regards,
Rabi Mishra, 
http://rabisblog.blogspot.com/
c++; /* this makes c bigger but returns the old value */ 
-----Original Message-----
From: kumar k [mailto:kumarq99@yahoo.com] 
Sent: Wednesday, July 18, 2007 3:38 PM
To: servicemix-users@geronimo.apache.org
Subject: Re: trouble in starting servicemix

Even in 3.1.1 I am getting this error. Seems to be dtd error. I am not
able to open log4j.xml using IE. It says       The system cannot locate
the resource specified. Error processing resource 'log4j.dtd'. Error
processing resource 'file://...  

<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">  
  

    log  is :
  14:59:07,801 | INFO  | main       | nnectorServerFactoryBean |
jmx.ConnectorServerFactoryBean  191 | JMX connector available at:
service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
14:59:27,779 | INFO  | main       | JBIContainer             |
mix.jbi.container.JBIContainer  531 | ServiceMix 3.1.1-incubating JBI
Container (ServiceMix) is starting
14:59:27,779 | INFO  | main       | JBIContainer             |
mix.jbi.container.JBIContainer  534 | For help or more informations
please see: http://incubator.apache.org/servicemix/
14:59:28,311 | INFO  | main       | ComponentMBeanImpl       |
i.framework.ComponentMBeanImpl  191 | Initializing component:
#SubscriptionManager#
14:59:28,358 | INFO  | main       | DeploymentService        |
bi.framework.DeploymentService  684 | Restoring service assemblies
14:59:28,640 | INFO  | main       | JBIContainer             |
mix.jbi.container.JBIContainer  610 | ServiceMix JBI Container
(ServiceMix) started
14:59:39,998 | INFO  | main       | JDBCAdapterFactory       |
icemix.jdbc.JDBCAdapterFactory   42 | Database driver recognized:
[apache_derby_embedded_jdbc_driver]
14:59:40,592 | ERROR | main       | LogTask                  |
servicemix.jbi.logging.LogTask   61 | java.io.FileNotFoundException:
conf\log4j.xml (The system cannot find the path specified)

Gert Vanthienen <ge...@skynet.be> wrote:
  Kumar,

Can you post a full stacktrace of the error you get?

Gert

kumar k wrote:
> When I start servicemix I get an error stating file not found(log4j).
File is present in conf directory. Probably it is not able to get dtd.
What should I do? 
>
> 
> ---------------------------------
> Be a better Globetrotter. Get better travel answers from someone who
knows.
> Yahoo! Answers - Check it out.
> 
> ---------------------------------
> Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user
panel and lay it on us.
> 


       
---------------------------------
Get the Yahoo! toolbar and be alerted to new email wherever you're
surfing. 
       
---------------------------------
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket:
mail, news, photos & more. 


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
 
www.wipro.com

Re: trouble in starting servicemix

Posted by Bruce Snyder <br...@gmail.com>.
On 7/18/07, Thomas Termin <tt...@blue-elephant-systems.com> wrote:
> I will do a backport for this. I had also forgotten to do a backport for
> a major fix in 3.1.1(truststore for unmanged ssl connections is not set)

Thanks, Thomas. Doing the backport is a good idea and since these two
fixes were actually intended for 3.1.1 but overlooked by us, maybe we
should consider another release, possibly ServiceMix 3.1.2. I think
that the Log4J bug causes people enough trouble to warrant such a
release. But we'll have to put it to a vote on the dev list.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/

Re: trouble in starting servicemix

Posted by Thomas Termin <tt...@blue-elephant-systems.com>.
I will do a backport for this. I had also forgotten to do a backport for
a major fix in 3.1.1(truststore for unmanged ssl connections is not set)

Thomas

Bruce Snyder wrote:
> On 7/18/07, Thomas Termin <tt...@blue-elephant-systems.com> wrote:
> 
>> If I remeber correctly it is not fixed in 3.1.1(is it Bruce?). So can
>> you try to start servicemix with bin\servicemix.sh or bin\servicemix.bat
> 
> 
> Well I certainly thought it was included in 3.1.1, but upon checking
> up on this, it appears that I failed to pull the fix into 3.1.1. So
> it's only available on the trunk :-(. More motivation to get the trunk
> stable and released I suppose.
> 
> Bruce


-- 
Thomas Termin
_______________________________
blue elephant systems GmbH
Wollgrasweg 49
D-70599 Stuttgart

Tel    :  (+49) 0711 - 45 10 17 676
Fax    :  (+49) 0711 - 45 10 17 573
WWW    :  http://www.blue-elephant-systems.com
Email  :  Thomas.Termin@blue-elephant-systems.com

blue elephant systems GmbH
Firmensitz      : Wollgrasweg 49, D-70599 Stuttgart
Registergericht : Amtsgericht Stuttgart, HRB 24106
GeschÀftsfÌhrer : Holger Dietrich, Thomas Gentsch, Joachim Hoernle


Re: trouble in starting servicemix

Posted by Bruce Snyder <br...@gmail.com>.
On 7/18/07, Thomas Termin <tt...@blue-elephant-systems.com> wrote:
> If I remeber correctly it is not fixed in 3.1.1(is it Bruce?). So can
> you try to start servicemix with bin\servicemix.sh or bin\servicemix.bat

Well I certainly thought it was included in 3.1.1, but upon checking
up on this, it appears that I failed to pull the fix into 3.1.1. So
it's only available on the trunk :-(. More motivation to get the trunk
stable and released I suppose.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/

Re: trouble in starting servicemix

Posted by Thomas Termin <tt...@blue-elephant-systems.com>.
If I remeber correctly it is not fixed in 3.1.1(is it Bruce?). So can
you try to start servicemix with bin\servicemix.sh or bin\servicemix.bat

Cheers,
Thomas TErmin

kumar k wrote:
> Even in 3.1.1 I am getting this error. Seems to be dtd error. I am not able to open log4j.xml using IE. It says       The system cannot locate the resource specified. Error processing resource 'log4j.dtd'. Error processing resource 'file://...  
> 
> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">  
>   
> 
>     log  is :
>   14:59:07,801 | INFO  | main       | nnectorServerFactoryBean | jmx.ConnectorServerFactoryBean  191 | JMX connector available at: service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
> 14:59:27,779 | INFO  | main       | JBIContainer             | mix.jbi.container.JBIContainer  531 | ServiceMix 3.1.1-incubating JBI Container (ServiceMix) is starting
> 14:59:27,779 | INFO  | main       | JBIContainer             | mix.jbi.container.JBIContainer  534 | For help or more informations please see: http://incubator.apache.org/servicemix/
> 14:59:28,311 | INFO  | main       | ComponentMBeanImpl       | i.framework.ComponentMBeanImpl  191 | Initializing component: #SubscriptionManager#
> 14:59:28,358 | INFO  | main       | DeploymentService        | bi.framework.DeploymentService  684 | Restoring service assemblies
> 14:59:28,640 | INFO  | main       | JBIContainer             | mix.jbi.container.JBIContainer  610 | ServiceMix JBI Container (ServiceMix) started
> 14:59:39,998 | INFO  | main       | JDBCAdapterFactory       | icemix.jdbc.JDBCAdapterFactory   42 | Database driver recognized: [apache_derby_embedded_jdbc_driver]
> 14:59:40,592 | ERROR | main       | LogTask                  | servicemix.jbi.logging.LogTask   61 | java.io.FileNotFoundException: conf\log4j.xml (The system cannot find the path specified)
> 
> Gert Vanthienen <ge...@skynet.be> wrote:
>   Kumar,
> 
> Can you post a full stacktrace of the error you get?
> 
> Gert
> 
> kumar k wrote:
> 
>>When I start servicemix I get an error stating file not found(log4j). File is present in conf directory. Probably it is not able to get dtd. What should I do? 
>>
>>
>>---------------------------------
>>Be a better Globetrotter. Get better travel answers from someone who knows.
>>Yahoo! Answers - Check it out.
>>
>>---------------------------------
>>Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.
>>
> 
> 
> 
>        
> ---------------------------------
> Get the Yahoo! toolbar and be alerted to new email wherever you're surfing. 
>        
> ---------------------------------
> Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. 


-- 
Thomas Termin
_______________________________
blue elephant systems GmbH
Wollgrasweg 49
D-70599 Stuttgart

Tel    :  (+49) 0711 - 45 10 17 676
Fax    :  (+49) 0711 - 45 10 17 573
WWW    :  http://www.blue-elephant-systems.com
Email  :  Thomas.Termin@blue-elephant-systems.com

blue elephant systems GmbH
Firmensitz      : Wollgrasweg 49, D-70599 Stuttgart
Registergericht : Amtsgericht Stuttgart, HRB 24106
GeschÀftsfÌhrer : Holger Dietrich, Thomas Gentsch, Joachim Hoernle


Re: trouble in starting servicemix

Posted by kumar k <ku...@yahoo.com>.
Even in 3.1.1 I am getting this error. Seems to be dtd error. I am not able to open log4j.xml using IE. It says       The system cannot locate the resource specified. Error processing resource 'log4j.dtd'. Error processing resource 'file://...  

<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">  
  

    log  is :
  14:59:07,801 | INFO  | main       | nnectorServerFactoryBean | jmx.ConnectorServerFactoryBean  191 | JMX connector available at: service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
14:59:27,779 | INFO  | main       | JBIContainer             | mix.jbi.container.JBIContainer  531 | ServiceMix 3.1.1-incubating JBI Container (ServiceMix) is starting
14:59:27,779 | INFO  | main       | JBIContainer             | mix.jbi.container.JBIContainer  534 | For help or more informations please see: http://incubator.apache.org/servicemix/
14:59:28,311 | INFO  | main       | ComponentMBeanImpl       | i.framework.ComponentMBeanImpl  191 | Initializing component: #SubscriptionManager#
14:59:28,358 | INFO  | main       | DeploymentService        | bi.framework.DeploymentService  684 | Restoring service assemblies
14:59:28,640 | INFO  | main       | JBIContainer             | mix.jbi.container.JBIContainer  610 | ServiceMix JBI Container (ServiceMix) started
14:59:39,998 | INFO  | main       | JDBCAdapterFactory       | icemix.jdbc.JDBCAdapterFactory   42 | Database driver recognized: [apache_derby_embedded_jdbc_driver]
14:59:40,592 | ERROR | main       | LogTask                  | servicemix.jbi.logging.LogTask   61 | java.io.FileNotFoundException: conf\log4j.xml (The system cannot find the path specified)

Gert Vanthienen <ge...@skynet.be> wrote:
  Kumar,

Can you post a full stacktrace of the error you get?

Gert

kumar k wrote:
> When I start servicemix I get an error stating file not found(log4j). File is present in conf directory. Probably it is not able to get dtd. What should I do? 
>
> 
> ---------------------------------
> Be a better Globetrotter. Get better travel answers from someone who knows.
> Yahoo! Answers - Check it out.
> 
> ---------------------------------
> Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.
> 


       
---------------------------------
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing. 
       
---------------------------------
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. 

Re: trouble in starting servicemix

Posted by Gert Vanthienen <ge...@skynet.be>.
Kumar,

Can you post a full stacktrace of the error you get?

Gert

kumar k wrote:
> When I start servicemix I get an error stating file not found(log4j). File is present in conf directory. Probably it is not able to get dtd. What should I do? 
>
>        
> ---------------------------------
> Be a better Globetrotter. Get better travel answers from someone who knows.
> Yahoo! Answers - Check it out.
>        
> ---------------------------------
> Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel and lay it on us.
>   

Re: trouble in starting servicemix

Posted by Gert Vanthienen <ge...@skynet.be>.
Kumar,

Could you try to start the server as described in 
http://incubator.apache.org/servicemix/1-quick-start.html (use 
bin\servicemix.bat when you're in directory d:\servicemix)?

If it doesn't work, please copy-paste the error description and/or stack 
trace in your reply instead of using attachments (they are removed 
automatically).

Gert

kumar k wrote:
> I am in bin directory and command provided at cmd is
> d:\aervcemix/bin>sevicemix.bat
> error log is attached.
> 
> */Bruce Snyder <br...@gmail.com>/* wrote:
> 
>     On 7/14/07, kumar k wrote:
>      > When I start servicemix I get an error stating file not
>     found(log4j). File is present in conf directory. Probably it is not
>     able to get dtd. What should I do?
> 
>     I'll hazard a guess that you're using ServiceMix 3.1 and you're not
>     sitting in the bin directory when you start ServiceMix. This was a bug
>     in ServiceMix 3.1 that I identified immediately after 3.1 was
>     released. This is fixed in ServiceMix 3.1.1:
> 
>     http://incubator.apache.org/servicemix/servicemix-311.html
> 
>     If this is not the issue you are facing, as Gert suggested, please
>     post the full error or stack trace you are seeing.
> 
>     Bruce
>     -- 
>     perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E
>     );'
> 
>     Apache Geronimo - http://geronimo.apache.org/
>     Apache ActiveMQ - http://activemq.org/
>     Apache ServiceMix - http://servicemix.org/
>     Castor - http://castor.org/
> 
> 
> ------------------------------------------------------------------------
> Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: 
> <http://us.rd.yahoo.com/evt=48253/*http://mobile.yahoo.com/go?refer=1GNXIC> 
> mail, news, photos & more.
> 
> ------------------------------------------------------------------------
> Yahoo! oneSearch: Finally, mobile search that gives answers 
> <http://us.rd.yahoo.com/evt=48252/*http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC>, 
> not web links.

Re: trouble in starting servicemix

Posted by kumar k <ku...@yahoo.com>.
I am in bin directory and command provided at cmd is
  d:\aervcemix/bin>sevicemix.bat 
  error log is attached. 

Bruce Snyder <br...@gmail.com> wrote:
  On 7/14/07, kumar k wrote:
> When I start servicemix I get an error stating file not found(log4j). File is present in conf directory. Probably it is not able to get dtd. What should I do?

I'll hazard a guess that you're using ServiceMix 3.1 and you're not
sitting in the bin directory when you start ServiceMix. This was a bug
in ServiceMix 3.1 that I identified immediately after 3.1 was
released. This is fixed in ServiceMix 3.1.1:

http://incubator.apache.org/servicemix/servicemix-311.html

If this is not the issue you are facing, as Gert suggested, please
post the full error or stack trace you are seeing.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/


       
---------------------------------
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. 
       
---------------------------------
Yahoo! oneSearch: Finally,  mobile search that gives answers, not web links. 

Re: trouble in starting servicemix

Posted by Bruce Snyder <br...@gmail.com>.
On 7/14/07, kumar k <ku...@yahoo.com> wrote:
> When I start servicemix I get an error stating file not found(log4j). File is present in conf directory. Probably it is not able to get dtd. What should I do?

I'll hazard a guess that you're using ServiceMix 3.1 and you're not
sitting in the bin directory when you start ServiceMix. This was a bug
in ServiceMix 3.1 that I identified immediately after 3.1 was
released. This is fixed in ServiceMix 3.1.1:

http://incubator.apache.org/servicemix/servicemix-311.html

If this is not the issue you are facing, as Gert suggested, please
post the full error or stack trace you are seeing.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/