Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » OHF » OHF Bridge Installation
OHF Bridge Installation [message #33766] Wed, 03 October 2007 15:03 Go to next message
Eclipse UserFriend
Originally posted by: correia.silva.gmail.com

Hi,

I'm a starter user of OHF.
My first step is install the OHF Bridge, but I’m having difficulties in
doing it.
I follow the installation guide (at
http://www.eclipse.org/ohf/components/bridge/install.php), but in the end
of process the web service is not available
(http://localhost:8080/bridge/services/ohf-bridge?wsdl) (the port is
correctly defined).
For a better overview I explain what I’m doing:
- I have Tomcat 5.5 installed. I stop it and delete the folder Catalina
from .../Tomcat 5.5/work directory;
- I don't know if i got the correct OHF Bridge Installation Package (is it
"org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip"? There are other
pre-requisites? );
- I download the "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip"
and extract the files (obtain 2 folders (conf and webapps) and 2 files
(notice and epl-v10));
- Then, I copy the files from conf folder to .../Tomcat 5.5/conf and the
file bridge.war from webapps to .../Tomcat 5.5/webapps
- Finally I start Tomcat again and test the web service but it aren't
there.

Can you please give me some help?
Thanks in advance,
Daniel
Re: OHF Bridge Installation [message #33834 is a reply to message #33766] Thu, 04 October 2007 15:59 Go to previous messageGo to next message
Matthew DavisFriend
Messages: 269
Registered: July 2009
Senior Member
Hi Daniel,

Could you please attach more information. Look for a bridge.log file in
the home directory of Tomcat. If that does not exist, please look in
your Tomcat logs to try to find a stack trace.

Also, please verify you're using Java 1.5.x. That's the only supported
version of Java right now with the OHF Bridge.

Thanks,
-Matt


Daniel Silva wrote:
> Hi,
>
> I'm a starter user of OHF.
> My first step is install the OHF Bridge, but I�m having difficulties in
> doing it.
> I follow the installation guide (at
> http://www.eclipse.org/ohf/components/bridge/install.php), but in the
> end of process the web service is not available
> (http://localhost:8080/bridge/services/ohf-bridge?wsdl) (the port is
> correctly defined).
> For a better overview I explain what I�m doing:
> - I have Tomcat 5.5 installed. I stop it and delete the folder Catalina
> from .../Tomcat 5.5/work directory;
> - I don't know if i got the correct OHF Bridge Installation Package (is
> it "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip"? There are
> other pre-requisites? );
> - I download the "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip"
> and extract the files (obtain 2 folders (conf and webapps) and 2 files
> (notice and epl-v10));
> - Then, I copy the files from conf folder to .../Tomcat 5.5/conf and the
> file bridge.war from webapps to .../Tomcat 5.5/webapps
> - Finally I start Tomcat again and test the web service but it aren't
> there.
>
> Can you please give me some help?
> Thanks in advance,
> Daniel
>
>
Re: OHF Bridge Installation [message #33911 is a reply to message #33834] Thu, 04 October 2007 17:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: correia.silva.gmail.com

Hi Matt,

Thanks for the guidelines.
I'm using java 1.5.0_11.
I didn't find any bridge.log file, but there is a logs folder with a
stdout.log file where I found the following message:
(...)
INFO: XML validation disabled
- Unable to find config file. Creating new servlet engine config file:
/WEB-INF/server-config.wsdd
- Unable to find required classes (javax.activation.DataHandler and
javax.mail.internet.MimeMultipart). Attachment support is disabled.
(...)

In the "installation from scratch" (i tried it too) there is a step that
mentions this file (server-config.wsdd) and it doesn't exist on my Tomcat.
"12. Copy the Web service deployment descriptor (server-config.wsdd) from
the [tomcat home]/conf/ directory to the [tomcat
home]/webapps/bridge/WEB-INF/ directory."

Do you have any ideas?

Other problem is:
When I start Apache Tomcat with bridge.war in my Tomcat 5.5/webapps folder,
it creates a folder named bridge (that's expected).
After this, my Tomcat stops and i can't start it again. I have to delete
bridge.war and bridge folder to start it again successfully.

Thanks for help,
Daniel.


"Matthew Davis" <mattadav@us.ibm.com> wrote in message
news:fe32la$n67$1@build.eclipse.org...
> Hi Daniel,
>
> Could you please attach more information. Look for a bridge.log file in
> the home directory of Tomcat. If that does not exist, please look in your
> Tomcat logs to try to find a stack trace.
>
> Also, please verify you're using Java 1.5.x. That's the only supported
> version of Java right now with the OHF Bridge.
>
> Thanks,
> -Matt
>
>
> Daniel Silva wrote:
>> Hi,
>>
>> I'm a starter user of OHF.
>> My first step is install the OHF Bridge, but I�m having difficulties in
>> doing it.
>> I follow the installation guide (at
>> http://www.eclipse.org/ohf/components/bridge/install.php), but in the end
>> of process the web service is not available
>> (http://localhost:8080/bridge/services/ohf-bridge?wsdl) (the port is
>> correctly defined).
>> For a better overview I explain what I�m doing:
>> - I have Tomcat 5.5 installed. I stop it and delete the folder Catalina
>> from .../Tomcat 5.5/work directory;
>> - I don't know if i got the correct OHF Bridge Installation Package (is
>> it "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip"? There are
>> other pre-requisites? );
>> - I download the "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip"
>> and extract the files (obtain 2 folders (conf and webapps) and 2 files
>> (notice and epl-v10));
>> - Then, I copy the files from conf folder to .../Tomcat 5.5/conf and the
>> file bridge.war from webapps to .../Tomcat 5.5/webapps
>> - Finally I start Tomcat again and test the web service but it aren't
>> there.
>>
>> Can you please give me some help?
>> Thanks in advance,
>> Daniel
>>
Re: OHF Bridge Installation [message #33986 is a reply to message #33911] Fri, 05 October 2007 17:39 Go to previous messageGo to next message
Jesse Pangburn is currently offline Jesse PangburnFriend
Messages: 166
Registered: July 2009
Senior Member
Hi Daniel,
Are you installing in Linux or Windows? I've installed it in both and
Windows is easier, but only if you install tomcat in the exact path:
C:\Program Files\Apache Software Foundation\Tomcat 5.5

Otherwise, it doesn't find the bridge.properties file in the conf
directory for some reason. I got around this in linux by adding a -D
switch to my tomcat startup, I don't remember the exact line, but if
you're using linux I'll look it up. Otherwise, if you're using windows,
save yourself some hassle and install tomcat to this exact directory.

> After this, my Tomcat stops and i can't start it again. I have to delete
> bridge.war and bridge folder to start it again successfully.
As Matt suggested, problems like this require you to send a stack trace
when you try to start tomcat and it fails. Otherwise, no one is going to
know why it failed and won't be able to help you. It should be in the
tomcat logs directory, in a file named "catalina.<today's date>.log".

As for the server-config.wsdd, it's in the webapps/bridge/WEB-INF
directory after that bridge.war file expands. You should be able to stop
and start tomcat as much as you like, it works fine on both my linux and
windows installations without deleting anything.

I haven't tried the install from scratch, as it wasn't necessary.
Unzipping the org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip worked
for me.

> INFO: XML validation disabled
> - Unable to find config file. Creating new servlet engine config file:
> /WEB-INF/server-config.wsdd
> - Unable to find required classes (javax.activation.DataHandler and
> javax.mail.internet.MimeMultipart). Attachment support is disabled.
> (...)
I have this first line about XML validation disabled, but not the other
two. The attachment support one I doubt is a problem. The "unable to
find config file" one I'm not sure about. I deleted my webapps/bridge
directory to force the war to expand again, and I didn't get that error-
so my guess is that there's some config problem.

The other log file to look for errors in is "tomcat 5.5/bridge/bridge.log"
(not under webapps, directly under the tomcat 5.5 folder).

Just to be totally clear, my first suggestion is to verify that you're
installing in that exact path on Windows. It should be smooth sailing if
that's the case.

thanks,
Jesse

Daniel Silva wrote:

> Hi Matt,

> Thanks for the guidelines.
> I'm using java 1.5.0_11.
> I didn't find any bridge.log file, but there is a logs folder with a
> stdout.log file where I found the following message:
> (...)
> INFO: XML validation disabled
> - Unable to find config file. Creating new servlet engine config file:
> /WEB-INF/server-config.wsdd
> - Unable to find required classes (javax.activation.DataHandler and
> javax.mail.internet.MimeMultipart). Attachment support is disabled.
> (...)

> In the "installation from scratch" (i tried it too) there is a step that
> mentions this file (server-config.wsdd) and it doesn't exist on my Tomcat.
> "12. Copy the Web service deployment descriptor (server-config.wsdd) from
> the [tomcat home]/conf/ directory to the [tomcat
> home]/webapps/bridge/WEB-INF/ directory."

> Do you have any ideas?

> Other problem is:
> When I start Apache Tomcat with bridge.war in my Tomcat 5.5/webapps folder,
> it creates a folder named bridge (that's expected).
> After this, my Tomcat stops and i can't start it again. I have to delete
> bridge.war and bridge folder to start it again successfully.

> Thanks for help,
> Daniel.


> "Matthew Davis" <mattadav@us.ibm.com> wrote in message
> news:fe32la$n67$1@build.eclipse.org...
>> Hi Daniel,
>>
>> Could you please attach more information. Look for a bridge.log file in
>> the home directory of Tomcat. If that does not exist, please look in your
>> Tomcat logs to try to find a stack trace.
>>
>> Also, please verify you're using Java 1.5.x. That's the only supported
>> version of Java right now with the OHF Bridge.
>>
>> Thanks,
>> -Matt
>>
>>
>> Daniel Silva wrote:
>>> Hi,
>>>
>>> I'm a starter user of OHF.
>>> My first step is install the OHF Bridge, but Iï¿œm having difficulties in
>>> doing it.
>>> I follow the installation guide (at
>>> http://www.eclipse.org/ohf/components/bridge/install.php), but in the end
>>> of process the web service is not available
>>> (http://localhost:8080/bridge/services/ohf-bridge?wsdl) (the port is
>>> correctly defined).
>>> For a better overview I explain what Iï¿œm doing:
>>> - I have Tomcat 5.5 installed. I stop it and delete the folder Catalina
>>> from .../Tomcat 5.5/work directory;
>>> - I don't know if i got the correct OHF Bridge Installation Package (is
>>> it "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip"? There are
>>> other pre-requisites? );
>>> - I download the "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip"
>>> and extract the files (obtain 2 folders (conf and webapps) and 2 files
>>> (notice and epl-v10));
>>> - Then, I copy the files from conf folder to .../Tomcat 5.5/conf and the
>>> file bridge.war from webapps to .../Tomcat 5.5/webapps
>>> - Finally I start Tomcat again and test the web service but it aren't
>>> there.
>>>
>>> Can you please give me some help?
>>> Thanks in advance,
>>> Daniel
>>>
Re: OHF Bridge Installation [message #34270 is a reply to message #33986] Mon, 08 October 2007 17:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: correia.silva.gmail.com

Hi Jesse,

Thanks for help.

"Jesse Pangburn" <jesse.pangburn@quovadx.com> wrote in message
news:577bc81543ae4ef80946d260cf3bea78$1@www.eclipse.org...
> Hi Daniel,
> Are you installing in Linux or Windows? I've installed it in both and
> Windows is easier, but only if you install tomcat in the exact path:
> C:\Program Files\Apache Software Foundation\Tomcat 5.5
>
> Otherwise, it doesn't find the bridge.properties file in the conf
> directory for some reason. I got around this in linux by adding a -D
> switch to my tomcat startup, I don't remember the exact line, but if
> you're using linux I'll look it up. Otherwise, if you're using windows,
> save yourself some hassle and install tomcat to this exact directory.

I'm using Windows Vista Business, and I think this is the problem.
I install Tomcat and OHF Bridge on a Windows XP and it works fine (allways
on: C:\Program Files\Apache Software Foundation\Tomcat 5.5).

>
>> After this, my Tomcat stops and i can't start it again. I have to delete
>> bridge.war and bridge folder to start it again successfully.
> As Matt suggested, problems like this require you to send a stack trace
> when you try to start tomcat and it fails. Otherwise, no one is going to
> know why it failed and won't be able to help you. It should be in the
> tomcat logs directory, in a file named "catalina.<today's date>.log".

On Windows Vista I can't find this log files.

>
> As for the server-config.wsdd, it's in the webapps/bridge/WEB-INF
> directory after that bridge.war file expands. You should be able to stop
> and start tomcat as much as you like, it works fine on both my linux and
> windows installations without deleting anything.
>
> I haven't tried the install from scratch, as it wasn't necessary.
> Unzipping the org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip worked
> for me.
>
>> INFO: XML validation disabled
>> - Unable to find config file. Creating new servlet engine config file:
>> /WEB-INF/server-config.wsdd
>> - Unable to find required classes (javax.activation.DataHandler and
>> javax.mail.internet.MimeMultipart). Attachment support is disabled.
>> (...)
> I have this first line about XML validation disabled, but not the other
> two. The attachment support one I doubt is a problem. The "unable to
> find config file" one I'm not sure about. I deleted my webapps/bridge
> directory to force the war to expand again, and I didn't get that error-
> so my guess is that there's some config problem.
>
> The other log file to look for errors in is "tomcat 5.5/bridge/bridge.log"
> (not under webapps, directly under the tomcat 5.5 folder).

This directory (tomcat 5.5/bridge) is not created on Windows Vista.

>
> Just to be totally clear, my first suggestion is to verify that you're
> installing in that exact path on Windows. It should be smooth sailing if
> that's the case.
>
> thanks,
> Jesse


Does anyone know anything about using Tomcat on Windows Vista?
I think this is the main question, rigth?

Thanks,

Daniel Silva



>
> Daniel Silva wrote:
>
>> Hi Matt,
>
>> Thanks for the guidelines.
>> I'm using java 1.5.0_11.
>> I didn't find any bridge.log file, but there is a logs folder with a
>> stdout.log file where I found the following message:
>> (...)
>> INFO: XML validation disabled
>> - Unable to find config file. Creating new servlet engine config file:
>> /WEB-INF/server-config.wsdd
>> - Unable to find required classes (javax.activation.DataHandler and
>> javax.mail.internet.MimeMultipart). Attachment support is disabled.
>> (...)
>
>> In the "installation from scratch" (i tried it too) there is a step that
>> mentions this file (server-config.wsdd) and it doesn't exist on my
>> Tomcat.
>> "12. Copy the Web service deployment descriptor (server-config.wsdd) from
>> the [tomcat home]/conf/ directory to the [tomcat
>> home]/webapps/bridge/WEB-INF/ directory."
>
>> Do you have any ideas?
>
>> Other problem is:
>> When I start Apache Tomcat with bridge.war in my Tomcat 5.5/webapps
>> folder, it creates a folder named bridge (that's expected).
>> After this, my Tomcat stops and i can't start it again. I have to delete
>> bridge.war and bridge folder to start it again successfully.
>
>> Thanks for help,
>> Daniel.
>
>
>> "Matthew Davis" <mattadav@us.ibm.com> wrote in message
>> news:fe32la$n67$1@build.eclipse.org...
>>> Hi Daniel,
>>>
>>> Could you please attach more information. Look for a bridge.log file in
>>> the home directory of Tomcat. If that does not exist, please look in
>>> your Tomcat logs to try to find a stack trace.
>>>
>>> Also, please verify you're using Java 1.5.x. That's the only supported
>>> version of Java right now with the OHF Bridge.
>>>
>>> Thanks,
>>> -Matt
>>>
>>>
>>> Daniel Silva wrote:
>>>> Hi,
>>>>
>>>> I'm a starter user of OHF.
>>>> My first step is install the OHF Bridge, but Iï¿œm having difficulties
>>>> in doing it.
>>>> I follow the installation guide (at
>>>> http://www.eclipse.org/ohf/components/bridge/install.php), but in the
>>>> end of process the web service is not available
>>>> (http://localhost:8080/bridge/services/ohf-bridge?wsdl) (the port is
>>>> correctly defined).
>>>> For a better overview I explain what Iï¿œm doing:
>>>> - I have Tomcat 5.5 installed. I stop it and delete the folder Catalina
>>>> from .../Tomcat 5.5/work directory;
>>>> - I don't know if i got the correct OHF Bridge Installation Package (is
>>>> it "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip"? There are
>>>> other pre-requisites? );
>>>> - I download the
>>>> "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip" and extract the
>>>> files (obtain 2 folders (conf and webapps) and 2 files (notice and
>>>> epl-v10));
>>>> - Then, I copy the files from conf folder to .../Tomcat 5.5/conf and
>>>> the file bridge.war from webapps to .../Tomcat 5.5/webapps
>>>> - Finally I start Tomcat again and test the web service but it aren't
>>>> there.
>>>>
>>>> Can you please give me some help?
>>>> Thanks in advance,
>>>> Daniel
>>>>
>
>
Re: OHF Bridge Installation [message #34303 is a reply to message #34270] Mon, 08 October 2007 18:44 Go to previous messageGo to next message
Jesse Pangburn is currently offline Jesse PangburnFriend
Messages: 166
Registered: July 2009
Senior Member
Hi Daniel,
If you can get it working on XP just fine and not on Vista, then it's
clearly some difference on Vista. I'm sorry I can't help you there, I'm
using it on XP and Red Hat Linux. One quick point (with the caveat that
I've never used Vista myself) is that I thought Vista services are
slightly different than XP- have you tried using the zip file installation
of tomcat? If you're using the service installation version, I'd give the
zip version a try. You just expand it in a directory and run the
tomcat5.exe manually- could help, could be a waste of time...

Jesse

Daniel Silva wrote:

> Hi Jesse,

> Thanks for help.

> "Jesse Pangburn" <jesse.pangburn@quovadx.com> wrote in message
> news:577bc81543ae4ef80946d260cf3bea78$1@www.eclipse.org...
>> Hi Daniel,
>> Are you installing in Linux or Windows? I've installed it in both and
>> Windows is easier, but only if you install tomcat in the exact path:
>> C:Program FilesApache Software FoundationTomcat 5.5
>>
>> Otherwise, it doesn't find the bridge.properties file in the conf
>> directory for some reason. I got around this in linux by adding a -D
>> switch to my tomcat startup, I don't remember the exact line, but if
>> you're using linux I'll look it up. Otherwise, if you're using windows,
>> save yourself some hassle and install tomcat to this exact directory.

> I'm using Windows Vista Business, and I think this is the problem.
> I install Tomcat and OHF Bridge on a Windows XP and it works fine (allways
> on: C:Program FilesApache Software FoundationTomcat 5.5).

>>
>>> After this, my Tomcat stops and i can't start it again. I have to delete
>>> bridge.war and bridge folder to start it again successfully.
>> As Matt suggested, problems like this require you to send a stack trace
>> when you try to start tomcat and it fails. Otherwise, no one is going to
>> know why it failed and won't be able to help you. It should be in the
>> tomcat logs directory, in a file named "catalina.<today's date>.log".

> On Windows Vista I can't find this log files.

>>
>> As for the server-config.wsdd, it's in the webapps/bridge/WEB-INF
>> directory after that bridge.war file expands. You should be able to stop
>> and start tomcat as much as you like, it works fine on both my linux and
>> windows installations without deleting anything.
>>
>> I haven't tried the install from scratch, as it wasn't necessary.
>> Unzipping the org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip worked
>> for me.
>>
>>> INFO: XML validation disabled
>>> - Unable to find config file. Creating new servlet engine config file:
>>> /WEB-INF/server-config.wsdd
>>> - Unable to find required classes (javax.activation.DataHandler and
>>> javax.mail.internet.MimeMultipart). Attachment support is disabled.
>>> (...)
>> I have this first line about XML validation disabled, but not the other
>> two. The attachment support one I doubt is a problem. The "unable to
>> find config file" one I'm not sure about. I deleted my webapps/bridge
>> directory to force the war to expand again, and I didn't get that error-
>> so my guess is that there's some config problem.
>>
>> The other log file to look for errors in is "tomcat 5.5/bridge/bridge.log"
>> (not under webapps, directly under the tomcat 5.5 folder).

> This directory (tomcat 5.5/bridge) is not created on Windows Vista.

>>
>> Just to be totally clear, my first suggestion is to verify that you're
>> installing in that exact path on Windows. It should be smooth sailing if
>> that's the case.
>>
>> thanks,
>> Jesse


> Does anyone know anything about using Tomcat on Windows Vista?
> I think this is the main question, rigth?

> Thanks,

> Daniel Silva



>>
>> Daniel Silva wrote:
>>
>>> Hi Matt,
>>
>>> Thanks for the guidelines.
>>> I'm using java 1.5.0_11.
>>> I didn't find any bridge.log file, but there is a logs folder with a
>>> stdout.log file where I found the following message:
>>> (...)
>>> INFO: XML validation disabled
>>> - Unable to find config file. Creating new servlet engine config file:
>>> /WEB-INF/server-config.wsdd
>>> - Unable to find required classes (javax.activation.DataHandler and
>>> javax.mail.internet.MimeMultipart). Attachment support is disabled.
>>> (...)
>>
>>> In the "installation from scratch" (i tried it too) there is a step that
>>> mentions this file (server-config.wsdd) and it doesn't exist on my
>>> Tomcat.
>>> "12. Copy the Web service deployment descriptor (server-config.wsdd) from
>>> the [tomcat home]/conf/ directory to the [tomcat
>>> home]/webapps/bridge/WEB-INF/ directory."
>>
>>> Do you have any ideas?
>>
>>> Other problem is:
>>> When I start Apache Tomcat with bridge.war in my Tomcat 5.5/webapps
>>> folder, it creates a folder named bridge (that's expected).
>>> After this, my Tomcat stops and i can't start it again. I have to delete
>>> bridge.war and bridge folder to start it again successfully.
>>
>>> Thanks for help,
>>> Daniel.
>>
>>
>>> "Matthew Davis" <mattadav@us.ibm.com> wrote in message
>>> news:fe32la$n67$1@build.eclipse.org...
>>>> Hi Daniel,
>>>>
>>>> Could you please attach more information. Look for a bridge.log file in
>>>> the home directory of Tomcat. If that does not exist, please look in
>>>> your Tomcat logs to try to find a stack trace.
>>>>
>>>> Also, please verify you're using Java 1.5.x. That's the only supported
>>>> version of Java right now with the OHF Bridge.
>>>>
>>>> Thanks,
>>>> -Matt
>>>>
>>>>
>>>> Daniel Silva wrote:
>>>>> Hi,
>>>>>
>>>>> I'm a starter user of OHF.
>>>>> My first step is install the OHF Bridge, but Iï¿œm having difficulties
>>>>> in doing it.
>>>>> I follow the installation guide (at
>>>>> http://www.eclipse.org/ohf/components/bridge/install.php), but in the
>>>>> end of process the web service is not available
>>>>> (http://localhost:8080/bridge/services/ohf-bridge?wsdl) (the port is
>>>>> correctly defined).
>>>>> For a better overview I explain what Iï¿œm doing:
>>>>> - I have Tomcat 5.5 installed. I stop it and delete the folder Catalina
>>>>> from .../Tomcat 5.5/work directory;
>>>>> - I don't know if i got the correct OHF Bridge Installation Package (is
>>>>> it "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip"? There are
>>>>> other pre-requisites? );
>>>>> - I download the
>>>>> "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip" and extract the
>>>>> files (obtain 2 folders (conf and webapps) and 2 files (notice and
>>>>> epl-v10));
>>>>> - Then, I copy the files from conf folder to .../Tomcat 5.5/conf and
>>>>> the file bridge.war from webapps to .../Tomcat 5.5/webapps
>>>>> - Finally I start Tomcat again and test the web service but it aren't
>>>>> there.
>>>>>
>>>>> Can you please give me some help?
>>>>> Thanks in advance,
>>>>> Daniel
>>>>>
>>
>>
Re: OHF Bridge Installation [message #34539 is a reply to message #34303] Tue, 09 October 2007 15:58 Go to previous message
Matthew DavisFriend
Messages: 269
Registered: July 2009
Senior Member
Jesse, thanks for the excellent advice below. In general, I recommend
everyone that is starting to use the Bridge (at least in the first
iteration) to use Tomcat from the command line and not as a Windows
Service. This involves invoking it using the startup script, catalina
script, or invoking the bootstrap JAR directly from the JVM.

When starting Tomcat from the command prompt:

- Open a command prompt
- Change directory to your tomcat home (say C:\tomcat) (this allows the
Bridge to find its configuration files)
- Set your JAVA_HOME or JRE_HOME if needed (path to a Java 5 JVM)
- Execute "bin\catalina.bat run"

This is the safest way to get everything up and running and to verify it
works. After you feel comfortable that the Bridge is working, if you
want to run Tomcat as a Windows Service, it'll run fine from there as well.

Thanks all!
-Matt


Jesse Pangburn wrote:
> Hi Daniel,
> If you can get it working on XP just fine and not on Vista, then it's
> clearly some difference on Vista. I'm sorry I can't help you there, I'm
> using it on XP and Red Hat Linux. One quick point (with the caveat that
> I've never used Vista myself) is that I thought Vista services are
> slightly different than XP- have you tried using the zip file
> installation of tomcat? If you're using the service installation
> version, I'd give the zip version a try. You just expand it in a
> directory and run the tomcat5.exe manually- could help, could be a waste
> of time...
>
> Jesse
>
> Daniel Silva wrote:
>
>> Hi Jesse,
>
>> Thanks for help.
>
>> "Jesse Pangburn" <jesse.pangburn@quovadx.com> wrote in message
>> news:577bc81543ae4ef80946d260cf3bea78$1@www.eclipse.org...
>>> Hi Daniel,
>>> Are you installing in Linux or Windows? I've installed it in both
>>> and Windows is easier, but only if you install tomcat in the exact path:
>>> C:Program FilesApache Software FoundationTomcat 5.5
>>>
>>> Otherwise, it doesn't find the bridge.properties file in the conf
>>> directory for some reason. I got around this in linux by adding a -D
>>> switch to my tomcat startup, I don't remember the exact line, but if
>>> you're using linux I'll look it up. Otherwise, if you're using
>>> windows, save yourself some hassle and install tomcat to this exact
>>> directory.
>
>> I'm using Windows Vista Business, and I think this is the problem.
>> I install Tomcat and OHF Bridge on a Windows XP and it works fine
>> (allways on: C:Program FilesApache Software FoundationTomcat 5.5).
>
>>>
>>>> After this, my Tomcat stops and i can't start it again. I have to
>>>> delete bridge.war and bridge folder to start it again successfully.
>>> As Matt suggested, problems like this require you to send a stack
>>> trace when you try to start tomcat and it fails. Otherwise, no one
>>> is going to know why it failed and won't be able to help you. It
>>> should be in the tomcat logs directory, in a file named
>>> "catalina.<today's date>.log".
>
>> On Windows Vista I can't find this log files.
>
>>>
>>> As for the server-config.wsdd, it's in the webapps/bridge/WEB-INF
>>> directory after that bridge.war file expands. You should be able to
>>> stop and start tomcat as much as you like, it works fine on both my
>>> linux and windows installations without deleting anything.
>>>
>>> I haven't tried the install from scratch, as it wasn't necessary.
>>> Unzipping the org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip
>>> worked for me.
>>>
>>>> INFO: XML validation disabled
>>>> - Unable to find config file. Creating new servlet engine config
>>>> file: /WEB-INF/server-config.wsdd
>>>> - Unable to find required classes (javax.activation.DataHandler and
>>>> javax.mail.internet.MimeMultipart). Attachment support is disabled.
>>>> (...)
>>> I have this first line about XML validation disabled, but not the
>>> other two. The attachment support one I doubt is a problem. The
>>> "unable to find config file" one I'm not sure about. I deleted my
>>> webapps/bridge directory to force the war to expand again, and I
>>> didn't get that error- so my guess is that there's some config problem.
>>>
>>> The other log file to look for errors in is "tomcat
>>> 5.5/bridge/bridge.log" (not under webapps, directly under the tomcat
>>> 5.5 folder).
>
>> This directory (tomcat 5.5/bridge) is not created on Windows Vista.
>
>>>
>>> Just to be totally clear, my first suggestion is to verify that
>>> you're installing in that exact path on Windows. It should be smooth
>>> sailing if that's the case.
>>>
>>> thanks,
>>> Jesse
>
>
>> Does anyone know anything about using Tomcat on Windows Vista?
>> I think this is the main question, rigth?
>
>> Thanks,
>
>> Daniel Silva
>
>
>
>>>
>>> Daniel Silva wrote:
>>>
>>>> Hi Matt,
>>>
>>>> Thanks for the guidelines.
>>>> I'm using java 1.5.0_11.
>>>> I didn't find any bridge.log file, but there is a logs folder with a
>>>> stdout.log file where I found the following message:
>>>> (...)
>>>> INFO: XML validation disabled
>>>> - Unable to find config file. Creating new servlet engine config
>>>> file: /WEB-INF/server-config.wsdd
>>>> - Unable to find required classes (javax.activation.DataHandler and
>>>> javax.mail.internet.MimeMultipart). Attachment support is disabled.
>>>> (...)
>>>
>>>> In the "installation from scratch" (i tried it too) there is a step
>>>> that mentions this file (server-config.wsdd) and it doesn't exist on
>>>> my Tomcat.
>>>> "12. Copy the Web service deployment descriptor (server-config.wsdd)
>>>> from the [tomcat home]/conf/ directory to the [tomcat
>>>> home]/webapps/bridge/WEB-INF/ directory."
>>>
>>>> Do you have any ideas?
>>>
>>>> Other problem is:
>>>> When I start Apache Tomcat with bridge.war in my Tomcat 5.5/webapps
>>>> folder, it creates a folder named bridge (that's expected).
>>>> After this, my Tomcat stops and i can't start it again. I have to
>>>> delete bridge.war and bridge folder to start it again successfully.
>>>
>>>> Thanks for help,
>>>> Daniel.
>>>
>>>
>>>> "Matthew Davis" <mattadav@us.ibm.com> wrote in message
>>>> news:fe32la$n67$1@build.eclipse.org...
>>>>> Hi Daniel,
>>>>>
>>>>> Could you please attach more information. Look for a bridge.log
>>>>> file in the home directory of Tomcat. If that does not exist,
>>>>> please look in your Tomcat logs to try to find a stack trace.
>>>>>
>>>>> Also, please verify you're using Java 1.5.x. That's the only
>>>>> supported version of Java right now with the OHF Bridge.
>>>>>
>>>>> Thanks,
>>>>> -Matt
>>>>>
>>>>>
>>>>> Daniel Silva wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I'm a starter user of OHF.
>>>>>> My first step is install the OHF Bridge, but Iï¿œm having
>>>>>> difficulties in doing it.
>>>>>> I follow the installation guide (at
>>>>>> http://www.eclipse.org/ohf/components/bridge/install.php), but in
>>>>>> the end of process the web service is not available
>>>>>> (http://localhost:8080/bridge/services/ohf-bridge?wsdl) (the port
>>>>>> is correctly defined).
>>>>>> For a better overview I explain what Iï¿œm doing:
>>>>>> - I have Tomcat 5.5 installed. I stop it and delete the folder
>>>>>> Catalina from .../Tomcat 5.5/work directory;
>>>>>> - I don't know if i got the correct OHF Bridge Installation
>>>>>> Package (is it
>>>>>> "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip"? There are
>>>>>> other pre-requisites? );
>>>>>> - I download the
>>>>>> "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip" and
>>>>>> extract the files (obtain 2 folders (conf and webapps) and 2 files
>>>>>> (notice and epl-v10));
>>>>>> - Then, I copy the files from conf folder to .../Tomcat 5.5/conf
>>>>>> and the file bridge.war from webapps to .../Tomcat 5.5/webapps
>>>>>> - Finally I start Tomcat again and test the web service but it
>>>>>> aren't there.
>>>>>>
>>>>>> Can you please give me some help?
>>>>>> Thanks in advance,
>>>>>> Daniel
>>>>>>
>>>
>>>
>
>
Re: OHF Bridge Installation [message #581412 is a reply to message #33766] Thu, 04 October 2007 15:59 Go to previous message
Matthew DavisFriend
Messages: 269
Registered: July 2009
Senior Member
Hi Daniel,

Could you please attach more information. Look for a bridge.log file in
the home directory of Tomcat. If that does not exist, please look in
your Tomcat logs to try to find a stack trace.

Also, please verify you're using Java 1.5.x. That's the only supported
version of Java right now with the OHF Bridge.

Thanks,
-Matt


Daniel Silva wrote:
> Hi,
>
> I'm a starter user of OHF.
> My first step is install the OHF Bridge, but I�m having difficulties in
> doing it.
> I follow the installation guide (at
> http://www.eclipse.org/ohf/components/bridge/install.php), but in the
> end of process the web service is not available
> (http://localhost:8080/bridge/services/ohf-bridge?wsdl) (the port is
> correctly defined).
> For a better overview I explain what I�m doing:
> - I have Tomcat 5.5 installed. I stop it and delete the folder Catalina
> from .../Tomcat 5.5/work directory;
> - I don't know if i got the correct OHF Bridge Installation Package (is
> it "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip"? There are
> other pre-requisites? );
> - I download the "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip"
> and extract the files (obtain 2 folders (conf and webapps) and 2 files
> (notice and epl-v10));
> - Then, I copy the files from conf folder to .../Tomcat 5.5/conf and the
> file bridge.war from webapps to .../Tomcat 5.5/webapps
> - Finally I start Tomcat again and test the web service but it aren't
> there.
>
> Can you please give me some help?
> Thanks in advance,
> Daniel
>
>
Re: OHF Bridge Installation [message #581519 is a reply to message #33834] Thu, 04 October 2007 17:08 Go to previous message
Eclipse UserFriend
Originally posted by: correia.silva.gmail.com

Hi Matt,

Thanks for the guidelines.
I'm using java 1.5.0_11.
I didn't find any bridge.log file, but there is a logs folder with a
stdout.log file where I found the following message:
(...)
INFO: XML validation disabled
- Unable to find config file. Creating new servlet engine config file:
/WEB-INF/server-config.wsdd
- Unable to find required classes (javax.activation.DataHandler and
javax.mail.internet.MimeMultipart). Attachment support is disabled.
(...)

In the "installation from scratch" (i tried it too) there is a step that
mentions this file (server-config.wsdd) and it doesn't exist on my Tomcat.
"12. Copy the Web service deployment descriptor (server-config.wsdd) from
the [tomcat home]/conf/ directory to the [tomcat
home]/webapps/bridge/WEB-INF/ directory."

Do you have any ideas?

Other problem is:
When I start Apache Tomcat with bridge.war in my Tomcat 5.5/webapps folder,
it creates a folder named bridge (that's expected).
After this, my Tomcat stops and i can't start it again. I have to delete
bridge.war and bridge folder to start it again successfully.

Thanks for help,
Daniel.


"Matthew Davis" <mattadav@us.ibm.com> wrote in message
news:fe32la$n67$1@build.eclipse.org...
> Hi Daniel,
>
> Could you please attach more information. Look for a bridge.log file in
> the home directory of Tomcat. If that does not exist, please look in your
> Tomcat logs to try to find a stack trace.
>
> Also, please verify you're using Java 1.5.x. That's the only supported
> version of Java right now with the OHF Bridge.
>
> Thanks,
> -Matt
>
>
> Daniel Silva wrote:
>> Hi,
>>
>> I'm a starter user of OHF.
>> My first step is install the OHF Bridge, but I�m having difficulties in
>> doing it.
>> I follow the installation guide (at
>> http://www.eclipse.org/ohf/components/bridge/install.php), but in the end
>> of process the web service is not available
>> (http://localhost:8080/bridge/services/ohf-bridge?wsdl) (the port is
>> correctly defined).
>> For a better overview I explain what I�m doing:
>> - I have Tomcat 5.5 installed. I stop it and delete the folder Catalina
>> from .../Tomcat 5.5/work directory;
>> - I don't know if i got the correct OHF Bridge Installation Package (is
>> it "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip"? There are
>> other pre-requisites? );
>> - I download the "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip"
>> and extract the files (obtain 2 folders (conf and webapps) and 2 files
>> (notice and epl-v10));
>> - Then, I copy the files from conf folder to .../Tomcat 5.5/conf and the
>> file bridge.war from webapps to .../Tomcat 5.5/webapps
>> - Finally I start Tomcat again and test the web service but it aren't
>> there.
>>
>> Can you please give me some help?
>> Thanks in advance,
>> Daniel
>>
Re: OHF Bridge Installation [message #581581 is a reply to message #33911] Fri, 05 October 2007 17:39 Go to previous message
Jesse Pangburn is currently offline Jesse PangburnFriend
Messages: 166
Registered: July 2009
Senior Member
Hi Daniel,
Are you installing in Linux or Windows? I've installed it in both and
Windows is easier, but only if you install tomcat in the exact path:
C:\Program Files\Apache Software Foundation\Tomcat 5.5

Otherwise, it doesn't find the bridge.properties file in the conf
directory for some reason. I got around this in linux by adding a -D
switch to my tomcat startup, I don't remember the exact line, but if
you're using linux I'll look it up. Otherwise, if you're using windows,
save yourself some hassle and install tomcat to this exact directory.

> After this, my Tomcat stops and i can't start it again. I have to delete
> bridge.war and bridge folder to start it again successfully.
As Matt suggested, problems like this require you to send a stack trace
when you try to start tomcat and it fails. Otherwise, no one is going to
know why it failed and won't be able to help you. It should be in the
tomcat logs directory, in a file named "catalina.<today's date>.log".

As for the server-config.wsdd, it's in the webapps/bridge/WEB-INF
directory after that bridge.war file expands. You should be able to stop
and start tomcat as much as you like, it works fine on both my linux and
windows installations without deleting anything.

I haven't tried the install from scratch, as it wasn't necessary.
Unzipping the org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip worked
for me.

> INFO: XML validation disabled
> - Unable to find config file. Creating new servlet engine config file:
> /WEB-INF/server-config.wsdd
> - Unable to find required classes (javax.activation.DataHandler and
> javax.mail.internet.MimeMultipart). Attachment support is disabled.
> (...)
I have this first line about XML validation disabled, but not the other
two. The attachment support one I doubt is a problem. The "unable to
find config file" one I'm not sure about. I deleted my webapps/bridge
directory to force the war to expand again, and I didn't get that error-
so my guess is that there's some config problem.

The other log file to look for errors in is "tomcat 5.5/bridge/bridge.log"
(not under webapps, directly under the tomcat 5.5 folder).

Just to be totally clear, my first suggestion is to verify that you're
installing in that exact path on Windows. It should be smooth sailing if
that's the case.

thanks,
Jesse

Daniel Silva wrote:

> Hi Matt,

> Thanks for the guidelines.
> I'm using java 1.5.0_11.
> I didn't find any bridge.log file, but there is a logs folder with a
> stdout.log file where I found the following message:
> (...)
> INFO: XML validation disabled
> - Unable to find config file. Creating new servlet engine config file:
> /WEB-INF/server-config.wsdd
> - Unable to find required classes (javax.activation.DataHandler and
> javax.mail.internet.MimeMultipart). Attachment support is disabled.
> (...)

> In the "installation from scratch" (i tried it too) there is a step that
> mentions this file (server-config.wsdd) and it doesn't exist on my Tomcat.
> "12. Copy the Web service deployment descriptor (server-config.wsdd) from
> the [tomcat home]/conf/ directory to the [tomcat
> home]/webapps/bridge/WEB-INF/ directory."

> Do you have any ideas?

> Other problem is:
> When I start Apache Tomcat with bridge.war in my Tomcat 5.5/webapps folder,
> it creates a folder named bridge (that's expected).
> After this, my Tomcat stops and i can't start it again. I have to delete
> bridge.war and bridge folder to start it again successfully.

> Thanks for help,
> Daniel.


> "Matthew Davis" <mattadav@us.ibm.com> wrote in message
> news:fe32la$n67$1@build.eclipse.org...
>> Hi Daniel,
>>
>> Could you please attach more information. Look for a bridge.log file in
>> the home directory of Tomcat. If that does not exist, please look in your
>> Tomcat logs to try to find a stack trace.
>>
>> Also, please verify you're using Java 1.5.x. That's the only supported
>> version of Java right now with the OHF Bridge.
>>
>> Thanks,
>> -Matt
>>
>>
>> Daniel Silva wrote:
>>> Hi,
>>>
>>> I'm a starter user of OHF.
>>> My first step is install the OHF Bridge, but Iï¿œm having difficulties in
>>> doing it.
>>> I follow the installation guide (at
>>> http://www.eclipse.org/ohf/components/bridge/install.php), but in the end
>>> of process the web service is not available
>>> (http://localhost:8080/bridge/services/ohf-bridge?wsdl) (the port is
>>> correctly defined).
>>> For a better overview I explain what Iï¿œm doing:
>>> - I have Tomcat 5.5 installed. I stop it and delete the folder Catalina
>>> from .../Tomcat 5.5/work directory;
>>> - I don't know if i got the correct OHF Bridge Installation Package (is
>>> it "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip"? There are
>>> other pre-requisites? );
>>> - I download the "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip"
>>> and extract the files (obtain 2 folders (conf and webapps) and 2 files
>>> (notice and epl-v10));
>>> - Then, I copy the files from conf folder to .../Tomcat 5.5/conf and the
>>> file bridge.war from webapps to .../Tomcat 5.5/webapps
>>> - Finally I start Tomcat again and test the web service but it aren't
>>> there.
>>>
>>> Can you please give me some help?
>>> Thanks in advance,
>>> Daniel
>>>
Re: OHF Bridge Installation [message #581708 is a reply to message #33986] Mon, 08 October 2007 17:20 Go to previous message
Eclipse UserFriend
Originally posted by: correia.silva.gmail.com

Hi Jesse,

Thanks for help.

"Jesse Pangburn" <jesse.pangburn@quovadx.com> wrote in message
news:577bc81543ae4ef80946d260cf3bea78$1@www.eclipse.org...
> Hi Daniel,
> Are you installing in Linux or Windows? I've installed it in both and
> Windows is easier, but only if you install tomcat in the exact path:
> C:\Program Files\Apache Software Foundation\Tomcat 5.5
>
> Otherwise, it doesn't find the bridge.properties file in the conf
> directory for some reason. I got around this in linux by adding a -D
> switch to my tomcat startup, I don't remember the exact line, but if
> you're using linux I'll look it up. Otherwise, if you're using windows,
> save yourself some hassle and install tomcat to this exact directory.

I'm using Windows Vista Business, and I think this is the problem.
I install Tomcat and OHF Bridge on a Windows XP and it works fine (allways
on: C:\Program Files\Apache Software Foundation\Tomcat 5.5).

>
>> After this, my Tomcat stops and i can't start it again. I have to delete
>> bridge.war and bridge folder to start it again successfully.
> As Matt suggested, problems like this require you to send a stack trace
> when you try to start tomcat and it fails. Otherwise, no one is going to
> know why it failed and won't be able to help you. It should be in the
> tomcat logs directory, in a file named "catalina.<today's date>.log".

On Windows Vista I can't find this log files.

>
> As for the server-config.wsdd, it's in the webapps/bridge/WEB-INF
> directory after that bridge.war file expands. You should be able to stop
> and start tomcat as much as you like, it works fine on both my linux and
> windows installations without deleting anything.
>
> I haven't tried the install from scratch, as it wasn't necessary.
> Unzipping the org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip worked
> for me.
>
>> INFO: XML validation disabled
>> - Unable to find config file. Creating new servlet engine config file:
>> /WEB-INF/server-config.wsdd
>> - Unable to find required classes (javax.activation.DataHandler and
>> javax.mail.internet.MimeMultipart). Attachment support is disabled.
>> (...)
> I have this first line about XML validation disabled, but not the other
> two. The attachment support one I doubt is a problem. The "unable to
> find config file" one I'm not sure about. I deleted my webapps/bridge
> directory to force the war to expand again, and I didn't get that error-
> so my guess is that there's some config problem.
>
> The other log file to look for errors in is "tomcat 5.5/bridge/bridge.log"
> (not under webapps, directly under the tomcat 5.5 folder).

This directory (tomcat 5.5/bridge) is not created on Windows Vista.

>
> Just to be totally clear, my first suggestion is to verify that you're
> installing in that exact path on Windows. It should be smooth sailing if
> that's the case.
>
> thanks,
> Jesse


Does anyone know anything about using Tomcat on Windows Vista?
I think this is the main question, rigth?

Thanks,

Daniel Silva



>
> Daniel Silva wrote:
>
>> Hi Matt,
>
>> Thanks for the guidelines.
>> I'm using java 1.5.0_11.
>> I didn't find any bridge.log file, but there is a logs folder with a
>> stdout.log file where I found the following message:
>> (...)
>> INFO: XML validation disabled
>> - Unable to find config file. Creating new servlet engine config file:
>> /WEB-INF/server-config.wsdd
>> - Unable to find required classes (javax.activation.DataHandler and
>> javax.mail.internet.MimeMultipart). Attachment support is disabled.
>> (...)
>
>> In the "installation from scratch" (i tried it too) there is a step that
>> mentions this file (server-config.wsdd) and it doesn't exist on my
>> Tomcat.
>> "12. Copy the Web service deployment descriptor (server-config.wsdd) from
>> the [tomcat home]/conf/ directory to the [tomcat
>> home]/webapps/bridge/WEB-INF/ directory."
>
>> Do you have any ideas?
>
>> Other problem is:
>> When I start Apache Tomcat with bridge.war in my Tomcat 5.5/webapps
>> folder, it creates a folder named bridge (that's expected).
>> After this, my Tomcat stops and i can't start it again. I have to delete
>> bridge.war and bridge folder to start it again successfully.
>
>> Thanks for help,
>> Daniel.
>
>
>> "Matthew Davis" <mattadav@us.ibm.com> wrote in message
>> news:fe32la$n67$1@build.eclipse.org...
>>> Hi Daniel,
>>>
>>> Could you please attach more information. Look for a bridge.log file in
>>> the home directory of Tomcat. If that does not exist, please look in
>>> your Tomcat logs to try to find a stack trace.
>>>
>>> Also, please verify you're using Java 1.5.x. That's the only supported
>>> version of Java right now with the OHF Bridge.
>>>
>>> Thanks,
>>> -Matt
>>>
>>>
>>> Daniel Silva wrote:
>>>> Hi,
>>>>
>>>> I'm a starter user of OHF.
>>>> My first step is install the OHF Bridge, but Iï¿œm having difficulties
>>>> in doing it.
>>>> I follow the installation guide (at
>>>> http://www.eclipse.org/ohf/components/bridge/install.php), but in the
>>>> end of process the web service is not available
>>>> (http://localhost:8080/bridge/services/ohf-bridge?wsdl) (the port is
>>>> correctly defined).
>>>> For a better overview I explain what Iï¿œm doing:
>>>> - I have Tomcat 5.5 installed. I stop it and delete the folder Catalina
>>>> from .../Tomcat 5.5/work directory;
>>>> - I don't know if i got the correct OHF Bridge Installation Package (is
>>>> it "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip"? There are
>>>> other pre-requisites? );
>>>> - I download the
>>>> "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip" and extract the
>>>> files (obtain 2 folders (conf and webapps) and 2 files (notice and
>>>> epl-v10));
>>>> - Then, I copy the files from conf folder to .../Tomcat 5.5/conf and
>>>> the file bridge.war from webapps to .../Tomcat 5.5/webapps
>>>> - Finally I start Tomcat again and test the web service but it aren't
>>>> there.
>>>>
>>>> Can you please give me some help?
>>>> Thanks in advance,
>>>> Daniel
>>>>
>
>
Re: OHF Bridge Installation [message #581729 is a reply to message #34270] Mon, 08 October 2007 18:44 Go to previous message
Jesse Pangburn is currently offline Jesse PangburnFriend
Messages: 166
Registered: July 2009
Senior Member
Hi Daniel,
If you can get it working on XP just fine and not on Vista, then it's
clearly some difference on Vista. I'm sorry I can't help you there, I'm
using it on XP and Red Hat Linux. One quick point (with the caveat that
I've never used Vista myself) is that I thought Vista services are
slightly different than XP- have you tried using the zip file installation
of tomcat? If you're using the service installation version, I'd give the
zip version a try. You just expand it in a directory and run the
tomcat5.exe manually- could help, could be a waste of time...

Jesse

Daniel Silva wrote:

> Hi Jesse,

> Thanks for help.

> "Jesse Pangburn" <jesse.pangburn@quovadx.com> wrote in message
> news:577bc81543ae4ef80946d260cf3bea78$1@www.eclipse.org...
>> Hi Daniel,
>> Are you installing in Linux or Windows? I've installed it in both and
>> Windows is easier, but only if you install tomcat in the exact path:
>> C:Program FilesApache Software FoundationTomcat 5.5
>>
>> Otherwise, it doesn't find the bridge.properties file in the conf
>> directory for some reason. I got around this in linux by adding a -D
>> switch to my tomcat startup, I don't remember the exact line, but if
>> you're using linux I'll look it up. Otherwise, if you're using windows,
>> save yourself some hassle and install tomcat to this exact directory.

> I'm using Windows Vista Business, and I think this is the problem.
> I install Tomcat and OHF Bridge on a Windows XP and it works fine (allways
> on: C:Program FilesApache Software FoundationTomcat 5.5).

>>
>>> After this, my Tomcat stops and i can't start it again. I have to delete
>>> bridge.war and bridge folder to start it again successfully.
>> As Matt suggested, problems like this require you to send a stack trace
>> when you try to start tomcat and it fails. Otherwise, no one is going to
>> know why it failed and won't be able to help you. It should be in the
>> tomcat logs directory, in a file named "catalina.<today's date>.log".

> On Windows Vista I can't find this log files.

>>
>> As for the server-config.wsdd, it's in the webapps/bridge/WEB-INF
>> directory after that bridge.war file expands. You should be able to stop
>> and start tomcat as much as you like, it works fine on both my linux and
>> windows installations without deleting anything.
>>
>> I haven't tried the install from scratch, as it wasn't necessary.
>> Unzipping the org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip worked
>> for me.
>>
>>> INFO: XML validation disabled
>>> - Unable to find config file. Creating new servlet engine config file:
>>> /WEB-INF/server-config.wsdd
>>> - Unable to find required classes (javax.activation.DataHandler and
>>> javax.mail.internet.MimeMultipart). Attachment support is disabled.
>>> (...)
>> I have this first line about XML validation disabled, but not the other
>> two. The attachment support one I doubt is a problem. The "unable to
>> find config file" one I'm not sure about. I deleted my webapps/bridge
>> directory to force the war to expand again, and I didn't get that error-
>> so my guess is that there's some config problem.
>>
>> The other log file to look for errors in is "tomcat 5.5/bridge/bridge.log"
>> (not under webapps, directly under the tomcat 5.5 folder).

> This directory (tomcat 5.5/bridge) is not created on Windows Vista.

>>
>> Just to be totally clear, my first suggestion is to verify that you're
>> installing in that exact path on Windows. It should be smooth sailing if
>> that's the case.
>>
>> thanks,
>> Jesse


> Does anyone know anything about using Tomcat on Windows Vista?
> I think this is the main question, rigth?

> Thanks,

> Daniel Silva



>>
>> Daniel Silva wrote:
>>
>>> Hi Matt,
>>
>>> Thanks for the guidelines.
>>> I'm using java 1.5.0_11.
>>> I didn't find any bridge.log file, but there is a logs folder with a
>>> stdout.log file where I found the following message:
>>> (...)
>>> INFO: XML validation disabled
>>> - Unable to find config file. Creating new servlet engine config file:
>>> /WEB-INF/server-config.wsdd
>>> - Unable to find required classes (javax.activation.DataHandler and
>>> javax.mail.internet.MimeMultipart). Attachment support is disabled.
>>> (...)
>>
>>> In the "installation from scratch" (i tried it too) there is a step that
>>> mentions this file (server-config.wsdd) and it doesn't exist on my
>>> Tomcat.
>>> "12. Copy the Web service deployment descriptor (server-config.wsdd) from
>>> the [tomcat home]/conf/ directory to the [tomcat
>>> home]/webapps/bridge/WEB-INF/ directory."
>>
>>> Do you have any ideas?
>>
>>> Other problem is:
>>> When I start Apache Tomcat with bridge.war in my Tomcat 5.5/webapps
>>> folder, it creates a folder named bridge (that's expected).
>>> After this, my Tomcat stops and i can't start it again. I have to delete
>>> bridge.war and bridge folder to start it again successfully.
>>
>>> Thanks for help,
>>> Daniel.
>>
>>
>>> "Matthew Davis" <mattadav@us.ibm.com> wrote in message
>>> news:fe32la$n67$1@build.eclipse.org...
>>>> Hi Daniel,
>>>>
>>>> Could you please attach more information. Look for a bridge.log file in
>>>> the home directory of Tomcat. If that does not exist, please look in
>>>> your Tomcat logs to try to find a stack trace.
>>>>
>>>> Also, please verify you're using Java 1.5.x. That's the only supported
>>>> version of Java right now with the OHF Bridge.
>>>>
>>>> Thanks,
>>>> -Matt
>>>>
>>>>
>>>> Daniel Silva wrote:
>>>>> Hi,
>>>>>
>>>>> I'm a starter user of OHF.
>>>>> My first step is install the OHF Bridge, but Iï¿œm having difficulties
>>>>> in doing it.
>>>>> I follow the installation guide (at
>>>>> http://www.eclipse.org/ohf/components/bridge/install.php), but in the
>>>>> end of process the web service is not available
>>>>> (http://localhost:8080/bridge/services/ohf-bridge?wsdl) (the port is
>>>>> correctly defined).
>>>>> For a better overview I explain what Iï¿œm doing:
>>>>> - I have Tomcat 5.5 installed. I stop it and delete the folder Catalina
>>>>> from .../Tomcat 5.5/work directory;
>>>>> - I don't know if i got the correct OHF Bridge Installation Package (is
>>>>> it "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip"? There are
>>>>> other pre-requisites? );
>>>>> - I download the
>>>>> "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip" and extract the
>>>>> files (obtain 2 folders (conf and webapps) and 2 files (notice and
>>>>> epl-v10));
>>>>> - Then, I copy the files from conf folder to .../Tomcat 5.5/conf and
>>>>> the file bridge.war from webapps to .../Tomcat 5.5/webapps
>>>>> - Finally I start Tomcat again and test the web service but it aren't
>>>>> there.
>>>>>
>>>>> Can you please give me some help?
>>>>> Thanks in advance,
>>>>> Daniel
>>>>>
>>
>>
Re: OHF Bridge Installation [message #581849 is a reply to message #34303] Tue, 09 October 2007 15:58 Go to previous message
Matthew DavisFriend
Messages: 269
Registered: July 2009
Senior Member
Jesse, thanks for the excellent advice below. In general, I recommend
everyone that is starting to use the Bridge (at least in the first
iteration) to use Tomcat from the command line and not as a Windows
Service. This involves invoking it using the startup script, catalina
script, or invoking the bootstrap JAR directly from the JVM.

When starting Tomcat from the command prompt:

- Open a command prompt
- Change directory to your tomcat home (say C:\tomcat) (this allows the
Bridge to find its configuration files)
- Set your JAVA_HOME or JRE_HOME if needed (path to a Java 5 JVM)
- Execute "bin\catalina.bat run"

This is the safest way to get everything up and running and to verify it
works. After you feel comfortable that the Bridge is working, if you
want to run Tomcat as a Windows Service, it'll run fine from there as well.

Thanks all!
-Matt


Jesse Pangburn wrote:
> Hi Daniel,
> If you can get it working on XP just fine and not on Vista, then it's
> clearly some difference on Vista. I'm sorry I can't help you there, I'm
> using it on XP and Red Hat Linux. One quick point (with the caveat that
> I've never used Vista myself) is that I thought Vista services are
> slightly different than XP- have you tried using the zip file
> installation of tomcat? If you're using the service installation
> version, I'd give the zip version a try. You just expand it in a
> directory and run the tomcat5.exe manually- could help, could be a waste
> of time...
>
> Jesse
>
> Daniel Silva wrote:
>
>> Hi Jesse,
>
>> Thanks for help.
>
>> "Jesse Pangburn" <jesse.pangburn@quovadx.com> wrote in message
>> news:577bc81543ae4ef80946d260cf3bea78$1@www.eclipse.org...
>>> Hi Daniel,
>>> Are you installing in Linux or Windows? I've installed it in both
>>> and Windows is easier, but only if you install tomcat in the exact path:
>>> C:Program FilesApache Software FoundationTomcat 5.5
>>>
>>> Otherwise, it doesn't find the bridge.properties file in the conf
>>> directory for some reason. I got around this in linux by adding a -D
>>> switch to my tomcat startup, I don't remember the exact line, but if
>>> you're using linux I'll look it up. Otherwise, if you're using
>>> windows, save yourself some hassle and install tomcat to this exact
>>> directory.
>
>> I'm using Windows Vista Business, and I think this is the problem.
>> I install Tomcat and OHF Bridge on a Windows XP and it works fine
>> (allways on: C:Program FilesApache Software FoundationTomcat 5.5).
>
>>>
>>>> After this, my Tomcat stops and i can't start it again. I have to
>>>> delete bridge.war and bridge folder to start it again successfully.
>>> As Matt suggested, problems like this require you to send a stack
>>> trace when you try to start tomcat and it fails. Otherwise, no one
>>> is going to know why it failed and won't be able to help you. It
>>> should be in the tomcat logs directory, in a file named
>>> "catalina.<today's date>.log".
>
>> On Windows Vista I can't find this log files.
>
>>>
>>> As for the server-config.wsdd, it's in the webapps/bridge/WEB-INF
>>> directory after that bridge.war file expands. You should be able to
>>> stop and start tomcat as much as you like, it works fine on both my
>>> linux and windows installations without deleting anything.
>>>
>>> I haven't tried the install from scratch, as it wasn't necessary.
>>> Unzipping the org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip
>>> worked for me.
>>>
>>>> INFO: XML validation disabled
>>>> - Unable to find config file. Creating new servlet engine config
>>>> file: /WEB-INF/server-config.wsdd
>>>> - Unable to find required classes (javax.activation.DataHandler and
>>>> javax.mail.internet.MimeMultipart). Attachment support is disabled.
>>>> (...)
>>> I have this first line about XML validation disabled, but not the
>>> other two. The attachment support one I doubt is a problem. The
>>> "unable to find config file" one I'm not sure about. I deleted my
>>> webapps/bridge directory to force the war to expand again, and I
>>> didn't get that error- so my guess is that there's some config problem.
>>>
>>> The other log file to look for errors in is "tomcat
>>> 5.5/bridge/bridge.log" (not under webapps, directly under the tomcat
>>> 5.5 folder).
>
>> This directory (tomcat 5.5/bridge) is not created on Windows Vista.
>
>>>
>>> Just to be totally clear, my first suggestion is to verify that
>>> you're installing in that exact path on Windows. It should be smooth
>>> sailing if that's the case.
>>>
>>> thanks,
>>> Jesse
>
>
>> Does anyone know anything about using Tomcat on Windows Vista?
>> I think this is the main question, rigth?
>
>> Thanks,
>
>> Daniel Silva
>
>
>
>>>
>>> Daniel Silva wrote:
>>>
>>>> Hi Matt,
>>>
>>>> Thanks for the guidelines.
>>>> I'm using java 1.5.0_11.
>>>> I didn't find any bridge.log file, but there is a logs folder with a
>>>> stdout.log file where I found the following message:
>>>> (...)
>>>> INFO: XML validation disabled
>>>> - Unable to find config file. Creating new servlet engine config
>>>> file: /WEB-INF/server-config.wsdd
>>>> - Unable to find required classes (javax.activation.DataHandler and
>>>> javax.mail.internet.MimeMultipart). Attachment support is disabled.
>>>> (...)
>>>
>>>> In the "installation from scratch" (i tried it too) there is a step
>>>> that mentions this file (server-config.wsdd) and it doesn't exist on
>>>> my Tomcat.
>>>> "12. Copy the Web service deployment descriptor (server-config.wsdd)
>>>> from the [tomcat home]/conf/ directory to the [tomcat
>>>> home]/webapps/bridge/WEB-INF/ directory."
>>>
>>>> Do you have any ideas?
>>>
>>>> Other problem is:
>>>> When I start Apache Tomcat with bridge.war in my Tomcat 5.5/webapps
>>>> folder, it creates a folder named bridge (that's expected).
>>>> After this, my Tomcat stops and i can't start it again. I have to
>>>> delete bridge.war and bridge folder to start it again successfully.
>>>
>>>> Thanks for help,
>>>> Daniel.
>>>
>>>
>>>> "Matthew Davis" <mattadav@us.ibm.com> wrote in message
>>>> news:fe32la$n67$1@build.eclipse.org...
>>>>> Hi Daniel,
>>>>>
>>>>> Could you please attach more information. Look for a bridge.log
>>>>> file in the home directory of Tomcat. If that does not exist,
>>>>> please look in your Tomcat logs to try to find a stack trace.
>>>>>
>>>>> Also, please verify you're using Java 1.5.x. That's the only
>>>>> supported version of Java right now with the OHF Bridge.
>>>>>
>>>>> Thanks,
>>>>> -Matt
>>>>>
>>>>>
>>>>> Daniel Silva wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I'm a starter user of OHF.
>>>>>> My first step is install the OHF Bridge, but Iï¿œm having
>>>>>> difficulties in doing it.
>>>>>> I follow the installation guide (at
>>>>>> http://www.eclipse.org/ohf/components/bridge/install.php), but in
>>>>>> the end of process the web service is not available
>>>>>> (http://localhost:8080/bridge/services/ohf-bridge?wsdl) (the port
>>>>>> is correctly defined).
>>>>>> For a better overview I explain what Iï¿œm doing:
>>>>>> - I have Tomcat 5.5 installed. I stop it and delete the folder
>>>>>> Catalina from .../Tomcat 5.5/work directory;
>>>>>> - I don't know if i got the correct OHF Bridge Installation
>>>>>> Package (is it
>>>>>> "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip"? There are
>>>>>> other pre-requisites? );
>>>>>> - I download the
>>>>>> "org.eclipse.ohf.bridge-install_0.2.0M2-incubation.zip" and
>>>>>> extract the files (obtain 2 folders (conf and webapps) and 2 files
>>>>>> (notice and epl-v10));
>>>>>> - Then, I copy the files from conf folder to .../Tomcat 5.5/conf
>>>>>> and the file bridge.war from webapps to .../Tomcat 5.5/webapps
>>>>>> - Finally I start Tomcat again and test the web service but it
>>>>>> aren't there.
>>>>>>
>>>>>> Can you please give me some help?
>>>>>> Thanks in advance,
>>>>>> Daniel
>>>>>>
>>>
>>>
>
>
Previous Topic:XDS pre-connectathon tests - how strict is it?
Next Topic:PatientInfoType problem- patientSuffixName
Goto Forum:
  


Current Time: Fri Mar 29 00:23:13 GMT 2024

Powered by FUDForum. Page generated in 0.03769 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top