cancel
Showing results for 
Search instead for 
Did you mean: 

DTR installed - com.tssap.dtr.client.commandline missing!

Former Member
0 Kudos

Hi community!

I've installed SAP NetWeaver Developer Studio (SAP NetWeaver 7.1 Composition Environment SP01). I'm about to get through the Post-Installation (http://help.sap.com/saphelp_nw70/helpdata/de/07/f6bc3d42f46c33e10000000a11405a/frameset.htm) and habve problems creating a workspace (http://help.sap.com/saphelp_nw70/helpdata/de/b4/21b1cb5fc36a478fd6b7a992c05e55/frameset.htm).

I've set eclipse\plugins\com.tssap.dtr.client.vfs\setvars.bat and dtr.bat resp. dtrshell.bat but I get the followin error messag when runnig batch files dtr or dtr_shell:

Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/tc/logging/Location

at com.tssap.dtr.client.commandline.DTRShell.<clinit>(DTRShell.java:21)

And there is no directory \eclipse\plugins\com.tssap.dtr.client.commandline.

Is there any possibility to get the hole thing running??

Thanks & best greetings,

Farid Fadavi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

is there no one familiar with this subject?

Former Member
0 Kudos

Hi Farid,

there are some paths wrongs in the dtrshell.bat.

Check the entries for

com.tssap.sap.libs.xmltoolkit_2.0.0

com.tssap.sap.libs.logging_2.0.0

com.sap.tc.jarm_2.0.0

and adapt them to the actual directory names in your plugins directory.

All the shells tools are also available in eclipse/tools, e.g. dtrshell.bat is in eclipse/tools/dtr. Create an environment variable NWDITOOLLIB that points to the lib folder, i.e. eclipse/tools/lib. Then all shell tools should work.

Regards

Michael

Former Member
0 Kudos

Hi Michael!

Thanks for the reply.

So these are my batch files:

C:\Programme\SAP\IDE\IDE72\eclipse\plugins\com.tssap.dtr.client.vfs\setvars.bat is:

set DTR_HOME="C:\Dokumente und Einstellungen\fadavi\workspace.jdi"

set CFG_DIR=%DTR_HOME%\.dtr

set LOGGING=%DTR_HOME%\logging.properties

set DEFAULT_PROPERTIES=-Dvfs.configfolder=%CFG_DIR% -Dvfs.logging=%LOGGING%

set NWDITOOLLIB="C:\Programme\SAP\IDE\IDE72\eclipse\tools\lib"

C:\Programme\SAP\IDE\IDE72\eclipse\plugins\com.tssap.dtr.client.vfs\dtrshell.bat is:

call setvars.bat

rem Used Archives in 7.10 Netweaver Developer Studio installation:

set CLASS_PATH="C:\Programme\SAP\IDE\IDE72\eclipse\plugins"

set CLASS_PATH=%CLASS_PATH%;.\lib\tcdidtrclient~vfs_api.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\tcdiclients~propagation_api.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\tcdidtrclient~admin_api.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\tcdidtrclient~commandline_api.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\tcdidtrclient~deltav_api.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\tcdidtrclient~protocol_api.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\tcdidtrclient~util_api.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\private\tcdidtrclient~vfs_core.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\private\tcdiclients~propagation_core.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\private\tcdidtrclient~admin_core.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\private\tcdidtrclient~commandline_core.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\private\tcdidtrclient~deltav_core.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\private\tcdidtrclient~protocol_core.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\private\tcdidtrclient~util_core.jar

rem (3) Run DTR Commandline Shell:

java -classpath %CLASS_PATH% %DEFAULT_PROPERTIES% com.tssap.dtr.client.commandline.DTRShell %*

Thats it. All variables are correct. But, as I said before, there is no directory com.tssap.dtr.client.commandline... in C:\Programme\SAP\IDE\IDE72\eclipse\plugins and nowhere else on my PC.

NWDI and J2EE are installed on server, not local.

There are no com.tssap.sap.libs.xmltoolkit_2.0.0, com.tssap.sap.libs.logging_2.0.0 and com.sap.tc.jarm_2.0.0. The dtrshell.bat says that these are Archives in 7.0 Netweaver Developer Studio installation. I've got 7.1

What else can it be?

Regards,

Farid

PS. I just recieved a mail from someone (Uma...). Could this person please send that message once again. Thanks!

Message was edited by:

Farid Fadavi

Former Member
0 Kudos

Hi Farid

for the sneak preview dtrshell.bat should look like

call setvars.bat

set CLASS_PATH=

set CLASS_PATH=%CLASS_PATH%;.\lib\tcdidtrclient~vfs_api.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\tcdiclients~propagation_api.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\tcdidtrclient~admin_api.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\tcdidtrclient~commandline_api.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\tcdidtrclient~deltav_api.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\tcdidtrclient~protocol_api.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\tcdidtrclient~util_api.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\private\tcdidtrclient~vfs_core.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\private\tcdiclients~propagation_core.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\private\tcdidtrclient~admin_core.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\private\tcdidtrclient~commandline_core.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\private\tcdidtrclient~deltav_core.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\private\tcdidtrclient~protocol_core.jar

set CLASS_PATH=%CLASS_PATH%;.\lib\private\tcdidtrclient~util_core.jar

set CLASS_PATH=%CLASS_PATH%;..\com.tssap.sap.libs.xmltoolkit\lib\sap.comtcsapxmltoolkit~sapxmltoolkit.jar

set CLASS_PATH=%CLASS_PATH%;..\com.tssap.sap.libs.logging\lib\sap.comtcloggingjavaimpl.jar

set CLASS_PATH=%CLASS_PATH%;..\com.sap.tc.jarm\lib\sap.comtcbljarmjarm.jar

java -classpath %CLASS_PATH% %DEFAULT_PROPERTIES% com.tssap.dtr.client.commandline.DTRShell %*

Note the three additional set commands at the end! You need these libs both for 7.0 and 7.1. The names are just a little different.

Before executing dtrshell.bat change your active working directory to plugins\com.tssap.dtr.client.vfs directory. The paths in the set command are paths relative to the current working directory!

Check the mentioned directories in your plugins directory. Some installations of the NWDS add some strange numbers, like e.g. com.tssap.sap.libs.logging_2.0.0.7_1002_20070419140757_0000. In this case you have to adapt the set commands.

By the way, the com.tssap.dtr.client.commandline is not a directory...it's a Java package.

Regards

Michael

Former Member
0 Kudos

The additional 3 set commands solved the problem.

Perfect, thanks Michael!

Answers (0)