Exception in thread "main" bea.jolt.ServiceException: Service is not availa

Hi All,
I'm new to Tuxedo. I've installed tuxedo. I've deployed simpapp given as sample. It's c clients and server are working fine. Now I'm trying to use Java client for the same server. In my office I need to work with Tuxedo9.1 and JOLT. When I'm trying to run I'm getting problem. I'm not able to find any solution. Please help me. I'm giving entire work done by me as follows.
Problem in Running Java Client with Tuxedo.
My ASCII tuxconfig file details:
# (c) 2003 BEA Systems, Inc. All Rights Reserved.
#eident "@(#) samples/atmi/simpapp/ubbsimple $Revision: 1.5 $"
#Skeleton UBBCONFIG file for the TUXEDO Simple Application.
#Replace the <bracketed> items with the appropriate values.
*RESOURCES
IPCKEY 123456
#Example:
#IPCKEY 123456
DOMAINID simpapp
MASTER simple
MAXACCESSERS 50
MAXSERVERS 30
MAXSERVICES 50
MODEL SHM
LDBAL N
*MACHINES
DEFAULT:
APPDIR="/shashi/mysimpleapp/simpapp"
TUXCONFIG="/shashi/mysimpleapp/simpapp/tuxconfig"
TUXDIR="/newutitux/newtux/tuxedo9.1"
#Example:
# APPDIR="/home/me/simpapp"
# TUXCONFIG="/home/me/simpapp/tuxconfig"
# TUXDIR="/usr/tuxedo"
systest LMID=simple MAXWSCLIENTS=4
#Example:
#beatux LMID=simple
*GROUPS
GROUP1
LMID=simple GRPNO=1 OPENINFO=NONE
JSLGROUP LMID=simple GRPNO=2 OPENINFO=NONE
JREPGROUP LMID=simple GRPNO=3 OPENINFO=NONE
*SERVERS
DEFAULT:
CLOPT="-A"
simpserv SRVGRP=GROUP1 SRVID=1
JSL SRVGRP=JSLGROUP SRVID=2
CLOPT=" -- -n //10.10.100.110:5000 -d /dev/tcp "
JREPSVR SRVGRP=JREPGROUP SRVID=4
CLOPT=" -- -W -P /shashi/mysimpleapp/simpapp/jrepository "
JRAD SRVGRP=JSLGROUP SRVID=3
CLOPT=" -- -l //10.10.100.110:5555 -c //10.10.100.110:5000 "
*SERVICES
TOUPPER
I've started the server using command tmboot -y.5 servers are started.
When I test using tmadmin command following is the output.
>psr
Prog Name Queue Name Grp Name ID RqDone Load Done Current Service
BBL 123456 simple 0 0 0 ( IDLE )
simpserv 00001.00001 GROUP1 1 0 0 ( IDLE )
JSL 00002.00002 JSLGROUP 2 0 0 ( IDLE )
JRAD 00002.00003 JSLGROUP 3 0 0 ( IDLE )
JREPSVR 00003.00004 JREPGRO+ 4 0 0 ( IDLE )
pscService Name Routine Name Prog Name Grp Name ID Machine # Done Status
TOUPPER TOUPPER simpserv GROUP1 1 simple 0 AVAIL
My Jrlyconfig file content is:-
LOGDIR=/shashi/mysimpleapp
ACCESS_LOG=access.log
ERROR_LOG=error.log
LISTEN=10.10.100.110:4444
CONNECT=10.10.100.110:5555
SOCKETTIMEOUT=30
and jrly is also running.
Content of jrepository file is:-
#!JOLT1.0^M
add SVC/TOUPPER:vs=1:ex=1:bt=STRING:\^M
bp:pn=STRING:pt=string:pf=167772161:pa=rw:ep:^M
add PKG/SIMPSERV:TOUPPER:^M
ULOG Message is:-
165446.systest!BBL.5691.1.0: 06-10-2010: Tuxedo Version 9.1, 64-bit, Patch Level (none)
165446.systest!BBL.5691.1.0: LIBTUX_CAT:262: INFO: Standard main starting
165446.systest!simpserv.5692.1.0: 06-10-2010: Tuxedo Version 9.1, 64-bit
165446.systest!simpserv.5692.1.0: LIBTUX_CAT:262: INFO: Standard main starting
165446.systest!simpserv.5692.1.0: Welcome to the simple server
165446.systest!JSL.5693.1.0: 06-10-2010: Tuxedo Version 9.1, 64-bit
165446.systest!JSL.5693.1.0: LIBTUX_CAT:262: INFO: Standard main starting
165446.systest!JSL.5693.1.0: INFO: JOLT Listener version-BEA Jolt 9.1
165446.systest!JSL.5693.1.0: JOLT_CAT:1563: "INFO: Serial Number : <454493271161-2664953090480>, Expiration Date : <None>"
165446.systest!JSL.5693.1.0: JOLT_CAT:1564: "INFO: Licensee : <Customer>"
165446.systest!JREPSVR.5694.1.0: 06-10-2010: Tuxedo Version 9.1, 64-bit
165446.systest!JREPSVR.5694.1.0: LIBTUX_CAT:262: INFO: Standard main starting
165446.systest!JREPSVR.5694.1.0: Current version: BEA Jolt 9.1
165446.systest!JREPSVR.5694.1.0: Repository "/shashi/mysimpleapp/simpapp/jrepository" (2 records) is writable.
165446.systest!JRAD.5695.1.0: 06-10-2010: Tuxedo Version 9.1, 64-bit
165446.systest!JRAD.5695.1.0: LIBTUX_CAT:262: INFO: Standard main starting
165446.systest!JRAD.5695.1.0: INFO: JRAD version-BEA Jolt 9.1
I don't find any problem in starting and running the system.
Problem faced:-
1.Repository Editor is connected to the system using port number given for jrly( i.e.. 4444) but it is giving an exception
"bea.jolt.ServiceException:Service is not available:.GETKEYS"
2.When trying to load bulk loader after setting jolt.jar and joltadmin.jar to the classpath it is giving the exception
java bea.jolt.admin.jbld //10.10.100.110:4444 services.txt
Exception in thread "main" bea.jolt.ServiceException: Service is not available:.GETKEYS
at bea.jolt.JoltRemoteService.init(JoltRemoteService.java:156)
at bea.jolt.JoltRemoteService.<init>(JoltRemoteService.java:112)
at bea.jolt.admin.JSvcPkgTbl.initTable(jbld.java:1010)
at bea.jolt.admin.JSvcPkgTbl.<init>(jbld.java:990)
at bea.jolt.admin.JBldDefRec.<init>(jbld.java:138)
at bea.jolt.admin.jbld.main(jbld.java:801)
Note:- I've tested on port number 5000 and file as jrepository also.The content of services.txt is as follows
service=TOUPPER
export=true
inbuf=STRING
outbuf=STRING
access=inout
3.While running the ToUpper.java given in sample it is giving the exception as follows.
"Exception in thread "main" bea.jolt.ServiceException: Service is not available:TOUPPER
at bea.jolt.JoltRemoteService.init(JoltRemoteService.java:156)
at bea.jolt.JoltRemoteService.<init>(JoltRemoteService.java:112)
at ToUpper.main(ToUpper.java:36)"
Content of ToUpper.java:-
/* Copyright 1996 BEA Systems, Inc. All Rights Reserved */
import bea.jolt.*;
public class ToUpper
public static void main (String[] args)
JoltSession session;
JoltSessionAttributes sattr;
JoltRemoteService toupper;
JoltTransaction trans;
String userName=null;
String userPassword=null;
String appPassword=null;
String userRole="myapp";
String outstr;
sattr = new JoltSessionAttributes();
sattr.setString(sattr.APPADDRESS, "//10.10.100.110:4444");
switch (sattr.checkAuthenticationLevel())
case JoltSessionAttributes.NOAUTH:
break;
case JoltSessionAttributes.APPASSWORD:
appPassword = "appPassword";
break;
case JoltSessionAttributes.USRPASSWORD:
userName = "myname";
userPassword = "mysecret";
appPassword = "appPassword";
break;
sattr.setInt(sattr.IDLETIMEOUT, 300);
session = new JoltSession(sattr, null, null,
null, null);
toupper = new JoltRemoteService ("TOUPPER", session);
toupper.setString("STRING", "hello world");
toupper.call(null);
outstr = toupper.getStringDef("STRING", null);
if (outstr != null)
System.out.println(outstr);
session.endSession();
System.exit(0);
} // end main
} // end ToUpper
Please help me. Thanks in Advance. Waiting for ASAP help.
Regards
Shashi Ranjan

Hi,
As per your suggestion I'm again giving the detail of all the files which I'm using.
tmboot -y output:-
Booting all admin and server processes in /home/oracle/simaapp/tuxconfig
INFO: Oracle Tuxedo, Version 11.1.1.1.0, 32-bit, Patch Level (none)
Booting admin processes ...
exec BBL -A :
     process id=6116 ... Started.
Booting server processes ...
exec TMUSREVT -- -f /home/oracle/simaapp/tmusrevt.dat :
     process id=6117 ... Started.
exec simpserv -A :
     process id=6118 ... Started.
exec JSL -- -n //station1.example.com:7000 -d /dev/tcp :
     process id=6119 ... Started.
exec JREPSVR -- -W -P /home/oracle/simaapp/jrepository :
     process id=6120 ... Started.
exec JRAD -- -l //station1.example.com:5555 -c //station1.example.com:7000 :
     process id=6121 ... Started.
6 processes started.
TMUSREVT.ENV content:-
FIELDTBLS=Usysflds; export FIELDTBLS
FLDTBLDIR=$TUXDIR/udataobj; export FLDTBLDIR
FIELDTBLS32=jrep.f32; export FIELDTBLS32;
FLDTBLDIR=$TUXDIR/udataobj; export FLDTBLDIR;
tux.env content:-
TUXDIR=/u01/tuxedo/tuxedo11gR1; export TUXDIR
JAVA_HOME=$TUXDIR/jre; export JAVA_HOME
JVMLIBS=$JAVA_HOME/lib/i386/server:$JAVA_HOME/jre/bin
PATH=$TUXDIR/bin:$JAVA_HOME/bin:$PATH; export PATH
COBCPY=:$TUXDIR/cobinclude; export COBCPY
COBOPT="-C ANS85 -C ALIGN=8 -C NOIBMCOMP -C TRUNC=ANSI -C OSEXT=cbl"; export COBOPT
SHLIB_PATH=$TUXDIR/lib:$JVMLIBS:$SHLIB_PATH; export SHLIB_PATH
LIBPATH=$TUXDIR/lib:$JVMLIBS:$LIBPATH; export LIBPATH
LD_LIBRARY_PATH=$TUXDIR/lib:$JVMLIBS:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH
WEBJAVADIR=$TUXDIR/udataobj/webgui/java; export WEBJAVADIR
UBBCONFIG content:-
*RESOURCES
IPCKEY 78111
MASTER "station1"
UID 501
GID 501
PERM 0600
MAXACCESSERS 50
MAXACLGROUPS 16384
MAXGTT 100
DOMAINID "simpapp"
MAXGROUPS 100
MAXNETGROUPS 8
MAXMACHINES 256
MAXQUEUES 50
MAXDRT 0
MAXRFT 0
MAXRTDATA 4
MAXSPDATA 33924
MAXSERVERS 50
MAXSERVICES 100
MAXCONV 10
MODEL SHM
LDBAL Y
1,10 Top
CMTRET COMPLETE
MAXBUFTYPE 16
MAXBUFSTYPE 32
SCANUNIT 10
SANITYSCAN 12
DBBLWAIT 2
BBLQUERY 30
BLOCKTIME 6
NOTIFY DIPIN
SYSTEM_ACCESS FASTPATH
MAXINTERFACES 150
MAXOBJECTS 1000
SIGNATURE_AHEAD 3600
SIGNATURE_BEHIND 604800
USIGNAL SIGUSR2
*MACHINES
DEFAULT:
"station1.example.com" LMID="station1"
TUXCONFIG="/home/oracle/simaapp/tuxconfig"
TUXDIR="/u01/tuxedo/tuxedo11gR1"
APPDIR="/home/oracle/simaapp"
TLOGNAME="TLOG"
TLOGSIZE=100
CMPLIMIT="MAXLONG,MAXLONG"
NETLOAD=0
SPINCOUNT=0
MAXACLCACHE=100
MAXOBJECTS=1000
SICACHEENTRIESMAX="500"
MAXWSCLIENTS=4
*GROUPS
GROUP1
LMID=station1 GRPNO=1 OPENINFO=NONE
JSLGROUP LMID=station1 GRPNO=2 OPENINFO=NONE
JSRGROUP LMID=station1 GRPNO=3 OPENINFO=NONE
TMUGROUP LMID=station1 GRPNO=4 OPENINFO=NONE
TMUSREVTGROUP LMID=station1 GRPNO=5 OPENINFO=NONE
*NETGROUPS
*SERVERS
DEFAULT:
CLOPT="-A"
simpserv SRVGRP=GROUP1 SRVID=1
JSL SRVGRP=JSLGROUP SRVID=2
CLOPT=" -- -n //station1.example.com:7000 -d /dev/tcp "
JREPSVR SRVGRP=JSRGROUP SRVID=3
CLOPT=" -- -W -P /home/oracle/simaapp/jrepository "
JRAD SRVGRP=JSLGROUP SRVID=4
CLOPT=" -- -l //station1.example.com:5555 -c //station1.example.com:7000 "
TMUSREVT SRVGRP=TMUSREVTGROUP SRVID=5 GRACE=3600
ENVFILE="/home/oracle/simaapp/TMUSREVT.ENV"
CLOPT=" -- -f /home/oracle/simaapp/tmusrevt.dat "
SEQUENCE=11
*MODULES
*JDBCCONNPOOLS
*SERVICES
TOUPPER
LOAD=50 PRIO=50
BUFTYPE="ALL"
TRANTIME=30
AUTOTRAN=N
AFFINITYSCOPE=SERVER
*INTERFACES
*ROUTING
jrepository content:-
#!JOLT1.0
add SVC/TOUPPER:vs=1:ex=1:bt=STRING:\
bp:pn=STRING:pt=string:pf=167772161:pa=rw:ep:
add PKG/SIMPSERV:TOUPPER:
After exception the content of ULOG:-
175351.station1.example.com!BBL.6116.3086526144.0: 06-13-2010: client high water (0), total client (0)
175351.station1.example.com!BBL.6116.3086526144.0: 06-13-2010: Tuxedo Version 11.1.1.1.0, 32-bit, Patch Level (none)
175351.station1.example.com!BBL.6116.3086526144.0: LIBTUX_CAT:262: INFO: Standard main starting
175351.station1.example.com!TMUSREVT.6117.3086412000.0: 06-13-2010: Tuxedo Version 11.1.1.1.0, 32-bit
175351.station1.example.com!TMUSREVT.6117.3086412000.0: LIBTUX_CAT:262: INFO: Standard main starting
175351.station1.example.com!simpserv.6118.3086706368.0: 06-13-2010: Tuxedo Version 11.1.1.1.0, 32-bit
175351.station1.example.com!simpserv.6118.3086706368.0: LIBTUX_CAT:262: INFO: Standard main starting
175351.station1.example.com!simpserv.6118.3086706368.0: Welcome to the simple server
175351.station1.example.com!JSL.6119.3086870208.0: 06-13-2010: Tuxedo Version 11.1.1.1.0, 32-bit
175351.station1.example.com!JSL.6119.3086870208.0: LIBTUX_CAT:262: INFO: Standard main starting
175351.station1.example.com!JSL.6119.3086870208.0: INFO: JOLT Listener version-Oracle Jolt 11.1.1.1.0
175351.station1.example.com!JREPSVR.6120.3086403264.0: 06-13-2010: Tuxedo Version 11.1.1.1.0, 32-bit
175351.station1.example.com!JREPSVR.6120.3086403264.0: LIBTUX_CAT:262: INFO: Standard main starting
175351.station1.example.com!JREPSVR.6120.3086403264.0: Current version: Oracle Jolt 11.1.1.1.0
175351.station1.example.com!JREPSVR.6120.3086403264.0: Repository "/home/oracle/simaapp/jrepository" (2 records) is writable.
175351.station1.example.com!JRAD.6121.3086603968.0: 06-13-2010: Tuxedo Version 11.1.1.1.0, 32-bit
175351.station1.example.com!JRAD.6121.3086603968.0: LIBTUX_CAT:262: INFO: Standard main starting
175351.station1.example.com!JRAD.6121.3086603968.0: INFO: JRAD version-Oracle Jolt 11.1.1.1.0
180656.station1.example.com!JRAD.6121.3086603968.0: JRAD_CAT:1526: INFO: JRLY connection is UP
180656.station1.example.com!JSH.6187.3086858464.-2: 06-13-2010: Tuxedo Version 11.1.1.1.0, 32-bit
180656.station1.example.com!JSH.6187.3086858464.-2: JOLT_CAT:1030: "INFO: Jolt Handler joining application"
180656.station1.example.com!JSH.6187.3086858464.-2: INFO: JOLT Handler version-Oracle Jolt 11.1.1.1.0
180657.station1.example.com!JSH.6187.3086858464.-2: JOLT_CAT:1198: "WARN: Forced shutdown of client; user name 'oracle'; client name 'admin'"
Content of stderr:-
tpcall .GETREC failed: TPENOENT - no entry found
tpcall .GETREC failed: TPENOENT - no entry found
tpcall .GETREC failed: TPENOENT - no entry found
tpcall .GETREC failed: TPENOENT - no entry found
services.txt content
service=TOUPPER
export=true
inbuf=STRING
outbuf=STRING
access=inout
The content of jrlyconfig file:-
LOGDIR=/home/oracle/simaapp
ACCESS_LOG=access_log
ERROR_LOG=errorlog
LISTEN=station1.example.com:4444
CONNECT=station1.example.com:5555
then I'm running jrly -f jrlyconfig
The exception occurs when I run the command. "java bea.jolt.admin.jbld //station1:4444 services.txt"
Exception in thread "main" bea.jolt.ServiceException: Service is not available:.GETKEYS
     at bea.jolt.JoltRemoteService.init(JoltRemoteService.java:156)
     at bea.jolt.JoltRemoteService.<init>(JoltRemoteService.java:112)
     at bea.jolt.admin.JSvcPkgTbl.initTable(jbld.java:1010)
     at bea.jolt.admin.JSvcPkgTbl.<init>(jbld.java:990)
     at bea.jolt.admin.JBldDefRec.<init>(jbld.java:138)
     at bea.jolt.admin.jbld.main(jbld.java:801)
similarly when I'm trying to connect through RE.html
the exception is
bea.jolt.ServiceException: Service is not available:.GETKEYS
The output of command JREPSVR -v is
# List of services and corresponding handler functions built into the server
:ADDREC
:DELREC
:FLUSHCACHE
:GARBAGECOLLECT
.GETALL:GETALL
.GETKEYS:GETKEYS
.GETREC:GETREC
.GETSVC:GETSVC
:LOCKREP
.NUMRECS:NUMRECS
Regards,
Shashi Ranjan

Similar Messages

  • Bea.jolt.ServiceException: TPENOENT - no entry found

    Hi,
    I am getting this error.Also find the ULOG contents pasted below.
    D:\bea\tuxedo9.1\samples\jolt\ToUpper>java ToUpper
    Authentication Level set To :0
    Exception caught error no is:6
    bea.jolt.ServiceException: TPENOENT - no entry found
    at bea.jolt.JoltRemoteService.decodeCALL(JoltRemoteService.java:460)
    at bea.jolt.JoltRemoteService.call(JoltRemoteService.java:345)
    at bea.jolt.JoltRemoteService.call(JoltRemoteService.java:267)
    at ToUpper.main(ToUpper.java:39)
    I have checked the jrepository file and also the Applet window for the service defination(TOUPPER)but still its not recognizing the service.Is there some configuration thing I have missed out before running JOLT client.
    ULOG File Contents
    132947.GVC3ZA03TESTING!JSH.4000.2464.-2: JOLT_CAT:1198: "WARN: Forced shutdown of client; user name ''; client name 'myapp'"
    132956.GVC3ZA03TESTING!WSL.432.5308.0: WSNAT_CAT:1196: INFO: Terminating handlers in preparation for shutdown
    132956.GVC3ZA03TESTING!WSL.432.5308.0: WSNAT_CAT:1197: INFO: Exiting system
    132956.GVC3ZA03TESTING!JSL.2644.2356.0: JOLT_CAT:1506: "INFO: Terminating Jolt administration services in preparation for shutdown"
    132956.GVC3ZA03TESTING!JSL.2644.2356.0: JOLT_CAT:1196: "INFO: Terminating handlers in preparation for shutdown"
    132956.GVC3ZA03TESTING!JSH.4000.2464.-2: JOLT_CAT:1198: "WARN: Forced shutdown of client; user name 'jolt'; client name 'joltadmin'"
    132956.GVC3ZA03TESTING!JSL.2644.2356.0: JOLT_CAT:1197: "INFO: Exiting system"
    132956.GVC3ZA03TESTING!DMADM.5844.5348.0: CMDGW_CAT:1655: INFO: DMADMSVR is exiting
    132959.GVC3ZA03TESTING!BBL.3216.4372.0: CMDTUX_CAT:26: INFO: The BBL is exiting system
    133021.GVC3ZA03TESTING!tmloadcf.6104.3164.-2: 02-01-2007: Tuxedo Version 9.1, 32-bit
    133021.GVC3ZA03TESTING!tmloadcf.6104.3164.-2: CMDTUX_CAT:872: INFO: TUXCONFIG file D:\bea\tuxedo9.1\samples\jolt\ToUpper\tuxconfig has been updated
    133028.GVC3ZA03TESTING!BBL.6140.5124.0: 02-01-2007: Tuxedo Version 9.1, 32-bit, Patch Level (none)
    133028.GVC3ZA03TESTING!BBL.6140.5124.0: LIBTUX_CAT:262: INFO: Standard main starting
    133028.GVC3ZA03TESTING!DMADM.4928.1868.0: 02-01-2007: Tuxedo Version 9.1, 32-bit
    133028.GVC3ZA03TESTING!DMADM.4928.1868.0: LIBTUX_CAT:262: INFO: Standard main starting
    133028.GVC3ZA03TESTING!DMADM.4928.1868.0: CMDGW_CAT:3149: INFO: BDMCONFIG environment variable not set. Using $APPDIR/BDMCONFIG
    133028.GVC3ZA03TESTING!DMADM.4928.1868.0: CMDGW_CAT:3761: INFO: Using version 2 BDMCONFIG, 3DES is enabled.
    133028.GVC3ZA03TESTING!JSL.5608.6088.0: 02-01-2007: Tuxedo Version 9.1, 32-bit
    133028.GVC3ZA03TESTING!JSL.5608.6088.0: LIBTUX_CAT:262: INFO: Standard main starting
    133028.GVC3ZA03TESTING!JSL.5608.6088.0: INFO: JOLT Listener version-BEA Jolt 9.1
    133028.GVC3ZA03TESTING!JSL.5608.6088.0: JOLT_CAT:1563: "INFO: Serial Number : <454493271161-2140437240256>, Expiration Date : <2007-02-15>"
    133028.GVC3ZA03TESTING!JSL.5608.6088.0: JOLT_CAT:1564: "INFO: Licensee : <BEA Evaluation Customer>"
    133029.GVC3ZA03TESTING!JSH.6028.5748.-2: 02-01-2007: Tuxedo Version 9.1, 32-bit
    133029.GVC3ZA03TESTING!JSH.6028.5748.-2: JOLT_CAT:1030: "INFO: Jolt Handler joining application"
    133029.GVC3ZA03TESTING!JSH.6028.5748.-2: INFO: JOLT Handler version-BEA Jolt 9.1
    133029.GVC3ZA03TESTING!JREPSVR.3476.4980.0: 02-01-2007: Tuxedo Version 9.1, 32-bit
    133029.GVC3ZA03TESTING!JREPSVR.3476.4980.0: LIBTUX_CAT:262: INFO: Standard main starting
    133029.GVC3ZA03TESTING!JREPSVR.3476.4980.0: Current version: BEA Jolt 9.1
    133029.GVC3ZA03TESTING!JREPSVR.3476.4980.0: Repository "D:\bea\tuxedo9.1\udataobj\jolt\repository\jrepository" (16 records) is writable.
    133029.GVC3ZA03TESTING!WSL.3292.4892.0: 02-01-2007: Tuxedo Version 9.1, 32-bit
    133029.GVC3ZA03TESTING!WSL.3292.4892.0: LIBTUX_CAT:262: INFO: Standard main starting
    133029.GVC3ZA03TESTING!WSH.2568.3772.0: 02-01-2007: Tuxedo Version 9.1, 32-bit
    133029.GVC3ZA03TESTING!WSH.2568.3772.0: WSNAT_CAT:1030: INFO: Work Station Handler joining application
    133029.GVC3ZA03TESTING!WSH.5764.3836.0: 02-01-2007: Tuxedo Version 9.1, 32-bit
    133029.GVC3ZA03TESTING!WSH.5764.3836.0: WSNAT_CAT:1030: INFO: Work Station Handler joining application
    133242.GVC3ZA03TESTING!JSH.6028.5748.-2: JOLT_CAT:1043: "ERROR: tpacall() call failed, tperrno = 6"
    133300.GVC3ZA03TESTING!JSH.6028.5748.-2: JOLT_CAT:1198: "WARN: Forced shutdown of client; user name ''; client name 'myapp'"
    133300.GVC3ZA03TESTING!JSH.6028.5748.-2: JOLT_CAT:1043: "ERROR: tpacall() call failed, tperrno = 6"
    133359.GVC3ZA03TESTING!JSH.6028.5748.-2: JOLT_CAT:1198: "WARN: Forced shutdown of client; user name ''; client name 'myapp'"
    133456.GVC3ZA03TESTING!JSH.6028.5748.-2: Fldid32(ACCOUNT_ID) failed for INQUIRY: LIBFML_CAT:8: ERROR: Unknown field name. Maybe FIELDTBLS32 is not set properly.
    133612.GVC3ZA03TESTING!JSH.6028.5748.-2: JOLT_CAT:1043: "ERROR: tpacall() call failed, tperrno = 6"
    143325.GVC3ZA03TESTING!JSH.6028.5748.-2: Fldid(SAMOUNT) failed for DEPOSIT: LIBFML_CAT:11: ERROR: Cannot find or open field table. Maybe FIELDTBLS is not set properly.
    144116.GVC3ZA03TESTING!WSL.3292.4892.0: WSNAT_CAT:1196: INFO: Terminating handlers in preparation for shutdown
    144116.GVC3ZA03TESTING!WSL.3292.4892.0: WSNAT_CAT:1197: INFO: Exiting system
    144116.GVC3ZA03TESTING!JSL.5608.6088.0: JOLT_CAT:1506: "INFO: Terminating Jolt administration services in preparation for shutdown"
    144116.GVC3ZA03TESTING!JSL.5608.6088.0: JOLT_CAT:1196: "INFO: Terminating handlers in preparation for shutdown"
    144116.GVC3ZA03TESTING!JSH.6028.5748.-2: JOLT_CAT:1198: "WARN: Forced shutdown of client; user name 'jolt'; client name 'joltadmin'"
    144116.GVC3ZA03TESTING!JSL.5608.6088.0: JOLT_CAT:1197: "INFO: Exiting system"
    144116.GVC3ZA03TESTING!DMADM.4928.1868.0: CMDGW_CAT:1655: INFO: DMADMSVR is exiting
    144119.GVC3ZA03TESTING!BBL.6140.5124.0: CMDTUX_CAT:26: INFO: The BBL is exiting system
    144142.GVC3ZA03TESTING!tmloadcf.2668.3316.-2: 02-01-2007: Tuxedo Version 9.1, 32-bit
    144142.GVC3ZA03TESTING!tmloadcf.2668.3316.-2: CMDTUX_CAT:872: INFO: TUXCONFIG file D:\bea\tuxedo9.1\samples\jolt\ToUpper\tuxconfig has been updated
    144148.GVC3ZA03TESTING!BBL.4144.4376.0: 02-01-2007: Tuxedo Version 9.1, 32-bit, Patch Level (none)
    144148.GVC3ZA03TESTING!BBL.4144.4376.0: LIBTUX_CAT:262: INFO: Standard main starting
    144148.GVC3ZA03TESTING!DMADM.4436.5968.0: 02-01-2007: Tuxedo Version 9.1, 32-bit
    144148.GVC3ZA03TESTING!DMADM.4436.5968.0: LIBTUX_CAT:262: INFO: Standard main starting
    144148.GVC3ZA03TESTING!DMADM.4436.5968.0: CMDGW_CAT:3149: INFO: BDMCONFIG environment variable not set. Using $APPDIR/BDMCONFIG
    144148.GVC3ZA03TESTING!DMADM.4436.5968.0: CMDGW_CAT:3761: INFO: Using version 2 BDMCONFIG, 3DES is enabled.
    144148.GVC3ZA03TESTING!JSL.5072.2444.0: 02-01-2007: Tuxedo Version 9.1, 32-bit
    144148.GVC3ZA03TESTING!JSL.5072.2444.0: LIBTUX_CAT:262: INFO: Standard main starting
    144148.GVC3ZA03TESTING!JSL.5072.2444.0: INFO: JOLT Listener version-BEA Jolt 9.1
    144148.GVC3ZA03TESTING!JSL.5072.2444.0: JOLT_CAT:1563: "INFO: Serial Number : <454493271161-2140437240256>, Expiration Date : <2007-02-15>"
    144148.GVC3ZA03TESTING!JSL.5072.2444.0: JOLT_CAT:1564: "INFO: Licensee : <BEA Evaluation Customer>"
    144148.GVC3ZA03TESTING!JSH.5856.5268.-2: 02-01-2007: Tuxedo Version 9.1, 32-bit
    144148.GVC3ZA03TESTING!JSH.5856.5268.-2: JOLT_CAT:1030: "INFO: Jolt Handler joining application"
    144148.GVC3ZA03TESTING!JSH.5856.5268.-2: INFO: JOLT Handler version-BEA Jolt 9.1
    144148.GVC3ZA03TESTING!JREPSVR.2952.1248.0: 02-01-2007: Tuxedo Version 9.1, 32-bit
    144148.GVC3ZA03TESTING!JREPSVR.2952.1248.0: LIBTUX_CAT:262: INFO: Standard main starting
    144148.GVC3ZA03TESTING!JREPSVR.2952.1248.0: Current version: BEA Jolt 9.1
    144148.GVC3ZA03TESTING!JREPSVR.2952.1248.0: Repository "D:\bea\tuxedo9.1\udataobj\jolt\repository\jrepository" (16 records) is writable.
    144148.GVC3ZA03TESTING!WSL.3040.5488.0: 02-01-2007: Tuxedo Version 9.1, 32-bit
    144148.GVC3ZA03TESTING!WSL.3040.5488.0: LIBTUX_CAT:262: INFO: Standard main starting
    144148.GVC3ZA03TESTING!WSH.5740.2764.0: 02-01-2007: Tuxedo Version 9.1, 32-bit
    144148.GVC3ZA03TESTING!WSH.5740.2764.0: WSNAT_CAT:1030: INFO: Work Station Handler joining application
    144148.GVC3ZA03TESTING!WSH.1784.5448.0: 02-01-2007: Tuxedo Version 9.1, 32-bit
    144148.GVC3ZA03TESTING!WSH.1784.5448.0: WSNAT_CAT:1030: INFO: Work Station Handler joining application
    144157.GVC3ZA03TESTING!JSH.5856.5268.-2: JOLT_CAT:1043: "ERROR: tpacall() call failed, tperrno = 6"
    144207.GVC3ZA03TESTING!JSH.5856.5268.-2: JOLT_CAT:1198: "WARN: Forced shutdown of client; user name ''; client name 'myapp'"
    144226.GVC3ZA03TESTING!JSH.5856.5268.-2: JOLT_CAT:1043: "ERROR: tpacall() call failed, tperrno = 6"
    144229.GVC3ZA03TESTING!JSH.5856.5268.-2: JOLT_CAT:1043: "ERROR: tpacall() call failed, tperrno = 6"
    144518.GVC3ZA03TESTING!WSL.3040.5488.0: WSNAT_CAT:1196: INFO: Terminating handlers in preparation for shutdown
    144518.GVC3ZA03TESTING!WSL.3040.5488.0: WSNAT_CAT:1197: INFO: Exiting system
    144518.GVC3ZA03TESTING!JSL.5072.2444.0: JOLT_CAT:1506: "INFO: Terminating Jolt administration services in preparation for shutdown"
    144518.GVC3ZA03TESTING!JSL.5072.2444.0: JOLT_CAT:1196: "INFO: Terminating handlers in preparation for shutdown"
    144518.GVC3ZA03TESTING!JSH.5856.5268.-2: JOLT_CAT:1198: "WARN: Forced shutdown of client; user name 'jolt'; client name 'joltadmin'"
    144518.GVC3ZA03TESTING!JSL.5072.2444.0: JOLT_CAT:1197: "INFO: Exiting system"
    144519.GVC3ZA03TESTING!DMADM.4436.5968.0: CMDGW_CAT:1655: INFO: DMADMSVR is exiting
    144522.GVC3ZA03TESTING!BBL.4144.4376.0: CMDTUX_CAT:26: INFO: The BBL is exiting system
    144537.GVC3ZA03TESTING!tmloadcf.4892.4980.-2: 02-01-2007: Tuxedo Version 9.1, 32-bit
    144537.GVC3ZA03TESTING!tmloadcf.4892.4980.-2: CMDTUX_CAT:872: INFO: TUXCONFIG file D:\bea\tuxedo9.1\samples\jolt\ToUpper\tuxconfig has been updated
    144543.GVC3ZA03TESTING!BBL.5440.4548.0: 02-01-2007: Tuxedo Version 9.1, 32-bit, Patch Level (none)
    144543.GVC3ZA03TESTING!BBL.5440.4548.0: LIBTUX_CAT:262: INFO: Standard main starting
    144543.GVC3ZA03TESTING!DMADM.1016.6128.0: 02-01-2007: Tuxedo Version 9.1, 32-bit
    144543.GVC3ZA03TESTING!DMADM.1016.6128.0: LIBTUX_CAT:262: INFO: Standard main starting
    144543.GVC3ZA03TESTING!DMADM.1016.6128.0: CMDGW_CAT:3149: INFO: BDMCONFIG environment variable not set. Using $APPDIR/BDMCONFIG
    144543.GVC3ZA03TESTING!DMADM.1016.6128.0: CMDGW_CAT:3761: INFO: Using version 2 BDMCONFIG, 3DES is enabled.
    144543.GVC3ZA03TESTING!JSL.1796.5232.0: 02-01-2007: Tuxedo Version 9.1, 32-bit
    144543.GVC3ZA03TESTING!JSL.1796.5232.0: LIBTUX_CAT:262: INFO: Standard main starting
    144543.GVC3ZA03TESTING!JSL.1796.5232.0: INFO: JOLT Listener version-BEA Jolt 9.1
    144543.GVC3ZA03TESTING!JSL.1796.5232.0: JOLT_CAT:1563: "INFO: Serial Number : <454493271161-2140437240256>, Expiration Date : <2007-02-15>"
    144543.GVC3ZA03TESTING!JSL.1796.5232.0: JOLT_CAT:1564: "INFO: Licensee : <BEA Evaluation Customer>"
    144543.GVC3ZA03TESTING!JSH.3164.4076.-2: 02-01-2007: Tuxedo Version 9.1, 32-bit
    144543.GVC3ZA03TESTING!JSH.3164.4076.-2: JOLT_CAT:1030: "INFO: Jolt Handler joining application"
    144543.GVC3ZA03TESTING!JSH.3164.4076.-2: INFO: JOLT Handler version-BEA Jolt 9.1
    144543.GVC3ZA03TESTING!JREPSVR.860.2916.0: 02-01-2007: Tuxedo Version 9.1, 32-bit
    144543.GVC3ZA03TESTING!JREPSVR.860.2916.0: LIBTUX_CAT:262: INFO: Standard main starting
    144543.GVC3ZA03TESTING!JREPSVR.860.2916.0: Current version: BEA Jolt 9.1
    144543.GVC3ZA03TESTING!JREPSVR.860.2916.0: Repository "D:\bea\tuxedo9.1\udataobj\jolt\repository\jrepository" (16 records) is writable.
    144543.GVC3ZA03TESTING!WSL.2596.4404.0: 02-01-2007: Tuxedo Version 9.1, 32-bit
    144543.GVC3ZA03TESTING!WSL.2596.4404.0: LIBTUX_CAT:262: INFO: Standard main starting
    144543.GVC3ZA03TESTING!WSH.3508.5136.0: 02-01-2007: Tuxedo Version 9.1, 32-bit
    144543.GVC3ZA03TESTING!WSH.3508.5136.0: WSNAT_CAT:1030: INFO: Work Station Handler joining application
    144543.GVC3ZA03TESTING!WSH.4288.5676.0: 02-01-2007: Tuxedo Version 9.1, 32-bit
    144543.GVC3ZA03TESTING!WSH.4288.5676.0: WSNAT_CAT:1030: INFO: Work Station Handler joining application
    144548.GVC3ZA03TESTING!JSH.3164.4076.-2: JOLT_CAT:1043: "ERROR: tpacall() call failed, tperrno = 6"
    144634.GVC3ZA03TESTING!JSH.3164.4076.-2: JOLT_CAT:1198: "WARN: Forced shutdown of client; user name ''; client name 'myapp'"
    144734.GVC3ZA03TESTING!JSH.3164.4076.-2: JOLT_CAT:1043: "ERROR: tpacall() call failed, tperrno = 6"

    Hi Ajay,
    Please see my response to your other post.
    Regards,
    Todd Little
    BEA Tuxedo Chief Architect

  • Bea.jolt.ServiceException: Invalid Session

    Good day to all!
    I know that this is common problem, but if you kindly point me in the right direction, that would be more appreciated. I am currently running PT8.50 HRMS 9.1 DMO on Windows 7. The PIA is giving this error:
    CHECK APPSERVER LOGS. THE SITE BOOTED WITH INTERNAL DEFAULT SETTINGS, BECAUSE OF: bea.jolt.ServiceException: Invalid Session
    When logging in, I get that the app server is down. I am in familiar with why I see app server is down. I also believe that I understand why I am getting the above error. During installation, I put my own password for PTWEBSERVER as oppose to the default. I thought I updated the password with the default, but doesn't seem to work.
    I also understand to check the appserver logs, but I am not familiar where it is located, so if 'I could get the location of these logs, I will post the log and that would confirm if it is a password issue, or not.
    And if I need to uninstall and reinstall PIA, please tell me what I should do there. Thank you and Be Blessed

    Thank you for that helpful tip. I misunderstood Bob's post then. I though the updating was only if the acct was locked (which it wasn't because I checked). In any rate, I did rerun the script and the script was successful. Just to be sure, I logged into datamover via bootstrap mode and just typed in exactly the command that was given. I didn't miss anything I am assuming correct?
    I am still getting the same error message, even after updating the password. Here is the log, maybe this will help. Be Blessed
    ####<Nov 17, 2010 12:55:52 PM CST> <Notice> <Server> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020152368> <BEA-002613> <Channel "DefaultSecure[7]" is now listening on 0:0:0:0:0:0:0:1:443 for protocols iiops, t3s, ldaps, https.>
    ####<Nov 17, 2010 12:55:52 PM CST> <Notice> <Server> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020152368> <BEA-002613> <Channel "Default[4]" is now listening on fe80:0:0:0:0:100:7f:fffe:80 for protocols iiop, t3, ldap, snmp, http.>
    ####<Nov 17, 2010 12:55:52 PM CST> <Notice> <Server> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020152368> <BEA-002613> <Channel "Default[7]" is now listening on 0:0:0:0:0:0:0:1:80 for protocols iiop, t3, ldap, snmp, http.>
    ####<Nov 17, 2010 12:55:52 PM CST> <Notice> <Server> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020152368> <BEA-002613> <Channel "Default[3]" is now listening on fe80:0:0:0:1975:e9d2:ad58:81a3:80 for protocols iiop, t3, ldap, snmp, http.>
    ####<Nov 17, 2010 12:55:52 PM CST> <Notice> <Server> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020152368> <BEA-002613> <Channel "DefaultSecure" is now listening on 10.10.10.10:443 for protocols iiops, t3s, ldaps, https.>
    ####<Nov 17, 2010 12:55:52 PM CST> <Notice> <Server> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020152368> <BEA-002613> <Channel "DefaultSecure[5]" is now listening on fe80:0:0:0:741d:f596:ab4:94cd:443 for protocols iiops, t3s, ldaps, https.>
    ####<Nov 17, 2010 12:55:52 PM CST> <Notice> <Server> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020152368> <BEA-002613> <Channel "Default[5]" is now listening on fe80:0:0:0:741d:f596:ab4:94cd:80 for protocols iiop, t3, ldap, snmp, http.>
    ####<Nov 17, 2010 12:55:52 PM CST> <Notice> <Server> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020152368> <BEA-002613> <Channel "Default[2]" is now listening on fe80:0:0:0:818a:caaf:319d:8d73:80 for protocols iiop, t3, ldap, snmp, http.>
    ####<Nov 17, 2010 12:55:52 PM CST> <Notice> <WebLogicServer> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020152368> <BEA-000329> <Started WebLogic Admin Server "PIA" for domain "INNOVATI" running in Production Mode>
    ####<Nov 17, 2010 12:55:52 PM CST> <Warning> <Server> <Kelvin> <PIA> <DynamicSSLListenThread[DefaultSecure]> <<WLS Kernel>> <> <> <1290020152368> <BEA-002611> <Hostname "Kelvin", maps to multiple IP addresses: 10.10.10.10, fe80:0:0:0:ad0e:4847:e1ac:9d13%23>
    ####<Nov 17, 2010 12:55:52 PM CST> <Info> <EJB> <Kelvin> <PIA> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020152977> <BEA-010008> <EJB Deploying file: mejb.jar>
    ####<Nov 17, 2010 12:55:55 PM CST> <Notice> <WebLogicServer> <Kelvin> <PIA> <Main Thread> <<WLS Kernel>> <> <> <1290020155629> <BEA-000365> <Server state changed to RUNNING>
    ####<Nov 17, 2010 12:55:57 PM CST> <Notice> <WebLogicServer> <Kelvin> <PIA> <Main Thread> <<WLS Kernel>> <> <> <1290020157204> <BEA-000360> <Server started in RUNNING mode>
    ####<Nov 17, 2010 12:56:06 PM CST> <Info> <EJB> <Kelvin> <PIA> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1290020166611> <BEA-010009> <EJB Deployed EJB with JNDI name ejb.mgmt.MEJB.>
    ####<Nov 17, 2010 1:35:20 PM CST> <Info> <ServletContext-> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1290022520267> <BEA-000000> <ERROR: WebProfile loading internal default settings because of an Exception while communicating with "kelvin:9000">
    ####<Nov 17, 2010 1:35:33 PM CST> <Info> <ServletContext-> <Kelvin> <PIA> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1290022533121> <BEA-000000> <ERROR: WebProfile loading internal default settings because of an Exception while communicating with "kelvin:9000">
    Edited by: 792295 on Nov 17, 2010 11:41 AM

  • Bea.jolt.ServiceException:- TPETRAN - error starting transaction

    I configured the simpapp application (I have pasted the ubb config below)
    And i got the following error at the jolt client end:
    bea.jolt.ServiceException:- TPETRAN - error starting transaction
    At tuxedo end, i'm getting this in the log
    160304.blrgislin42!JSH.24963.2696928160.-2: gtrid x0 x499be280 x1: JOLT_CAT:1043: "ERROR: tpacall() call failed, tperrno = 14"
    How can I resolve this issue?
    here is the ubbsimple file::
    RESOURCES+
    IPCKEY 123456*
    DOMAINID simpapp*
    MASTER simple*
    MAXACCESSERS 10*
    MAXSERVERS 10*
    MAXSERVICES 15*
    MODEL SHM*
    LDBAL N*
    MACHINES+
    DEFAULT:*
    TUXDIR="/ais_local/share/ankumar/BEA/tuxedo8.1/"*
    APPDIR="/ais_local/share/ankumar/BEA/tuxedo8.1/apps/simpapp"*
    TUXCONFIG="/ais_local/share/ankumar/BEA/tuxedo8.1/apps/simpapp/tuxconfig"*
    MAXWSCLIENTS=5*
    +"XXXXXXX" LMID=simple+
    GROUPS+
    GROUP1*
    LMID=simple GRPNO=1 OPENINFO=NONE*
    JSLGRP*
    LMID=simple GRPNO=2 OPENINFO=NONE*
    SERVERS+
    DEFAULT:*
    CLOPT="-A"*
    simpserv SRVGRP=GROUP1 SRVID=1*
    JSL SRVGRP=JSLGRP SRVID=2 RESTART=Y MAXGEN=2 CLOPT="-A -- -n//xx.xx.xx.xx:3051"*
    JREPSVR SRVGRP=JSLGRP SRVID=3 RESTART=Y MAXGEN=2 GRACE=0 CLOPT="-A -- -W -P /ais_local/share/ankumar/BEA/tuxedo8.1/udataobj/jolt/repository/jrepository"*
    SERVICES+
    DEFAULT: AUTOTRAN=Y TRANTIME=30*
    TOUPPER*

    Hi,
    Thank you Malcolm and Todd for your replies.
    Please help me resolve the issue.
    I removed the AUTOTRAN option and I still get the error
    bea.jolt.ServiceException: TPETRAN - error starting transaction
    at bea.jolt.JoltRemoteService.decodeCALL(JoltRemoteService.java:460)
    at bea.jolt.JoltRemoteService.call(JoltRemoteService.java:345)
    at bea.jolt.JoltRemoteService.call(JoltRemoteService.java:267)
    @ tuxedo end, i get this error msg
    !JSH.24293.2696928160.-2: gtrid x0 x499d214d x1: JOLT_CAT:1043: "ERROR: tpacall() call failed, tperrno = 14"
    Java client code:
    JoltTransaction trans = null;
    try {
    trans = new JoltTransaction(0, jSessSync);
    jServ.call(trans);
    trans.commit();
    catch(Exception e) {
    trans.rollback();
    log.logException("Caught exception in executeService(): ", e);
    return(e.toString());
    I also tried AUTOTRAn=Y option after configuring TLOG, but i still get the same error
    TLOG
    $ ./crtlog.sh -m
    tmadmin - Copyright (c) 1996-1999 BEA Systems, Inc.
    Portions * Copyright 1986-1997 RSA Data Security, Inc.
    All Rights Reserved.
    Distributed under license by BEA Systems, Inc.
    Tuxedo is a registered trademark.
    Echo now on.
    crdl -b 500 -z /ais_local/share/ankumar/BEA/tuxedo8.1/apps/simpapp/TLOG
    Device created: /ais_local/share/ankumar/BEA/tuxedo8.1/apps/simpapp/TLOG
    crlog -m simple
    crlog successfully completed.
    q
    crtlog.sh successful.
    This is my current ubbsimple file::::::::::::::::::::::::
    *RESOURCES
    IPCKEY 123456
    #Example:
    #IPCKEY 123456
    DOMAINID simpapp
    MASTER simple
    MAXACCESSERS 10
    MAXSERVERS 10
    MAXSERVICES 15
    MODEL SHM
    LDBAL N
    *MACHINES
    DEFAULT:
    TUXDIR="/ais_local/share/ankumar/BEA/tuxedo8.1/"
    APPDIR="/ais_local/share/ankumar/BEA/tuxedo8.1/apps/simpapp"
    TUXCONFIG="/ais_local/share/ankumar/BEA/tuxedo8.1/apps/simpapp/tuxconfig"
    TLOGDEVICE="/ais_local/share/ankumar/BEA/tuxedo8.1/apps/simpapp/TLOG"
    TLOGNAME="TLOG"
    MAXWSCLIENTS=5
    #Example:
    # APPDIR="/home/me/simpapp"
    # TUXCONFIG="/home/me/simpapp/tuxconfig"
    # TUXDIR="/usr/tuxedo"
    "blrgislin42" LMID=simple
    #Example:
    #beatux LMID=simple
    *GROUPS
    GROUP1
    LMID=simple GRPNO=1 OPENINFO=NONE
    JSLGRP
    LMID=simple GRPNO=2 OPENINFO=NONE
    *SERVERS
    DEFAULT:
    CLOPT="-A"
    simpserv SRVGRP=GROUP1 SRVID=1
    JSL SRVGRP=JSLGRP SRVID=2 RESTART=Y MAXGEN=2 CLOPT="-A -- -n//10.11.23.66:3051"
    JREPSVR SRVGRP=JSLGRP SRVID=3 RESTART=Y MAXGEN=2 GRACE=0 CLOPT="-A -- -W -P /ais_local/share/ankumar/BEA/tuxedo8.1/udataobj/jolt/repository/jrepository"
    *SERVICES
    TOUPPER
    Am I missing anything? am i missing any parameter for JSL server?
    I have another Tuxedo9.1 in which the bankapp was configured (by somebody years back) and i was able to run the withdrawal, inquiry services with the same client. not sure why its not working with TOUPPER service.
    The simple C client (simpcl) works fine.
    Please Advise.
    I have whole lot of other doubts with subscribing to events. Will open a new thread for that.
    Thanks,
    Anish Kumar
    Edited by: Bangalore_anish on Feb 19, 2009 2:23 AM
    Edited by: Bangalore_anish on Feb 19, 2009 2:29 AM

  • Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/diagnostics/instrumentation/JoinPoint

    Hi,
    I have an application jar file which is run from a .sh file.
    The application uses ridc api to checkin a document on UCM.
    I have placed jars for supporting the application on the folder where we have kept the application jar
    also we have mentioned the supporting jar file names in the Manifest.mf file of the application jar.
    The necessary jar files which we have placed are:
    com.lnt.ucm.integrationutility.ucm.Client
    log4j-1.2.16.jar
    oracle.ucm.ridc-11.1.1.jar
    poi-2.5.1.jar
    commons-codec-1.2.jar
    commons-httpclient-3.1.jar
    commons-logging-1.0.4.jar
    mail.jar
    jxl-2.6.10.jar
    com.bea.core.antlr.runtime_2.7.7.jar
    com.oracle.toplink_1.0.0.0_11-1-1-5-0.jar
    jrf.jar
    org.eclipse.persistence_1.1.0.0_2-1.jar
    weblogic.jar
    wlfullclient.jar
    wseeclient.jar
    jaxws-rt-2.1.4.jar
    we are getting below exception when we run the jar from the .sh file.
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/diagnostics/instrumentation/JoinPoint
    at weblogic.wsee.jaxws.spi.WLSProvider.<clinit>(WLSProvider.java:90)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:31)
    at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:90)
    at javax.xml.ws.spi.Provider.provider(Provider.java:83)
    at javax.xml.ws.Service.<init>(Service.java:56)
    at com.abc.ucm.proxy.JDEUCMManagerService.<init>(JDEUCMManagerService.java:66)
    at com.abc.ucm.integrationutility.ucm.Client.executeUtilty(Client.java:50)
    at com.abc.ucm.integrationutility.ucm.Client.main(Client.java:540)
    I'm not able to find any jar for weblogic/diagnostics/instrumentation/JoinPoint can you please tell me which jar needs to be added.
    Regards,
    Tejaswini L

    914897 wrote:
    I encounter the similar error. Anyone knows how to fix it?By providing a configuration file which validates with the corresponding XSDs found in coherence.jar. Sorry, but can't point you to the specific issue without seeing the erroneous configuration file.
    Best regards,
    Robert

  • Exception in thread "Main Thread" java.lang.NoClassDefFoundError: start

    Hi
    I am Migrating my app from weblogic 8.1 to 10.3 . I am trying to run the startWeblogic.sh file its failing with below error .Please suggest me am unable to resolve
    CLASSPATH=:/opt/bea/patch_wlw1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/bea/jrockit_160_14/lib/tools.jar:/opt/bea/wlserver_10.3/server/lib/weblogic_sp.jar:/opt/bea/wlserver_10.3/server/lib/weblogic.jar:/opt/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/opt/bea/wlserver_10.3/server/lib/webservices.jar:/opt/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/opt/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar::/opt/bea/wlserver_10.3/common/eval/pointbase/lib/pbclient57.jar:/opt/bea/wlserver_10.3/server/lib/xqrl.jar::
    PATH=/opt/bea/wlserver_10.3/server/bin:/opt/bea/modules/org.apache.ant_1.6.5/bin:/opt/bea/jrockit_160_14/jre/bin:/opt/bea/jrockit_160_14/bin:/usr/local/bin:/bin:/usr/bin:/home/quoteapp/bin:/prod/qcquoting/bin:/home/quoteapp/bin/apache-ant-1.6.5/bin:/opt/bea/jrockit_160_14/bin
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http://hostname:port/console *
    starting weblogic with Java version:
    java version "1.6.0_14"
    Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
    BEA JRockit(R) (build R27.6.5-32_o-121899-1.6.0_14-20091001-2113-linux-x86_64, compiled mode)
    Starting WLS with line:
    /opt/bea/jrockit_160_14/bin/java -jrockit -Xms256m -Xmx512m -Xverify:none -da -Dplatform.home=/opt/bea/wlserver_10.3 -Dwls.home=/opt/bea/wlserver_10.3/server -Dweblogic.home=/opt/bea/wlserver_10.3/server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/opt/bea/patch_wlw1030/profiles/default/sysext_manifest_classpath:/opt/bea/patch_wls1030/profiles/default/sysext_manifest_classpath:/opt/bea/patch_cie660/profiles/default/sysext_manifest_classpath -Dweblogic.Name=quoting -Djava.security.policy=/opt/bea/wlserver_10.3/server/lib/weblogic.policy start weblogic.Server
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: start
    Could not find the main class: start. Program will exit.
    am attaching my sh file aslo below
    !/bin/sh
    # WARNING: This file is created by the Configuration Wizard.
    # Any changes to this script may be lost when adding extensions to this configuration.
    # --- Start Functions ---
    stopAll()
         # We separate the stop commands into a function so we are able to use the trap command in Unix (calling a function) to stop these services
         if [ "X${ALREADY_STOPPED}" != "X" ] ; then
              exit
         fi
         # STOP POINTBASE (only if we started it)
         if [ "${POINTBASE_FLAG}" = "true" ] ; then
              echo "Stopping PointBase server..."
              ${WL_HOME}/common/bin/stopPointBase.sh -port=${POINTBASE_PORT} -name=${POINTBASE_DBNAME} >"${DOMAIN_HOME}/pointbaseShutdown.log" 2>&1
              echo "PointBase server stopped."
         fi
         ALREADY_STOPPED="true"
         # Restore IP configuration the node manager starts IP Migration
         if [ "${SERVER_IP}" != "" ] ; then
              ${WL_HOME}/common/bin/wlsifconfig.sh -removeif "${IFNAME}" "${SERVER_IP}"
         fi
    # --- End Functions ---
    # This script is used to start WebLogic Server for this domain.
    # To create your own start script for your domain, you can initialize the
    # environment by calling @USERDOMAINHOME/setDomainEnv.
    # setDomainEnv initializes or calls commEnv to initialize the following variables:
    # BEA_HOME - The BEA home directory of your WebLogic installation.
    # JAVA_HOME - Location of the version of Java used to start WebLogic
    # Server.
    # JAVA_VENDOR - Vendor of the JVM (i.e. BEA, HP, IBM, Sun, etc.)
    # PATH - JDK and WebLogic directories are added to system path.
    # WEBLOGIC_CLASSPATH
    # - Classpath needed to start WebLogic Server.
    # PATCH_CLASSPATH - Classpath used for patches
    # PATCH_LIBPATH - Library path used for patches
    # PATCH_PATH - Path used for patches
    # WEBLOGIC_EXTENSION_DIRS - Extension dirs for WebLogic classpath patch
    # JAVA_VM - The java arg specifying the VM to run. (i.e.
    # - server, -hotspot, etc.)
    # USER_MEM_ARGS - The variable to override the standard memory arguments
    # passed to java.
    # PRODUCTION_MODE - The variable that determines whether Weblogic Server is started in production mode.
    # POINTBASE_HOME - Point Base home directory.
    # POINTBASE_CLASSPATH
    # - Classpath needed to start PointBase.
    # Other variables used in this script include:
    # SERVER_NAME - Name of the weblogic server.
    # JAVA_OPTIONS - Java command-line options for running the server. (These
    # will be tagged on to the end of the JAVA_VM and
    # MEM_ARGS)
    # For additional information, refer to the WebLogic Server Administration
    # Console Online Help(http://e-docs.bea.com/wls/docs103/ConsoleHelp/startstop.html).
    # Call setDomainEnv here.
    DOMAIN_HOME=/prod/qcquoting/int/builds/qoaquoting
    . ${DOMAIN_HOME}/bin/setDomainEnv.sh $*
    SAVE_JAVA_OPTIONS="${JAVA_OPTIONS}"
    SAVE_CLASSPATH="${CLASSPATH}"
    # Start PointBase
    PB_DEBUG_LEVEL="0"
    if [ "${POINTBASE_FLAG}" = "true" ] ; then
         ${WL_HOME}/common/bin/startPointBase.sh -port=${POINTBASE_PORT} -debug=${PB_DEBUG_LEVEL} -console=false -background=true -ini=${DOMAIN_HOME}/pointbase.ini >"${DOMAIN_HOME}/pointbase.log" 2>&1
    fi
    JAVA_OPTIONS="${SAVE_JAVA_OPTIONS}"
    SAVE_JAVA_OPTIONS=""
    CLASSPATH="${SAVE_CLASSPATH}"
    SAVE_CLASSPATH=""
    trap 'stopAll' 1 2 3 15
    if [ "${PRODUCTION_MODE}" = "true" ] ; then
         WLS_DISPLAY_MODE="Production"
    else
         WLS_DISPLAY_MODE="Development"
    fi
    if [ "${WLS_USER}" != "" ] ; then
         JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.management.username=${WLS_USER}"
    fi
    if [ "${WLS_PW}" != "" ] ; then
         JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.management.password=${WLS_PW}"
    fi
    CLASSPATH="${CLASSPATH}${CLASSPATHSEP}${MEDREC_WEBLOGIC_CLASSPATH}"
    CLASSPATH="${CLASSPATH}${CLASSPATHSEP}./config/order_properties/"
    echo "."
    echo "."
    echo "JAVA Memory arguments: ${MEM_ARGS}"
    echo "."
    echo "WLS Start Mode=${WLS_DISPLAY_MODE}"
    echo "."
    echo "CLASSPATH=${CLASSPATH}"
    echo "."
    echo "PATH=${PATH}"
    echo "."
    echo "***************************************************"
    echo "* To start WebLogic Server, use a username and *"
    echo "* password assigned to an admin-level user. For *"
    echo "* server administration, use the WebLogic Server *"
    echo "* console at http://hostname:port/console *"
    echo "***************************************************"
    # Set up IP Migration related variables.
    # Set interface name.
    if [ "${Interface}" != "" ] ; then
         IFNAME="${Interface}"
    else
         IFNAME=""
    fi
    # Set IP Mask.
    if [ "${NetMask}" != "" ] ; then
         IPMASK="${NetMask}"
    else
         IPMASK=""
    fi
    # Perform IP Migration if SERVER_IP is set by node manager.
    if [ "${SERVER_IP}" != "" ] ; then
         ${WL_HOME}/common/bin/wlsifconfig.sh -addif "${IFNAME}" "${SERVER_IP}" "${IPMASK}"
    fi
    # START WEBLOGIC
    echo "starting weblogic with Java version:"
    ${JAVA_HOME}/bin/java ${JAVA_VM} -version
    if [ "${WLS_REDIRECT_LOG}" = "" ] ; then
         echo "Starting WLS with line:"
         echo "${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${PROXY_SETTINGS} ${SERVER_CLASS}"
         ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${PROXY_SETTINGS} ${SERVER_CLASS}
    else
         echo "Redirecting output from WLS window to ${WLS_REDIRECT_LOG}"
         ${JAVA_HOME}/bin/java ${JAVA_VM} ${MEM_ARGS} ${JAVA_OPTIONS} -Dweblogic.Name=${SERVER_NAME} -Djava.security.policy=${WL_HOME}/server/lib/weblogic.policy ${PROXY_SETTINGS} ${SERVER_CLASS} >"${WLS_REDIRECT_LOG}" 2>&1
    fi
    stopAll
    popd
    # Exit this script only if we have been told to exit.
    if [ "${doExitFlag}" = "true" ] ; then
         exit
    fi

    I can not see main class weblogic.jar file in your class path.
    Under MW_HOME there is a file by name configure.cmd/sh, run it to set acl and class path. Then try to start weblogic server. U can edit the startWeblogic.sh/cmd so that every time it will execute after calling configure.sh/cmd file.

  • Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server

    Dear Sir/Madam
    I downloaded the Weblogic610 server five times, and when I install it on my Linux
    box (RedHat 7.1), I always met the exception like:
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server
    When I check with lib directory, there is weblogic.jar here, but the file looks
    was damaged, the file size is ok, but I can't open it by use jar tool or other
    tools.
    Some packeage is very strange, after my downloaded, and install, there are only
    a few files in lib directory and some subdirectory and weblogic.jar is missing,
    but the download is normal.
    So, I hope who guy have similar experience, please let me know.
    Thank you
    Cidy

    Hi Raj,
    Could you provide more information from the log; is there a full
    traceback. A first step may be to use the latest service pack [1].
    Also you might try your question in the management newsgroup [2] or
    contact our outsanding support group [3].
    Hope this is of some value,
    Bruce
    [1]
    http://commerce.bea.com/showproduct.jsp?family=WLS&major=8.1&minor=2
    [2]
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.management
    [3]
    http://[email protected]
    Raj wrote:
    >
    Hello All,
    I have installed wls 8.1 and created domain. I have manged server running at other location.I am getting the following Log,When i tried to start managed server from admin server
    java.lang.NoClassDefFoundError: weblogic/Server Exception in thread "main"
    and on admin side
    The request to start the server ecgNode01 of domain CQ6UIDomain failed because the node manager did not hear from the managed server in the configured timeout period. Despite this, if the managed server has not failed, it will come up and the node manager will start monitoring it. To adjust this timeout so that the task does not fail prematurely, please refer to the node manager property ScavangerDelaySeconds (Default value : 180 seconds. Current value : 180 seconds
    can anyone tell me where i went wrong

  • Exception in thread "main" javax.mail.NoSuchProviderException: invalid prov

    HI,
    I am trying to read mails from my inbox i amgetting the ErrorC:\javamail>java
    Readmail
    Exception in thread "main" javax.mail.NoSuchProviderException: No provider for IMAP
            at javax.mail.Session.getProvider(Session.java:455)
            at javax.mail.Session.getStore(Session.java:530)
            at javax.mail.Session.getStore(Session.java:510)
            at Readmail.main(Readmail.java:24)My Code is    {
    String host = "hostname";
    String username = "user";
    String password = "password";
    // Create empty properties
    Properties props = new Properties();
    // Get session
    Session session = Session.getDefaultInstance(props,null);
    // Get the store
    Store store = session.getStore("IMAP");
    store.connect(host, username, password);
    // Get folder
    Folder folder = store.getFolder("Inbox");
    folder.open(Folder.READ_ONLY);
    // Get directory
    Message message[] = folder.getMessages();
    for (int i=0, n=message.length; i<n; i++)
       System.out.println(i + ": " + message.getFrom()[0]
    + "\t" + message[i].getSubject());
    // Close connection
    folder.close(false);
    store.close();
    I have also tried POP3 and MIME and SMTP
    Can anyone help me Thanks

    hi bshannon,
    I am getting the same error for others but for pop3 the error is as below
    Exception in thread "main" javax.mail.MessagingException: Connect failed;
      nested exception is:
            java.net.ConnectException: Connection refused: connect
            at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:148)
            at javax.mail.Service.connect(Service.java:275)
            at javax.mail.Service.connect(Service.java:156)
            at Readmail.main(Readmail.java:25)
    Caused by: java.net.ConnectException: Connection refused: connect
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
            at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
            at java.net.Socket.connect(Socket.java:452)
            at java.net.Socket.connect(Socket.java:402)
            at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
            at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
            at com.sun.mail.pop3.Protocol.<init>(Protocol.java:81)
            at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:201)
            at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:144)
            ... 3 more

  • J2ee server Exception in thread Main java.lang.OutOfMemoryError

    hallo
    i need your help
    first my java j2ee and jdk
    j2ee j2sdkee1.3.1
    jdk j2sdk 1.4
    i nedd the server for jms.
    when i started the server with j2ee -verbose
    i get the error message:
    Starting web service at port: 8000
    Exception in thread "Main" java.lang.OutOfMemoryError
    what can i do to get out off this error message and starting the server normal. please help me to solve the problem!!!
    i read in this forum about -Xms und Xmx but this Commands don't go on my system.
    thx for help!!!

    Hi Warren,
    Still I am not clear with your question. But generally this out of memoryspace error can be rectified by changing the properties which comes in the menubar of your command prompt. Then increasing the virtual memory over there. I hope this will help you.
    Thanks
    Bakrudeen
    Technical Support Engineer
    Sun MicroSystems Inc, India

  • Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/stream

    I am trying to develop a web service client for amazon webservice.but i am getting this error while running the app. Can anyone please help me. I have installed the JWSDP and but could not understand why i have to locate all the jar files in the classpath?Please help.
    ===== error=========================================
    C:\abr\classes>java -classpath c:\abr\test.jar;C:\abr\jaxrpc-api.jar;C:\abr\jaxrpc-impl.jar;C:\abr\jaxrpc-spi.jar;c:\abr\classes\amazon.jar;C:\abr\mail.jar;C:\a
    br\saaj-api.jar;C:\abr\activation.jar;c:\abr\FastInfoset.jar;%classpath% Client
    [b]Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/stream/XMLS
    treamWriter
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at com.sun.xml.rpc.client.StreamingSender._writeRequest(StreamingSender.
    java:672)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:87)
    at amazon.AmazonSearchPort_Stub.authorSearchRequest(AmazonSearchPort_Stu
    b.java:988)
    at Client.main(Client.java:21)

    I'm assuming you're using JWSDP 1.6 as I see Fastinfoset.jar in your list. You are missing some jar files in your classpath there. The best way to know what you need is to look at the release notes for JWSDP 1.6. Since you're building a web serivce start with the table in there and lookup JAX-RPC. It'll show you what jar files are needed and what other libraries are needed. Now depending on what you're doing you don't really need all those.
    For sure you're missing jsr173_api.jar which is where I believe that class you need is located. This is in the JWSDP_1_6\sjsxp\lib directory. You will probably need the other jar thats in there too. Best bet is to follow the dependancy chart in the release notes.
    This should get you going.
    Ryan

  • Exception in thread main java.lang.NoClassDefFoundError: com/object/msg/Sms

    Exception in thread main java.lang.NoClassDefFoundError: com/object/msg/SmsService
    caused by: java.lang.NotFoundException: com.object.msg.SmsService
    at java.net........................
    at java.security.......
    I'm trying to send SMS using this code and it gives above Exception during Runtime.
    import java.io.File;
    import com.objectxp.msg.*;
    public class SendSMS
    public static void main(String[] args)
    SmsService service = null;
    try {
    // Configuration
    File config = new File("jsms.conf");
    // create service object.
    service = new GsmSmsService();
    service.init(config);
    // create a new Message.
    Message msg = new Message();
    msg.setRecipient("7894561");
    msg.setMessage("jSMS is cool!");
    // Connect to the device
    service.connect();
    // send the Message
    service.sendMessage(msg);
    System.out.println("Message sent successfully, ID is ");
    } catch (Exception ex) {
    System.err.println("Message could not be sent: "+ex.getMessage());
    ex.printStackTrace();
    } finally {
    if (service != null) {
    try {
    service.disconnect();
    } catch( Exception unknown ) {}
    service.destroy();
    }

    run this one in command prompt and then convert the applet using converter tool
    JC_HOME = C:\java_card_kit-2_2_2\bin\
    set CLASSES=%JCHOME%\lib\apduio.jar;%JC_HOME%\lib\apdutool.jar;%JC_HOME%\lib\jcwde.jar;%JC_HOME%\lib\converter.jar;%JC_HOME%\lib\scriptgen.jar;%JC_HOME%\lib\offcardverifier.jar;%JC_HOME%\lib\api.jar;%JC_HOME%\lib\installer.jar;%JC_HOME%\lib\capdump.jar;
    D:\NareshPalle\jcardRE\Smart\src>java -classpath %_CLASSES% com.sun.javacard.con
    verter.Converter -out EXP JCA CAP -exportpath .\exp -applet 0x0a:0x00:0x00:0x00:0x0e:0x01:0x02:
    0x03:0x04:0x05:0x06 PackageName appletName 0x01:0x02:0x03:0x04:0x05:0x0
    6:0x07:0x08 1.0
    or
    go to following directory and run the converter tool in command prompt
    step 1: cd C:\java_card_kit-2_2_2\bin\
    then run this command under the above directory
    step 2:converter -classdir E:\Pathof Your applet class file -out EXP JCA CAP -exportpath E:\path of exp files folder -applet AID PackageName AppletName PackAID major.minor no
    For more doubts mail me....
    *[removed by moderator]*
    Thanks and Regards
    NareshPalle
    Edited by: EJP on 31/03/2012 20:09: removed your email address. Unless you like spam and unless you think these forums are provided for your personal benefit only, posting an email address here serves no useful purpose whatsoever.

  • Exception in thread "main" java.lang.NoSuchMethodError: com.sun.xml.wss.con

    Hi everyone,
    Just now i tried to run the 'simple' example in an JAXRPC Security part in the JWSDP 1.4 tutorial but got the following error:
    run-sample:
    [echo] Running the simple.TestClient program....
    [java] Service URL=http://localhost:8080/securesimple/Ping
    [java] Exception in thread "main" java.lang.NoSuchMethodError: com.sun.xml.wss.configuration.SecurityConfigurationXmlReader.readJAXRPCSecurityConfigurationString(Ljava/lang/String;Z)Lcom/sun/xml/wss/configuration/JAXRPCSecurityConfiguration;
    [java]      at com.sun.xml.rpc.security.SecurityPluginUtil.<init>(SecurityPluginUtil.java:128)
    [java]      at simple.PingPort_Ping_Stub.<clinit>(PingPort_Ping_Stub.java:40)
    [java]      at simple.PingService_Impl.getPing(PingService_Impl.java:68)
    [java]      at simple.TestClient.main(TestClient.java:27)
    Can anybody give me a clue?

    Vishal, thanks a lot for your reply. I used the App Server 2004Q4 beta and got the problem. When I switch to version 8.0.0_01 the things work well.
    But now I'm trying to understand this example and creating my own simple web app using encryption feature. From the files in the example dicrectory I can figure out the security applied at client by examining client stub files generated by the wscompile in the asant gen-client task. But I wonder when security is added to the server side. Is it when we use wsdeploy with the model part specifiedin jaxrpc-ri.xml? What is the procedure to apply the security to the web service?
    The last thing I want to ask is whether the deploytool bundled inside App Server can do the same things as ant task (eg. wsdeploy with some arguments).

  • JMS error- Exception in thread "Main Thread" java.lang.NoClassDefFoundError

    Hi guys,
    I am new to JMS programming and i'm have the following error...I have set up a simple weblogic server on my local machine and i am trying to send a message to a queue i've created on a JMS server. I am trying to manually run an example provided by BEA WebLogic... the code follows.
    //package examples.jms.queue;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.util.Hashtable;
    import javax.jms.*;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    /** This example shows how to establish a connection
    * and send messages to the JMS queue. The classes in this
    * package operate on the same JMS queue. Run the classes together to
    * witness messages being sent and received, and to browse the queue
    * for messages. The class is used to send messages to the queue.
    * @author Copyright (c) 1999-2006 by BEA Systems, Inc. All Rights Reserved.
    public class QueueSend
      // Defines the JNDI context factory.
      public final static String JNDI_FACTORY="weblogic.jndi.WLInitialContextFactory";
      // Defines the JMS context factory.
      public final static String JMS_FACTORY="weblogic.examples.jms.QueueConnectionFactory";
      // Defines the queue.
      public final static String QUEUE="weblogic.examples.jms.exampleQueue";
      private QueueConnectionFactory qconFactory;
      private QueueConnection qcon;
      private QueueSession qsession;
      private QueueSender qsender;
      private Queue queue;
      private TextMessage msg;
       * Creates all the necessary objects for sending
       * messages to a JMS queue.
       * @param ctx JNDI initial context
       * @param queueName name of queue
       * @exception NamingException if operation cannot be performed
       * @exception JMSException if JMS fails to initialize due to internal error
      public void init(Context ctx, String queueName)
        throws NamingException, JMSException
        qconFactory = (QueueConnectionFactory) ctx.lookup(JMS_FACTORY);
        qcon = qconFactory.createQueueConnection();
        qsession = qcon.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
        queue = (Queue) ctx.lookup(queueName);
        qsender = qsession.createSender(queue);
        msg = qsession.createTextMessage();
        qcon.start();
       * Sends a message to a JMS queue.
       * @param message  message to be sent
       * @exception JMSException if JMS fails to send message due to internal error
      public void send(String message) throws JMSException {
        msg.setText(message);
        qsender.send(msg);
       * Closes JMS objects.
       * @exception JMSException if JMS fails to close objects due to internal error
      public void close() throws JMSException {
        qsender.close();
        qsession.close();
        qcon.close();
    /** main() method.
      * @param args WebLogic Server URL
      * @exception Exception if operation fails
      public static void main(String[] args) throws Exception {
        if (args.length != 1) {
          System.out.println("Usage: java examples.jms.queue.QueueSend WebLogicURL");
          return;
        System.out.println(args[0]);
        InitialContext ic = getInitialContext(args[0]);
        QueueSend qs = new QueueSend();
        qs.init(ic, QUEUE);
        readAndSend(qs);
        qs.close();
      private static void readAndSend(QueueSend qs)
        throws IOException, JMSException
        BufferedReader msgStream = new BufferedReader(new InputStreamReader(System.in));
        String line=null;
        boolean quitNow = false;
        do {
          System.out.print("Enter message (\"quit\" to quit): \n");
          line = msgStream.readLine();
          if (line != null && line.trim().length() != 0) {
            qs.send(line);
            System.out.println("JMS Message Sent: "+line+"\n");
            quitNow = line.equalsIgnoreCase("quit");
        } while (! quitNow);
      private static InitialContext getInitialContext(String url)
        throws NamingException
        Hashtable<String,String> env = new Hashtable<String,String>();
        env.put(Context.INITIAL_CONTEXT_FACTORY, JNDI_FACTORY);
        env.put(Context.PROVIDER_URL, url);
        return new InitialContext(env);
    }when i run the main method with args[0] = "t3://localhost:7001", i get the following errors:
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/security/subject/AbstractSubject
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)
    at QueueSend.getInitialContext(QueueSend.java:122)
    at QueueSend.main(QueueSend.java:91)
    Could someone please help. thanks.

    when i run the main method with args[0] = "t3://localhost:7001", i get the following errors:
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/security/subject/AbstractSubject
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)
    at QueueSend.getInitialContext(QueueSend.java:122)
    at QueueSend.main(QueueSend.java:91)
    Could someone please help. thanks.This is Java 101:
    http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/rtrb_classload_viewer.html
    You've got to have the WebLogic JAR that contains the necessary .class files in your CLASSPATH when you run.
    Don't use a CLASSPATH environment variable; use the -classpath option when you run.
    %

  • Message Mapping : ( Not Activating )-Main Exception in thread "main"

    Hi all
          I have configured a message mapping , with proper occurence checked for
    both source & target MesTypes.
    But on activation it is throwing the error :
    <b>java.lang.NoClassDefFoundError: com/sun/tools/javac/Main Exception in thread "main"</b>
    Also my previous mappings are also not activating , which were running properly previously...
    i tried these option already :-
    --> i also restart the Java Stack...
    ---> Re: JAVA stack not starting
    > SAp note 928038
    still i am getting the same error..
    Regards
    Ashutosh Rawat

    Ashutosh,
    I am not sure weather it will resolve your problem but you can give a try to it.
    If you have the access for tcode "<b>SICF</b>" then
    1. Run tcode SICF, and press F8 button.
    2. default_host>sap>xi.
    3. Now check the below mentioned are activated (activated services will be in black) or not, if not then just right click and activate the service:
         i). adapter_plain
        ii). cache
       iii). cache_gui
        iv). cache_ssl
         v). docu_apperror
        vi). docu_syserror
       vii). engine
      viii). simulation
    Regards,
    Sarvesh
    Message was edited by:
            Sarvesh Singh
        <b>SFIC</b> is corrected to "<b>SICF</b>"

  • 404 error Exception in thread "main" java.rmi.RemoteException: HTTP �������� 4

    I have Install Sun Application Server PE and JWSDP,when I run asant run-sample,an error below:
    run-sample:
    [echo] Running the simple.TestClient program....
    [java] Service URL=http://localhost:8080/securesimple/Ping
    [java] 2005-11-11 1:03:11 com.sun.xml.wss.impl.filter.DumpFilter process
    [java] ����: ==== Sending Message Start ====
    [java] <?xml version="1.0" encoding="UTF-8"?>
    [java] <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="http://xmlsoap.
    org/Ping" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.
    org/2001/XMLSchema-instance">
    [java] <env:Body>
    [java] <ns0:Ping>
    [java] <ns0:ticket>SUNW</ns0:ticket>
    [java] <ns0:text>Hello !</ns0:text>
    [java] </ns0:Ping>
    [java] </env:Body>
    [java] </env:Envelope>
    [java] ==== Sending Message End ====
    [java] Exception in thread "main" java.rmi.RemoteException: HTTP �������� 4
    04: ������ - /securesimple/Ping; nested exception is:
    [java] HTTP �������� 404: ������ - /securesimple/Ping
    [java] at simple.PingPort_Ping_Stub.ping(PingPort_Ping_Stub.java:146)
    [java] at simple.TestClient.main(TestClient.java:34)
    [java] Caused by: HTTP �������� 404: ������ - /securesimple/Ping
    [java] at com.sun.xml.rpc.client.http.HttpClientTransport.checkResponse
    Code(HttpClientTransport.java:302)
    [java] at com.sun.xml.rpc.client.http.HttpClientTransport.connectForRes
    ponse(HttpClientTransport.java:252)
    [java] at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpCl
    ientTransport.java:88)
    [java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.
    java:96)
    [java] at simple.PingPort_Ping_Stub.ping(PingPort_Ping_Stub.java:130)
    [java] ... 1 more
    [java] Java Result: 1

    Hi,
    Before connecting through your main program, you have to keep ready your catching object. Mean to say first you have to run local method which will be waiting for remote method to catch.
    Regards,
    Ravi Maheshwari

Maybe you are looking for

  • Greenish Vertical Lines in Intel imac 21.5" 2008

    I have an intel Imac 21.5" 2008 that has some kind of cloudy greenish vertical lines in pairs all over the screen. Here is a photo http://imageshack.us/f/845/img0041wy.jpg/ Any ideas whats causing this? I had the same problem about a year ago and app

  • Storing Documents on SAP Content Server

    Dear Support, We are configured the ERP 2005 server to store the attachments onto the SAP Content Server. Unfortunately,the attachments are not storing on the content server . don't know where they were storing. We have configure the system using the

  • Launch button for PS CC runs 32-bit version of program, not 64-bit version

    I'm starting to get reports from people that after initially installing PS CC that the launch button created during installation launches the 32-bit version of PS CC instead of the 64-bit version.  To check which version you're running, click Help>Ab

  • Where is 224.0.0.2 coming from ?

    Hi All The following is ip packet debug output. I know 224.0.0.10, but where does 224.0.0.2 come from ? why do the len is 48 instead of 60 ? Thank you R3(config-if)# *Mar  1 00:47:46.551: IP: s=3.1.1.4 (Vlan3), d=224.0.0.10, len 60, rcvd 2 *Mar  1 00

  • After New Update I've had Issues

    Prior to updating my blackberry the "A" button the the keyboard would lock my phone so that it required a password to get back in. After the update the "A" button only locks the keyboard. Is there anyway I can fix this? Was it a malfunction before? S