cancel
Showing results for 
Search instead for 
Did you mean: 

wdeploy problem with deploy to tomcat server on windows

Former Member
0 Kudos

Hi community members!

I have little question related to wdeploy.

I've used it few times already in the past. I've always had little issues, but finally it always worked. Unfortunately in last two days i can't figure out what is the problem.

I was never sure while using this which path's to provide - destination or source server (we have full installation on one server, but as web application other server is used, which has only tomcat installed, and not from SAP installator but from apache tomcat website).

I use wdeploy gui like i always did. Also web application was few months ago successfully deployed to other server. Now we want to add another web server. All servers are using windows.

I'll describe what i choose while trying to set up wdeploy.

I have checked option Deploy all available SAP BunsinessObjects Web Applicatoins to the server.

I've chosen Tomcat 7.0 as Web Application Server type

Server Instance: destinationHostName (tried also IP)

Service Name: destinationTomcatServiceName (service is disabled, but tried also with enabled)

I've checked Tomcat installed as a Windows Service

as Server Domain Root Directory i've provided: <destination server tomcat path>\tomcat\tomcat-7.0.65\

Then I click 'options' and i provide:

Wdeploy work directory: <sap installation path on source server>\wdeploy\workdir

Web applications source tree location: <sap installation path on source server>\warfiles\webapps

then i click apply and afterwards, when i click 'run' i get:

Error occured during the action deployall

()

Deployment log files are located at:

<log path>

and in those logs i get lots of lines, but none of them tells exactly what the problem was. Its like:

tomcat7.xml:76: Error: The application server is not detected using supplied path.(DEP00301)

and in other log file:

AppSourceDir = O:/SAP BusinessObjects/SAP BusinessObjects Enterprise XI 4.0/warfiles/webapps/AdminTools

Error: The application server is not detected using supplied path.(DEP00301) O:/tomcat/tomcat-7.0.65/

can anyone help?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Rukaiya, Amit thx for answering,

both your suggestions are in fact the same - to provide path in config.tomcat, but unfortunatelly i use tomcat7 installation and no config.tomcat7 file found in wdeploy\conf path, so i modified tomcat6 file, I'm not sure if that file was even used by GUI.

One way or another - the same error occures.

Is something on the way not to just copy those webapps files from my other web server?

edit:

i found this file, but it's values are used as default on wdeploy gui. After modifying all of them i get them as default for gui but nothing changes - error still occures.

amitrathi239
Active Contributor
0 Kudos

Hi,

Just copy the files from different server will not work.

You needs to copy Warfiles & Wdeploy folders from the source system to new and you needs to use wdeploy GUI to deploy the files at new server.For this you needs to follow all steps which are mentioned in the pervious link.


Amit

Former Member
0 Kudos

If I understand it correctly, you have installed Apache Tomcat manually ( downloaded form Apache and not from the SAP installation bundle) and now trying to deploy BOE on this instance and having issues in deploying war files.

Have you used Apache Tomcat Manager to deploy war files.

Get the war files for working or already configured server, copy to new server and use installed tomcat deployment to deploy war files.

Log on to

https://localhost:8080/manager/html

Use this portal and try deploying war files. You should find plenty of documentation on Google on how to use this

Former Member
0 Kudos

Hi Bartosz,

Perform the steps below and it will work :

  • Stop the Tomcat Server on the problematic Environment.
  • Navigate to working server <installdir>\wdeploy\Conf and copy the config.tomcat7 file along with the Tomcat7.xml file (<installdir>\wdeploy) and paste these files in problematic environment on respective location.
  • Open config.Tomcat7 and edit the parameters :
    • As_dir =COPY THE PATH TILL TOMCAT FOLDER in Problematic environment ( Ex: C:\SAP BUSINESSOBJECTS\tomcat )
    • as_instance = BOEXI40Tomcat ( To verify open services.msc and check the service name in properties of Tomcat for BI4 )
    • Save the file.
    • Open Wdeploy location in command prompt and then using KBA : 1608960
    • Run : wdeploy tomcat7 validateconfig and then wdeploy tomcat7 deployall
    • Start the Tomcat after deployment.

Let me know the results.

Hope it will be helpful.


Regards,

Mahak

Former Member
0 Kudos

Thx Amit, your solution works.

Answers (3)

Answers (3)

Former Member
0 Kudos

Thx Bharath and Mahak for your answers. Previous solution worked for me, so I haven't tested yours.

rukaiya_pinjari2
Active Participant
0 Kudos
amitrathi239
Active Contributor
0 Kudos

Hi,

Along with tomcat installation have you installed the java and set the environment variable path at new server?

Might be this will helps you.

Web application server configuration - Business Intelligence (BusinessObjects) - SCN Wiki

Amit

Former Member
0 Kudos

Hi Kumar, thx for the answer.

I've made almost all from the link provided. I've tested and tomcat is working - it's default web site works fine.

I have not installed tomcat from exe file. I've downloaded zip and created windows service manually.

One thing i haven't changed is C:\bi4webtier\SAP BusinessObjects Enterprise XI 4.0\wdeploy\conf\config.tomcat7. I have no such file there, there is only config.tomcat6.

I think it's strange that i have to provide path to tomcat, when there is no need to have tomcat installed on source host. I have warfiles and using them i should be able to deploy app to tomcat. Am i right?

I think some of the paths is not ok, or maybe tomcat should be started?

amitrathi239
Active Contributor
0 Kudos

Hi,

What is the config.tomcat file name at the server where you have installed full BO?

You needs to update the tomcat path (where you have installed the tomcat) in the config.tomcat file.

Amit

Former Member
0 Kudos

Thx Amit for asking. We have nothing there:

amitrathi239
Active Contributor
0 Kudos

Hi,

You needs to update the tomcat location directory path (where you have installed tomcat) in the "as_dir=" manually.

Amit

Former Member
0 Kudos

Hi Amit,

but it's the source server tomcat path, right?

amitrathi239
Active Contributor
0 Kudos

Hi,

Not the source system tomcat path.Tomcat path of the server where you have installed manually tomcat and wants to deploy the war files.

Amit