SUNW.gds resource creation problem / service startup failure
We have a vendor provided set of application server start and stop scripts that we are trying to mold into a GDS resource. The scripts must be run as a user not as root. This app takes about 6 minutes to start up and it creates about 400 processes in doing so. We gave the user cluster.modify auth so it can create the resource, and the command takes but when the resource is being created, the startup script does not seem to fire. So I'm a little stumped as to make this thing run under the user account project settings. The other thing I noticed is the ports that I specify in the list are never present until the end of the 6 minutes of startup junk, and the GDS seems to log problems about these ports at the onset of creation. Here is the command for the create:
clrs create -g ss_wfm-rg -t SUNW.gds \
-p Start_Command="/home/appl/advxrt/R8.0g/TOP/SOLARIS/bin/StartServer" \
-p Stop_Command="/home/appl/advxrt/R8.0g/TOP/SOLARIS/bin/ShutdownServer" \
-p Resource_dependencies=advxprd,ss_hasp-rs \
-p Port_list=22100/tcp,23100/tcp,27100/tcp,4100/tcp,17100/tcp \
-p Start_timeout=420 \
-p Stop_timeout=120 \
-p Child_mon_level=-1 \
ss_server_gds-rsAnd from the messages log...
Aug 18 07:31:04 prddsm01nd01 SC[SUNW.gds:6,ss_wfm-rg,ss_server_gds-rs,gds_svc_start]: [ID 141062 daemon.error] Failed to connect to host advxprd and port 221
00: Connection refused.
Aug 18 07:31:04 prddsm01nd01 SC[SUNW.gds:6,ss_wfm-rg,ss_server_gds-rs,gds_svc_start]: [ID 805735 daemon.error] Failed to connect to the host <advxprd> and po
rt <22100>.
Aug 18 07:31:06 prddsm01nd01 Cluster.PMF.pmfd: [ID 887656 daemon.notice] Process: tag="ss_wfm-rg,ss_server_gds-rs,0.svc", cmd="/bin/sh -c /home/appl/advxrt/R
8.0g/TOP/SOLARIS/bin/StartServer", Failed to stay up.
Aug 18 07:31:06 prddsm01nd01 Cluster.PMF.pmfd: [ID 534408 daemon.notice] "ss_wfm-rg,ss_server_gds-rs,0.svc" restarting too often ... sleeping 30 seconds.
Aug 18 07:31:06 prddsm01nd01 Cluster.RGM.rgmd: [ID 650825 daemon.error] Method <gds_svc_start> on resource <ss_server_gds-rs> terminated due to receipt of si
gnal <9>Basically I would like to know if the ports list should include all ports that the app will eventually listen on, or some, or minimal? The other biggy is how to get this thing to launch as a user and if it fail over to another node does not start as root. I tried doing an su - acctname -c "script" but it won't start it. Thanks!
Detlef or anyone familiar with GDS...
We agree here that customizing the GDS using your template is the way to go. What I have noticed is that since creating the wrapper scripts to call the newtask command, setup the environment, etc, when the wrapper script finishes (kicking off the native script) the RGM sees this as a fault and immeidately tries to restart the agent. Here is a snippet of the messages log.
Sep 24 13:48:03 devdsm01nd01 Cluster.PMF.pmfd: [ID 887656 daemon.notice] Process: tag="ss_stage-rg,ss_stage_server_gds-rs,0.svc", cmd="/bin/sh -c /home/appl/advxtst/tds/SS_kicker.sh", Failed to stay up.
Sep 24 13:48:03 devdsm01nd01 Cluster.RGM.rgmd: [ID 784560 daemon.notice] resource ss_stage_server_gds-rs status on node devdsm01nd01 change to R_FM_FAULTED
Sep 24 13:48:03 devdsm01nd01 Cluster.RGM.rgmd: [ID 922363 daemon.notice] resource ss_stage_server_gds-rs status msg on node devdsm01nd01 change to <Service daemon not running.>
Sep 24 13:48:03 devdsm01nd01 SC[SUNW.gds:6,ss_stage-rg,ss_stage_server_gds-rs,gds_probe]: [ID 670283 daemon.notice] Issuing a resource restart request because the application exited.So we figured out that if we suspend the RG, then we can of course stop and start the app all day long using the clrs dis|enable commands but is using these wrapper scripts still the way to go even with the GDS template? Even assigning the user's project settings to the resources does not seem to allow the native vendor supplied startup scripts to launch (they say it is purely because we did not setup the working directory, etc, correctly, which the wrapper scripts do quite well). Is is normal for the wrapper script to "die" but yet have GDS probe the ports after X amount of time? Is this where the sleeping dummy comes into play?
thanks in advance!
Similar Messages
-
Hi,
we have implemented a global service using the wizards in SAP Development Studio on NW04 SPS14. When uploading the par containing the service ,the portal throws a startup failed error with the following message:
com.sapportals.wcm.crt.component.StartupException: Configuration exception: Missing attribute: service_manager_list, configuration node = component-config, location = config://local/cm/services/AlertService
Does anyone know what this error is about?
thank you,
adinaWell,
The error is pointing at some problems with the CM installation. Is CM installed on the portal, and is it working (believe there are some check procedures in the installation document of SAP EP).
DAgfinn -
Hello,
I'm attempting to setup Comm Suite 5 (Calendar server 6.3, Directory Server 6.0) and I'm running into problems setting up resources.
The first issue is in Delegated Administrator when I create resources it dose not create the calendar. I've found documentation that says it doesn't create the calendar for the resource till it has been invited to a meeting. I've tried this and still no calendar.
Since I couldn't get Delegated Administrator to work correctly I decided to use csresource
./csresource -m [email protected] -o owner -c new_res2 create new_res2
I get the following error when I run the above command:
Calendar [email protected] has been created
LDAP error 50: Insufficient access
Error creating cn=new_res2,ou=people, o=org,o=isp
Calendar [email protected] has been deleted
If I could get either one of these working it would be great but If I could get both working it would be even better.
Thanks
JoshHi,
Coolhands_99 wrote:
The first issue is in Delegated Administrator when I create resources it dose not create the calendar. I've found documentation that says it doesn't create the calendar for the resource till it has been invited to a meeting. Actually it doesn't create the calendar database entry. The required LDAP information should have been provisioned.
I've tried this and still no calendar. Are you able to invite/see the resource and the email address for the resource?
Since I couldn't get Delegated Administrator to work correctly I decided to use csresource
./csresource -m [email protected] -o owner -c new_res2 create new_res2
I get the following error when I run the above command:
Calendar [email protected] has been created
LDAP error 50: Insufficient access
Error creating cn=new_res2,ou=people, o=org,o=isp
Calendar [email protected] has been deleted
Check the LDAP access/error logs at the time that you created the entry to see what user the calendar server was trying to bind as when it failed (thus returning the err=50).
Check the local.authldapbindcred, local.authldapbinddn, local.enduseradmindn settings. Does the user listed here exist in the directory server?
If I could get either one of these working it would be great but If I could get both working it would be even better.It may be that the same issue is stopping both methods from working.
Regards,
Shane. -
Hello,
we'd like to write a set of wrapper scripts that will monitor and failover a simple webserver (lighttpd) with SC 3.2.
After registration of the service with the following command:
clresource create -g "my-rg" -t SUNW.gds \
-p Start_command="/usr/local/scripts/cluster_start_webgui.sh" \
-p Stop_command="/usr/local/scripts/cluster_stop_webgui.sh" \
-p Probe_command="/usr/local/scripts/cluster_probe_webgui.sh" \
-p Validate_command="/usr/local/scripts/cluster_validate_webgui.sh" \
-p Start_timeout=120 \
-p Stop_timeout=120 \
-p Probe_timeout=120 \
-p Network_resources_used=my-logical-name \
-p Scalable=false \
-p Failover_enabled=true \
-p Child_mon_level=0 \
-p Stop_signal=9 \
my-gds-resourceWe received the following warning:
clresource: cluster_host1 -
Current setting of Retry_interval = 370,
might prevent failover on repeated probe failures.
It is recommended that Retry_interval be greater than or equal to
[(Thorough_probe_interval + Probe_timeout) * 2 * Retry_count].
Current values are (Thorough_probe_interval = 60,Retry_count = 2,Probe_timeout = 120).Which appeared safe enough to ignore for the time being.
With or without relation to the previous warning, it appears that once we try to bring the new resource's Resource Group to the online state, the probe script and start script are being run alternatingly on one node, then on the other (the resource group is "Pending online" during this time), and then the resource group fails.
We have verified that our scripts work correctly for start, stop, probe and validate. Replacing the scripts with simple stubs that simply do
echo $0 >> /tmp/cluster-debug ; exit 0did not solve the issue.
We've seen conflicting statements in the documentation regarding probe behavior - should the probe verify proper application execution, then return 0 if everything is OK, or should it run constantly as a daemon and return only the application fails?
(see SUNW.gds manpage near the Probe_command property and Sun Cluster Data Services Developer's Guide, page 100, "How the Probe Program Works")
Of course, any help or ideas regarding the constant failovers or proper probe behavior would be greatly appreciated.
TIA,
-- leonDetlef,
I join you my start scrip and stop script. Could you please tell me where to implement the command?
# more /opt/SUNWNOUVO/bin/NOUVO_mon_start.ksh
#!/bin/ksh
# Sun Cluster Data Services Builder template version 1.0
# Monitor start Method for NOUVO.
alias scds_syslog="/usr/cluster/lib/sc/scds_syslog"
SYSLOG_TAG="[SUNW.NOUVO]"
# Parse program arguments.
function parse_args # [args ...]
typeset opt
while getopts 'R:G:T:' opt
do
case "$opt" in
R)
# Name of the NOUVO resource.
RESOURCE_NAME=$OPTARG
G)
# Name of the resource group in which the resource is
# configured.
RESOURCEGROUP_NAME=$OPTARG
T)
# Name of the resource type.
RESOURCETYPE_NAME=$OPTARG
scds_syslog -p error -t "${SYSLOG_TAG}" -m \
"ERROR: Option %s unknown" \
$OPTARG
exit 1
esac
done
SYSLOG_TAG="[${RESOURCETYPE_NAME},${RESOURCE_NAME},${RESOURCEGROUP_NAME}]"
# extract_property_value()
# For extension properties, API returns data type followed by value
# This function discards first line (data type) and prints
# remaining lines.
extract_property_value()
typeset type
typeset value
typeset rc=0
read type
rc=$?
[ $rc -ne 0 ] && return $rc
while read value
do
print $value
done
rc=$?
return $rc
# read_extension_property_value()
# This function reads extension property values
# Parameter 1: <property name>
read_extension_property_value()
typeset rc
typeset property="${1:-''}"
scha_resource_get -O Extension \
-R "$RESOURCE_NAME" -G "$RESOURCEGROUP_NAME" "$property" \
| extract_property_value
rc=$?
if [ $rc -ne 0 ]; then
scds_syslog -p error -t $(syslog_tag) -m \
"Error (%s) when reading extension property <%s>." \
"$rc" "${property}"
fi
return $rc
# MAIN
export PATH=/bin:/usr/bin:/usr/cluster/bin:/usr/sbin:/usr/proc/bin:$PATH
# Obtain the syslog facility to use. This will be used to log the messages.
SYSLOG_FACILITY=`scha_cluster_get -O SYSLOG_FACILITY`
# Parse the arguments that have been passed to this method
parse_args "$@"
# We need to know where the probe method resides. This is specified in the
# RT_BASEDIR property of the resource type.
RT_BASEDIR=`scha_resource_get -O RT_BASEDIR -R $RESOURCE_NAME \
-G $RESOURCEGROUP_NAME`
PMF_TAG=$RESOURCEGROUP_NAME,$RESOURCE_NAME,0.mon
SYSLOG_TAG=$RESOURCETYPE_NAME,$RESOURCEGROUP_NAME,$RESOURCE_NAME
# Get the value for monitor retry count from the RTR file.
MON_RETRY_CNT=$(read_extension_property_value Monitor_retry_count)
# Get the value for monitor retry interval from the RTR file.
MON_RETRY_INTRVAL=$(read_extension_property_value Monitor_retry_interval)
# User added code -- BEGIN vvvvvvvvvvvvvvv
# User added code -- END ^^^^^^^^^^^^^^^
# Start the probe for the data service under PMF. Use the Monitor_retry_count retries
# option to start the probe. Pass the the Resource name, type and group to the
# probe method.
pmfadm -c $PMF_TAG -n $MON_RETRY_CNT -t $MON_RETRY_INTRVAL \
$RT_BASEDIR/NOUVO_probe.ksh -R $RESOURCE_NAME -G $RESOURCEGROUP_NAME \
-T $RESOURCETYPE_NAME
# Log a message indicating that the monitor for NOUVO has been started.
if [ $? -eq 0 ]; then
# SCMSGS
# @explanation
# Need explanation of this message!
# @user_action
# Need a user action for this message.
scds_syslog -p info -t "${SYSLOG_TAG}" -m \
"Monitor for NOUVO successfully started"
fi
# User added code -- BEGIN vvvvvvvvvvvvvvv
# User added code -- END ^^^^^^^^^^^^^^^
exit 0
# more /opt/SUNWNOUVO/bin/NOUVO_mon_stop.ksh
#!/bin/ksh
# Sun Cluster Data Services Builder template version 1.0
# Monitor stop method for NOUVO
# Stops the monitor that is running. This is done via PMF.
alias scds_syslog="/usr/cluster/lib/sc/scds_syslog"
SYSLOG_TAG="[SUNW.NOUVO]"
# Parse program arguments.
function parse_args # [args ...]
typeset opt
while getopts 'R:G:T:' opt
do
case "$opt" in
R)
# Name of the NOUVO resource.
RESOURCE_NAME=$OPTARG
G)
# Name of the resource group in which the resource is
# configured.
RESOURCEGROUP_NAME=$OPTARG
T)
# Name of the resource type.
RESOURCETYPE_NAME=$OPTARG
scds_syslog -p error -t "${SYSLOG_TAG}" -m \
"ERROR: Option %s unknown" \
$OPTARG
exit 1
esac
done
SYSLOG_TAG="[${RESOURCETYPE_NAME},${RESOURCE_NAME},${RESOURCEGROUP_NAME}]"
# MAIN
export PATH=/bin:/usr/bin:/usr/cluster/bin:/usr/sbin:/usr/proc/bin:$PATH
# Obtain the syslog facility to use. This will be used to log the messages.
SYSLOG_FACILITY=`scha_cluster_get -O SYSLOG_FACILITY`
# Parse the arguments that have been passed to this method
parse_args "$@"
PMF_TAG=$RESOURCEGROUP_NAME,$RESOURCE_NAME,0.mon
SYSLOG_TAG=$RESOURCETYPE_NAME,$RESOURCEGROUP_NAME,$RESOURCE_NAME
# User added code -- BEGIN vvvvvvvvvvvvvvv
# User added code -- END ^^^^^^^^^^^^^^^
# See if the monitor is running, and if so, kill it.
if pmfadm -q $PMF_TAG; then
# User added code -- BEGIN vvvvvvvvvvvvvvv
# User added code -- END ^^^^^^^^^^^^^^^
pmfadm -s $PMF_TAG KILL
if [ $? -ne 0 ]; then
# SCMSGS
# @explanation
# Need explanation of this message!
# @user_action
# Need a user action for this message.
scds_syslog -p error -t "${SYSLOG_TAG}" -m \
"Could not stop monitor for resource %s" \
$RESOURCE_NAME
exit 1
else
# could successfully stop the monitor. Log a message.
# SCMSGS
# @explanation
# Need explanation of this message!
# @user_action
# Need a user action for this message.
scds_syslog -p info -t "${SYSLOG_TAG}" -m \
"Monitor for resource %s successfully stopped" \
$RESOURCE_NAME
fi
# User added code -- BEGIN vvvvvvvvvvvvvvv
# User added code -- END ^^^^^^^^^^^^^^^
fi
exit 0
Thanks for your help. -
Hi all!
In a simple two node cluster (Solaris cluster 3.2) with quorum server I've created a resource for jboss 5.1.0 using SUNW.gds. It is supposed to be load-balanced. To achieve that I've followed instructions from [http://download.oracle.com/docs/cd/E18728_01/html/821-1258/gds-25.html]
The command I've used to create the resource was:
clresource create -g scalable-rg -t SUNW.gds -p resource_dependencies=vip -p Scalable=TRUE -p Start_timeout=400 -p Stop_timeout=400 -p Probe_timeout=30 -p Port_list=8080/tcp -p Start_command="/opt/jboss-5.1.0.GA/bin/run.sh -b 0.0.0.0" -p Child_mon_level=0 -p Failover_enabled=TRUE -p Stop_signal=15 -p Load_balancing_policy=LB_STICKY_WILD jboss-rs
The whole configuration seems to work, but when the second node joins cluster, resource with jboss can't bind to shared ip address. There are many entries in /var/adm/messages like:
Jan 19 13:46:35 play SC[,SUNW.gds:6,scalable-rg,jboss-rs,gds_svc_start]: [ID 141062 daemon.error] Failed to connect to host vip and port 8080: Connection refused.
Jan 19 13:46:35 play SC[,SUNW.gds:6,scalable-rg,jboss-rs,gds_svc_start]: [ID 805735 daemon.error] Failed to connect to the host <vip> and port <8080>.
Jan 19 13:46:37 play SC[,SUNW.gds:6,scalable-rg,jboss-rs,gds_svc_start]: [ID 141062 daemon.error] Failed to connect to host vip and port 8080: Connection refused.
Jan 19 13:46:37 play SC[,SUNW.gds:6,scalable-rg,jboss-rs,gds_svc_start]: [ID 805735 daemon.error] Failed to connect to the host <vip> and port <8080>.
Jan 19 13:46:39 play SC[,SUNW.gds:6,scalable-rg,jboss-rs,gds_svc_start]: [ID 141062 daemon.error] Failed to connect to host vip and port 8080: Connection refused.
Jan 19 13:46:39 play SC[,SUNW.gds:6,scalable-rg,jboss-rs,gds_svc_start]: [ID 805735 daemon.error] Failed to connect to the host <vip> and port <8080>.
Jan 19 13:46:41 play SC[,SUNW.gds:6,scalable-rg,jboss-rs,gds_svc_start]: [ID 141062 daemon.error] Failed to connect to host vip and port 8080: Connection refused.
Jan 19 13:46:41 play SC[,SUNW.gds:6,scalable-rg,jboss-rs,gds_svc_start]: [ID 805735 daemon.error] Failed to connect to the host <vip> and port <8080>.
Jan 19 13:46:43 play SC[,SUNW.gds:6,scalable-rg,jboss-rs,gds_svc_start]: [ID 141062 daemon.error] Failed to connect to host vip and port 8080: Connection refused.
Jan 19 13:46:43 play SC[,SUNW.gds:6,scalable-rg,jboss-rs,gds_svc_start]: [ID 805735 daemon.error] Failed to connect to the host <vip> and port <8080>.
However, after some time, it finally somehow binds to shared ip and port 8080.
Is this something I should be worried about? Or it is a normal thing, since e.g. it takes some time to bring the interface with shared ip up? I've never had to install such configuration, and I don't have neither intuiton, nor the experience. Any help would be very appreciated.
Thanks a bunch,
BartHi, a couple of things to check:
- did you check that both JBOSS instances were up and running?
- can you check in the logs (on both nodes) when a message saying something like "service .... registered..." showed up. This should show up for both JBOSS instances. From the time of the second "registered" message, the load balancer should sending incoming requests to both instances using its distribution mechanism
- did you check the vip address on one of the nodes on an external interface and on lo0 on the other
- connection refused looks like a server problem; can you connect to the JBOSS instance locally?
Hth
Hartmut -
Problem in startup of Shadow Instance (START_SHDI_FIRST)
Hi Experts
I am having problem in 4.6B - ERP6.0 Upgrade. I have problem in startup of Shadow Instance. Here is log description.
DEVTRACE.LOG
trc file: "dev_ms", trc level: 1, release: "700"
Thr 01 Fri Feb 22 19:53:01 2008
Thr 01 MsSSetTrcLog: trc logging active, max size = 20971520 bytes
systemid 370 (Solaris on SPARCV9 CPU)
relno 7000
patchlevel 0
patchno 133
intno 20050900
make: multithreaded, ASCII, 64 bit, optimized
pid 7614
Thr 01 ***LOG Q01=> MsSInit, MSStart (Msg Server 1 7614) http://msxxserv_mt. 1824
Thr 01 SigISetDefaultAction : default handling for signal 18
Thr 01 load acl file = /usr/sap/put/<SID>/SYS/global/ms_acl_info
Thr 01 MsGetOwnIpAddr: my host addresses are :
Thr 01 1 : http://192.168.21.21 <hostname> (HOSTNAME)
Thr 01 2 : http://127.0.0.1 localhost (LOCALHOST)
Thr 01 MsHttpInit: full qualified hostname = <hostname>
Thr 01 HTTP logging is switch off
Thr 01 ms/icf_info_server : deleted
Thr 01 *** I listen to port sapmsSHD<SID> (3602) ***
Thr 01 CUSTOMER KEY: >L0506167855
trc file: "dev_rd", trc level: 1, release: "700"
Fri Feb 22 15:25:15 2008
***LOG S00=> GwInitReader, gateway started ( 1059) http://gwxxrd.c 1691
systemid 370 (Solaris on SPARCV9 CPU)
relno 7000
patchlevel 0
patchno 133
intno 20050900
make: single threaded, ASCII, 64 bit, optimized
pid 1059
gateway runs with dp version 232(ext=109) (@(#) DPLIB-INT-VERSION-232)
gateway (version=700.2007.10.01)
gw/local_addr : 0.0.0.0
CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
CCMS: Initalizing shared memory of size 40000000 for monitoring segment.
Bind service sapgw02 (socket) to port 3302
GwPrintMyHostAddr: my host addresses are :
1 : http://192.168.21.21 <hostname> (HOSTNAME)
2 : http://127.0.0.1 localhost (LOCALHOST)
Full qualified hostname =
DpSysAdmExtCreate: ABAP is active
DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
Fri Feb 22 15:25:20 2008
DpShMCreate: sizeof(wp_adm) 70080 (960)
DpShMCreate: sizeof(tm_adm) 51017496 (25496)
DpShMCreate: sizeof(wp_ca_adm) 184800 (88)
DpShMCreate: sizeof(appc_ca_adm) 8800 (88)
DpCommTableSize: max/headSize/ftSize/tableSize=2000/8/2192040/2192048
DpShMCreate: sizeof(comm_adm) 2192048 (1088)
DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
DpShMCreate: sizeof(slock_adm) 0 (104)
DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
DpShMCreate: sizeof(file_adm) 0 (72)
DpShMCreate: sizeof(vmc_adm) 0 (1840)
DpShMCreate: sizeof(wall_adm) (224040/346312/80/104)
DpShMCreate: sizeof(gw_adm) 48
DpShMCreate: SHM_DP_ADM_KEY (addr: ffffffff5bc00000, size: 54051296)
DpShMCreate: allocated sys_adm at ffffffff5bc00000
DpShMCreate: allocated wp_adm at ffffffff5bc01cc0
DpShMCreate: allocated tm_adm_list at ffffffff5bc12e80
DpShMCreate: allocated tm_adm at ffffffff5bc12ee0
DpShMCreate: allocated appc_ca_adm at ffffffff5ece77d8
DpShMCreate: allocated comm_adm at ffffffff5ece9a38
DpShMCreate: system runs without slock table
DpShMCreate: system runs without file table
DpShMCreate: allocated vmc_adm_list at ffffffff5ef00ce8
DpShMCreate: allocated gw_adm at ffffffff5ef00d68
DpShMCreate: system runs without vmc_adm
DpShMCreate: allocated ca_info at ffffffff5ef00d98
MtxInit: -2 0 0
Fri Feb 22 15:25:26 2008
GwDpInit: attached to gw_adm at ffffffff5ef00d68
Fri Feb 22 15:25:44 2008
caught SIGINT (2)
***LOG S30=> GwStopGateway, gateway stopped () http://gwxxrd.c 14586
STARTSFI.LOG
1 ETQ201XEntering upgrade-phase "START_SHDI_FIRST" ("20080222195300")
2 ETQ367 Connect variables are set for standard instance access
4 ETQ399 System-nr = '01', GwService = 'sapgw01'
4 ETQ399 Environment variables:
4 ETQ399 dbs_ora_schema=SAPR3
4 ETQ399 auth_shadow_upgrade=0
4 ETQ399 Set environment for shadow connect:
4 ETQ399 ENV: dbs_ora_schema=SAPR3
4 ETQ399 ENV: auth_shadow_upgrade=1
4 ETQ399 Set RFC variables for shadow connect:
4 ETQ399 System-nr = '02', GwService = 'sapgw02'
4 ETQ399 Set tool parameters for shadow connect:
4 ETQ380 computing toolpath for request "TP_SHADOW_CONNECT"
4 ETQ381 request "TP_SHADOW_CONNECT" means "tp needs to connect to shadow system"
4 ETQ382 translates to group "R3UP_TOOL_GROUP_NEW"
4 ETQ383 translates to path "exe"
4 ETQ383 translates to path "exe"
4 ETQ399 default TPPARAM: SHADOW.TPP
4 ETQ380 computing toolpath for request "TP_ALWAYS_NEW"
4 ETQ381 request "TP_ALWAYS_NEW" means "always tp from DIR_PUT/exe, for phase KX_SW<SID>H"
4 ETQ382 translates to group "R3UP_TOOL_GROUP_NEW"
4 ETQ383 translates to path "exe"
4 ETQ383 translates to path "exe"
2 ETQ399 Starting shadow instance
4 ETQ359 RFC Login to: System="<SID>", Nr="02", GwHost="<hostname>", GwService="sapgw02"
2 ETQ231 RFC Login failed
4 ETQ359 RFC Login to: System="<SID>", Nr="02", GwHost="<hostname>", GwService="sapgw02"
2 ETQ231 RFC Login failed
2 ETQ353 Starting system
4 ETQ399 ext. env.: DIR_LIBRARY=/usr/sap/put/<SID>/homeshd/<SID>
4 ETQ399 ext. env.: LD_LIBRARY_PATH=/usr/sap/put/<SID>/homeshd/<SID>:/usr/j2se/jre/lib/sparc/c
lient:/usr/j2se/jre/lib/sparc:/usr/j2se/jre/../lib/sparc:/oracle/<SID>/102_64/lib:/usr/sap/I
TC/SYS/exe/run:/oracle/client/10x_64/instantclient
4 ETQ399 2008/02/22 19:53:00: put_execute: (startsap) forkpid:7500
2 ETQ370 starting test RFC
4 ETQ359 RFC Login to: System="<SID>", Nr="02", GwHost="<hostname>", GwService="sapgw02"
2 ETQ231 RFC Login failed
4 ETQ359 RFC Login to: System="<SID>", Nr="02", GwHost="<hostname>", GwService="sapgw02"
2 ETQ231 RFC Login failed
2WETQ372 test RFC failed, rc="-2"
2 ETQ370 starting test RFC
4 ETQ359 RFC Login to: System="<SID>", Nr="02", GwHost="<hostname>", GwService="sapgw02"
2 ETQ231 RFC Login failed
4 ETQ359 RFC Login to: System="<SID>", Nr="02", GwHost="<hostname>", GwService="sapgw02"
2 ETQ231 RFC Login failed
2WETQ372 test RFC failed, rc="-2"
2 ETQ370 starting test RFC
4 ETQ359 RFC Login to: System="<SID>", Nr="02", GwHost="<hostname>", GwService="sapgw02"
2 ETQ231 RFC Login failed
4 ETQ359 RFC Login to: System="<SID>", Nr="02", GwHost="<hostname>", GwService="sapgw02"
2 ETQ231 RFC Login failed
2WETQ372 test RFC failed, rc="-2"
2 ETQ370 starting test RFC
4 ETQ359 RFC Login to: System="<SID>", Nr="02", GwHost="<hostname>", GwService="sapgw02"
2 ETQ231 RFC Login failed
4 ETQ359 RFC Login to: System="<SID>", Nr="02", GwHost="<hostname>", GwService="sapgw02"
2 ETQ231 RFC Login failed
2WETQ372 test RFC failed, rc="-2"
2 ETQ370 starting test RFC
4 ETQ359 RFC Login to: System="<SID>", Nr="02", GwHost="<hostname>", GwService="sapgw02"
2 ETQ231 RFC Login failed
4 ETQ359 RFC Login to: System="<SID>", Nr="02", GwHost="<hostname>", GwService="sapgw02"
2 ETQ231 RFC Login failed
2WETQ372 test RFC failed, rc="-2"
2 ETQ370 starting test RFC
4 ETQ359 RFC Login to: System="<SID>", Nr="02", GwHost="<hostname>", GwService="sapgw02"
2 ETQ231 RFC Login failed
4 ETQ359 RFC Login to: System="<SID>", Nr="02", GwHost="<hostname>", GwService="sapgw02"
2 ETQ231 RFC Login failed
2WETQ372 test RFC failed, rc="-2"
2 ETQ370 starting test RFC
4 ETQ359 RFC Login to: System="<SID>", Nr="02", GwHost="<hostname>", GwService="sapgw02"
2 ETQ231 RFC Login failed
2 ETQ231 RFC Login failed
4 ETQ359 RFC Login to: System="<SID>", Nr="02", GwHost="<hostname>", GwService="sapgw02"
2 ETQ231 RFC Login failed
2WETQ372 test RFC failed, rc="-2"
2EETQ399 Starting shadow instance failed
2EETQ399 Test RFC failed finally
2EETQ399 Dialogue: ERROR
2EETQ399 Starting system failed, rc=0
Please let me know if you have any ideas.
Thanks & best Regards
L RaghunahthHi ,
I am forwarding the dev_w0 log.
dev_w0 ==> log is as follows
M Fri Feb 22 15:25:26 2008
M ab_init o.k.
M ThrInitGlobals o.k.
M ThrCreateShObjects allocated 150834 bytes at ffffffff52200000
M SosRegisterMemAddr: add mem addr ffffffff52200000 / >thr_serv_info<
M SosRegisterMemAddr: add mem addr ffffffff52200010 / >thr_wpadm<
M ThrCreateShObjects o.k.
M SosRegisterMemAddr: add mem addr 1050aace0 / >ztta<
M SosRegisterMemAddr: alloc/realloc table
M SosRegisterMemAddr: add mem addr 105328a60 / >spa<
M ThrRegisterMemAddrs o.k.
M ThJRegNatives3: java not active
M ThrInitRunTime: ThrtRegJavaNatives failed (-1)
M ThJRegNatives3: java not active
M ThrInitRunTime: ThrtRegWpWriterJavaNatives failed (-1)
M ThJRegNatives3: java not active
M ThrInitRunTime: ThrtHttpRegWpJavaNatives failed (-1)
M ThJRegNatives3: java not active
M ThrInitRunTime: ThrtHttpRegUsrJavaNatives failed (-1)
M ThJRegNatives3: java not active
M ThrInitRunTime: ThrtHttpRegMemJavaNatives failed (-1)
M ThJRegNatives3: java not active
M ThrInitRunTime: ThrtHttpRegSysJavaNatives failed (-1)
M ThrInitRunTime o.k.
M ab_startup o.k.
N SsfSapSecin: putenv(SECUDIR=/usr/sap/put/<SID>/DVEBMGS02/sec): ok
N
N =================================================
N === SSF INITIALIZATION:
N ===...SSF Security Toolkit name SAPSECULIB .
N ===...SSF trace level is 0 .
N ===...SSF library is /usr/sap/put/exe/libsapsecu.so .
N ===...SSF hash algorithm is SHA1 .
N ===...SSF symmetric encryption algorithm is DES-CBC .
M load shared library (/usr/sap/put/exe/libsapsecu.so), hdl 1
N ===...sucessfully completed.
N =================================================
M
M Returncode of AlMCCreateAttach (): 50
M Returncode of AlMOCreateAttach (): 50
M Returncode of AlSmesCreateAttach (): 50
M *** Start of API function likey_init ***
M likey_init: sid = "<SID>"
M likeymem_calloc (2, 21) for type "List of the SW products" returns 1050a55e0.
M likey_init: products [0] = "R3_ORA "
M likey_init: products [1] = "R3_BASIS "
M likey_init: basis_release = "700"
M likey_init: temporary license keys allowed.
M likey_init: running within the SAP WebAS ABAP.
M Generated absolute filename of the verify PSE: "/usr/sap/put/<SID>/DVEBMGS02/sec/LASVerif
y.pse"
M PSE name "/usr/sap/put/<SID>/DVEBMGS02/sec/LASVerify.pse" memorized.
M The contents of the PSE file "/usr/sap/put/<SID>/DVEBMGS02/sec/LASVerify.pse" is the 2038
version.
M SAPSECULIB initialized by calling SsfLibGetToolkit ().
M likeyper_init: insert_record memorized.
M likeyper_init: update_record memorized.
M likeyper_init: delete_record memorized.
M likeyper_init: get_record memorized.
M likeyper_init: get_all_records memorized.
M likeyper_init: cleanup memorized.
M likeyche_get_existing_buffer: buffer found in EG memory.
M likeyche_get_existing_buffer: magic number okay, reserved entries = 5, used entries = 0
M *** End of API function likey_init ***
M SAPlicense: LIKEY initialisation done
M ThBtcClnZombies o.k.
M Enq-Reset-Registration o.k.
M SosRegisterHook: add hook >rsts_storage_free(101a2ee78)< for event AFTER_STORAGE_FREE
M SosRegisterHook: add hook >rsts_before_commit(101a2efb0)< for event BEFORE_COMMIT
M SosRegisterHook: add hook >rsts_after_commit(101a2f098)< for event AFTER_COMMIT
M SosRegisterHook: add hook >rsts_after_rollback(101a2f168)< for event AFTER_ROLLBACK
M SosRegisterHook: add hook >rsts_after_rollback(101a2f168)< for event AFTER_ROLLBACK_WOR
K
M SosRegisterHook: add hook >rsts_after_rollin(101a2acd0)< for event AFTER_ROLL_IN
M SosRegisterHook: add hook >rsts_before_rollout(101a2acec)< for event BEFORE_ROLL_OUT
M DpISetTrcLog: trc logging active, max size = 20971520 bytes
M DpISetTrcLog: sw<SID>h off trace logging global is off
M DpISetTrcLog: trc logging active, max size = 20971520 bytes
M ThSetTrcLogParam2 o.k.
M register db commit/rollback hook o.k.
N MskiInitLogonTicketCacheHandle: Logon Ticket cache pointer retrieved from shared memory
N MskiInitLogonTicketCacheHandle: Workprocess runs with Logon Ticket cache.
M MskiInitLogonTicketCacheHandle o.k.
M ThrtRegisterJCoNatives o.k.
M JrfcVmcRegisterNativesDriver o.k.
M ThJRegNatives3: java not active
M EnqVmcRegisterNatives failed
M ThJRegNatives3: java not active
M JMonVmcRegisterNatives failed
M ThJRegNatives3: java not active
M JTSAuthorityRegisterNatives failed
W =================================================
W === ipl_Init() called
W ITSP ICMAN is not active: Disable Kernel Web GUI functionality
W === ipl_Init() returns 2, ITSPE_DISABLED: Service is disabled (sapparam)
W =================================================
M ipl_Init returns 2 ITSPE_DISABLED: Service is disabled (sapparam)
M SosRegisterHook: add hook >DbgBeforeSessionEnd(100495c64)< for event BEFORE_SESSION_END
M SosRegisterHook: add hook >DbgBeforeTaskSw<SID>h(10049575c)< for event BEFORE_TASK_SW<SID>H
M ThDbgInit returns 0
M ThJRegNatives3: java not active
M ThDSysEnv: delete environment
M REL WP ca_blk 56
M ThDtWpBlk: detach WP ca_blk 56
M REL APPC ca_blk 2
M ThDtAppcBlk: detach APPC ca_blk 2
M ThIEmFree: delete hyper context (hyperHdl=fffffffdd99f1e60)
M ThIEmFree: call EmContextDelete (em_hdl=0)
M set act fields to T-1/M255
M ThSetProcessPriority o.k.
M SosRegisterMemAddr: add mem addr ffffffff57412e80 / >tm_adm_list<
M SosRegisterMemAddr: add mem addr ffffffff57412ee0 / >tm_adm<
M SosRegisterMemAddr: add mem addr ffffffff57401cc0 / >wp_adm<
M SosRegisterMemAddr: add mem addr ffffffff53000000 / >wp_ca<
M SosRegisterMemAddr: add mem addr ffffffff5a4ba5f8 / >wp_ca_adm<
M SosRegisterMemAddr: add mem addr ffffffff5a4e9a38 / >comm_adm<
M SosRegisterMemAddr: add mem addr ffffffff5702edc0 / >appc_ca<
M SosRegisterMemAddr: add mem addr ffffffff5a4e77d8 / >appc_ca_adm<
M SosRegisterMemAddr: add mem addr 0 / >vmc_adm<
M SosRegisterMemAddr: alloc/realloc table
M SosRegisterMemAddr: add mem addr ffffffff57400000 / >sys_adm<
M ThCheckComOrRb (event=1, full_commit=0)
M ThCallHooks: call hook >ASTAT-collect commit handling< for event BEFORE_COMMIT
M ThCallHooks: call hook >rsts_before_commit< for event BEFORE_COMMIT
M SosCheckAbapEnv: invalid tid/mode T-1/M255
M ThCheckComOrRb (event=3, full_commit=0)
M ThCallHooks: call hook >dyKeyTableReset< for event AFTER_COMMIT
M ThCallHooks: call hook >ThNoClearPrevErr< for event AFTER_COMMIT
M ThNoClearPrevErr: clear prev no err
M ThCallHooks: call hook >rsts_after_commit< for event AFTER_COMMIT
M SosCheckAbapEnv: invalid tid/mode T-1/M255
M ThCallHooks: call hook >SpoolHandleHook< for event AFTER_COMMIT
M SosCheckAbapEnv: invalid tid/mode T-1/M255
M db_commit98 (keep resources) o.k.
M SigSave o.k.
M rdisp/rfc_use_quotas : 1
M rdisp/rfc_max_queue : 5
M rdisp/rfc_max_login : 90
M rdisp/rfc_max_own_login : 25
M rdisp/rfc_min_wait_dia_wp : 1
M rdisp/rfc_max_own_used_wp : 75
M rdisp/rfc_max_comm_entries : 90
M rdisp/rfc_max_wait_time : 15
E Fri Feb 22 15:25:29 2008
E Replication is disabled
E EnqCcInitialize: local lock table initialization o.k.
E EnqId_SuppressIpc: local EnqId initialization o.k.
E EnqCcInitialize: local enqueue client init o.k.
M init lock table o.k.
M ThrSetMemHdl o.k.
M ThInit o.k.
M SigIRegisterExitRoutine: exithandler installed (ThSigHandler)
M TskhLoop: tell dispatcher: I'am ready for processing
M LOCK WP ca_blk 56
M LOCK APPC ca_blk 2
M ThIEndBg: end background processing of T-1 (type=0x41, logoff=1, freeResources=0)
M ThISend: (tm/user/type/info = -1/ ?/0x41/0x0, mode_deleted=1)
M TASK_SW<SID>H
M DISP
M abap strategy ROLL / O.K.
M ThRqOutCheck: o.k.
M ThNewWpStat (type=0x41, task_sw<SID>h=1, inline_hold=0, hand_shake=0, debug=0, ..)
M ThISend: new wp stat: 0x2
M rdisp/wp_auto_restart = 0 sec
M rdisp/wp_abap_restart = 0
M ThSetThToolParam : restartable_wp[0] = FALSE
M ThSetThToolParam : restartable_wp[1] = TRUE
M ThSetThToolParam : restartable_wp[2] = TRUE
M ThSetThToolParam : restartable_wp[3] = FALSE
M ThSetThToolParam : restartable_wp[4] = TRUE
M ThSetThToolParam : restartable_wp[5] = TRUE
M ThSetThToolParam : restartable_wp[6] = TRUE
M ThDtWpBlk: detach WP ca_blk 56
M ThISend: clear stat record
M PfClearAllRec: clear statistic area
M ThISend: stat_state = TH_STAT_CLEAR
M ThISend: th_wp_waits_for_rq = TH_WP_WAITS_FOR_RQ
M make DISP owner of wp_ca_blk 56
M DpRqPutIntoQueue: put request into queue (reqtype 0, prio LOW, rq_id 18)
M -OUT- sender_id WORK_PROCESS tid -1 wp_ca_blk 56 wp_id 0
M -OUT- action SEND_TO_DP uid -1 appc_ca_blk -1 type NOWP
M -OUT- new_stat WP_WAIT mode 0 len 8 rq_id 18
M wake_evt_udp_now 1, no dgram needed
M REL APPC ca_blk 2
M ThDtAppcBlk: detach APPC ca_blk 2
M ThCallHooks: call hook >SAP-Trace buffer write< for event BEFORE_TASK_SW<SID>H
M TrThHookFunc: called for task sw<SID>h
M ThCallHooks: call hook >ImcResetPtr< for event BEFORE_TASK_SW<SID>H
M ThCallHooks: call hook >HttpResetPtr< for event BEFORE_TASK_SW<SID>H
M ThCallHooks: call hook >DbgBeforeTaskSw<SID>h< for event BEFORE_TASK_SW<SID>H
M
M ********* W0 LOOP (DIA) *********
M TskhLoop: save spa pointer 105328a60 and install dummy spa
M ThRqWaitFor: wait for next request (new time slice)
M event-handling: W0, key 50240, flag 50240
M ThAlarm: no previous alarm
M ThRqWaitFor: wait for request
M Fri Feb 22 15:25:42 2008
M in_ThErrHandle: 1
M ThIErrHandle: new stat of W0 is WP_SHUTDOWN
M ThIErrHandle: I'm during shutdown
M PfStatDisconnect: disconnect statistics
M Entering ThSetStatError
M ThCallDbBreak: use db_sqlbreak
M ThIErrHandle: don't try rollback again
M ThShutDownServer: shutdown server
M PfStatIndInit: Initializing Index-Record
M PfWriteIntoFile: copied shared buf (0 bytes) to local buf
M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
M Entering ThReadDetachMode
M call ThrShutDown (1)...
M ThDBDisconnect: disconnect from data base
B Disconnecting from ALL connections:
B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date Time
DBHost
B 000 000 R/3 000000000 INACTIVE NO YES NO 000 255 255 20080222 152515
<hostname>
C Disconnecting from connection 0 ...
C Closing user session (con_hdl=0,svchp=105b54538,usrhp=105b51478)
C Detaching from DB Server (con_hdl=0,svchp=105b54538,srvhp=105b56868)
C Now I'm disconnected from ORACLE
B Disconnected from connection 0
B statistics db_con_commit (com_total=2, com_tx=0)
B statistics db_con_rollback (roll_total=0, roll_tx=0)
M ThDBDisconnect: disconnect o.k.
M ***LOG Q02=> wp_halt, WPStop (Workproc 0 1060) [dpuxtool.c 260]
M Good Bye .....
Best Regards,
L Raghunahth -
AS startup - JMS service startup failed
After sucessful instalation of AS7 on sparc Solaris 8, I've got error during startup.
[10/Jul/2003:16:42:12] INFO ( 1145): CORE1116: Sun ONE Application Server 7.0.0_01
[10/Jul/2003:16:42:13] INFO ( 1146): CORE3016: daemon is running as super-user
[10/Jul/2003:16:42:18] INFO ( 1146): CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.4.1_01] from [Sun Microsystems Inc.]
[10/Jul/2003:16:42:56] INFO ( 1146): JMS5035: Timed out after 30000 milliseconds while trying to verify if the JMS service startup succeeded.
[10/Jul/2003:16:42:56] INFO ( 1146): JMS5036: More details may be available in the log file for the JMS service broker instance domain1_server1. Please refer to the JMS provider documentation for the exact location of this log file.
[10/Jul/2003:16:42:56] SEVERE ( 1146): JMS5024: JMS service startup failed.
[10/Jul/2003:16:42:56] SEVERE ( 1146): CORE5071: An error occured during initialization
com.sun.appserv.server.ServerLifecycleException: [C4003]: Error occurred on connection creation. - caught java.net.ConnectException
at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:247)
at com.iplanet.ias.server.ApplicationServer.onInitialization(ApplicationServer.java:206)
at com.iplanet.ias.server.J2EERunner.confPreInit(J2EERunner.java:114)
Caused by: com.sun.appserv.server.ServerLifecycleException: [C4003]: Error occurred on connection creation. - caught java.net.ConnectException
at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:231)
... 2 more
Caused by: javax.jms.JMSException: [C4003]: Error occurred on connection creation. - caught java.net.ConnectException
at com.sun.messaging.jmq.jmsclient.ExceptionHandler.getJMSException(ExceptionHandler.java:183)
at com.sun.messaging.jmq.jmsclient.ExceptionHandler.handleException(ExceptionHandler.java:136)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.readBrokerPorts(PortMapperClient.java:145)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.init(PortMapperClient.java:86)
at com.sun.messaging.jmq.jmsclient.PortMapperClient.<init>(PortMapperClient.java:47)
at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPConnectionHandler.<init>(TCPConnectionHandler.java:46)
at com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler.openConnection(TCPStreamHandler.java:101)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.init(ProtocolHandler.java:501)
at com.sun.messaging.jmq.jmsclient.ProtocolHandler.<init>(ProtocolHandler.java:930)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.openConnection(ConnectionImpl.java:1482)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.init(ConnectionImpl.java:403)
at com.sun.messaging.jmq.jmsclient.ConnectionImpl.<init>(ConnectionImpl.java:234)
at com.sun.messaging.jmq.jmsclient.UnifiedConnectionImpl.<init>(UnifiedConnectionImpl.java:33)
at com.sun.messaging.jmq.jmsclient.QueueConnectionImpl.<init>(QueueConnectionImpl.java:32)
at com.sun.messaging.ConnectionFactory.createQueueConnection(ConnectionFactory.java:72)
at com.sun.messaging.jmq.admin.jmsspi.JMSAdminImpl.pingProvider(JMSAdminImpl.java:733)
at com.iplanet.ias.jms.JmsProviderLifecycle.waitForJmsProvider(JmsProviderLifecycle.java:284)
at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:224)
... 2 more
[10/Jul/2003:16:42:56] SEVERE ( 1146): CORE3186: Failed to set configurationThis seems to be the same problem as one described in: http://swforum.sun.com/jive/thread.jsp?forum=68&thread=20049
Double check JMS port assignments - port might already be in use by some other process and should be changed.
Hope this helps... -
SUNW.gds is trying to validate start up command on both nodes of cluster
I have two nodes configured to do a failover rg which contains SMC 4.0 server.
I have the ZFS pool set up as a HASP resource
I also have a Logical Hostname resource configured
I have installed SMC 4.0 in /opt/smc (which is a zfs mountpoint)
I run the following command --
clresource create -g scha_smc_rg -t SUNW.gds:6 \
-p Scalable=false -p Start_command="/opt/smc/SUNWsymon/sbin/es-start -cA" \
-p Stop_command="/opt/smc/SUNWsymon/sbin/es-stop -A" \
-p Port_list="8080/tcp" -p Failover_enabled=TRUE \
-p Child_mon_level=0 -p network_resources_used=smclhn-rs scha_smcIt validates on the node on which I have the rg running at the moment.
It refuses to validate on the other node (standby node), which is very obvious since the Filesystem and app can be running only on one node at a time.
Apr 3 11:44:41 ccs-01 SC[,SUNW.gds:6,scha_smc_rg,scha_smc_rs,gds_validate]: [ID 586689 daemon.error] Cannot access the start command </opt/smc/SUNWsymon/sbin/es-start> : <No such file or directory>Any idea why this is happening? I'm trying to set this app up as a Failover resource not a scalable one.I spent many months c2002 trying to get SunMC 3.x (??) to work in a fail-over environment. This proved to be fraught with problems. The best solution is to put SunMC into a fail-over container instead and start it via SMF.
The reason this is the easiest option is that the IP address and hostname of the container doesn't change on fail-over, whereas the hostname does if it is run in the global zone. The hostname is used inside SunMC (IIRC) to bind various 'bits and piece' (don't remember the detail) together.
Regards,
Tim
--- -
Error encountered while polling the resource for the service endpoint
Hello everyone
I'm a newbie on OSB world. Yesterday, I've tried to test OSB with FTP transport and got some problems.
As you see in the title, I've search this forum to get a solution already, but I couldn't find anything. So that I create a new thread.
I created a new OSB project, create a new Proxy service to connect to my FTP server:
- service type: messaging service
- request message type: Text, response message type: None
- FTP transport: external user (I used a Service account), Post read action: archive, transfer mode: ascii, some directories needed were created in /tmp directory
- Message flow: Start node -> pipeline pairs
in request pipeline of pipeline pairs node: i created a new stage: Assign action -> Log (to get file contents, error severity) -> Assign -> Log (get file name)
The expected results are: file file content and file name (display in osb console) after I submit a text file to ftp server (using test console or ftp client)
But, some error occur continuously after I submit a text file (I can get the file content because error raise and log catch it). The error message is show below:
<Jun 6, 2011 10:04:59 AM EDT> <Error> <ALSB Logging> <BEA-000000> < [PipelinePairNode1, PipelinePairNode1_request, show_text_info, REQUEST] file contents: li
ag
a
glakjgk
>
<Jun 6, 2011 10:05:30 AM EDT> <Error> <WliSbTransports> <BEA-381602> <Error encountered while polling the resource for the service endpoint ProxyService$FTPTestProject$ProxyServices$FTPTestPS: *javax.naming.NameNotFoundException:* While trying to lookup *'wlsb.internal.transport.task.queue.ftp'* *didn't find subcontext 'wlsb'. Resolved ''; remaining name 'wlsb/internal/transport/task/queue/ftp'*
*javax.naming.NameNotFoundException: While trying to lookup 'wlsb.internal.transport.task.queue.ftp' didn't find subcontext 'wlsb'. Resolved ''; remaining name 'wlsb/internal/transport/task/queue/ftp'*
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
Truncated. see log file for complete stacktrace
>
<Jun 6, 2011 10:06:30 AM EDT> <Error> <WliSbTransports> <BEA-381602> <Error encountered while polling the resource for the service endpoint ProxyService$FTPTestProject$ProxyServices$FTPTestPS: javax.naming.NameNotFoundException: While trying to lookup 'wlsb.internal.transport.task.queue.ftp' didn't find subcontext 'wlsb'. Resolved ''; remaining name 'wlsb/internal/transport/task/queue/ftp'
javax.naming.NameNotFoundException: While trying to lookup 'wlsb.internal.transport.task.queue.ftp' didn't find subcontext 'wlsb'. Resolved ''; remaining name 'wlsb/internal/transport/task/queue/ftp'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
Truncated. see log file for complete stacktrace
>
...There are many BEA-381602 errors that occur continuously.
My question is how to solve this problem.
Any suggestion is appreciated.
Thank in advance.
Regards, CuongPT
Edited by: Doubt_Man on Jun 6, 2011 11:17 AMThank atheek1, I remember that I didnt do any manual configuration on my domain :). I use that domain for testing so that I will create a new domain for comparison.
-
Exception on creation of service metadata for WSDL URL
Hi expert,
im consuming a wsdl file in my wdj dc , and on trying to execute im getting exception as follows .
WsdlApp--com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'E:\***********\MIOS_*********_********.wsdl' and service factory configuration 'null'
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:422)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:326)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo$Cache.getModelInfo(WSModelInfo.java:199)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:1035)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:248)
at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(WSTypedModel.java:41)
at com.*****.wsdlwdj.batch.****************Batch.<init>(******************Batch.java:51)
at com.*****.wsdlwdj.comp.*************Component.test**********Auth(************Component.java:266)
at com.*****.wsdlwdj.comp.wdp.Internal****Component.test****Auth(Internal********Component.java:331)
at com.*****.wsdlwdj.comp.WsdlView.wdDoInit(WsdlView.java:97)
at com.*****.wsdlwdj.comp.wdp.InternalWsdlView.wdDoInit(InternalWsdlView.java:129)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:182)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:177)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.setSpnegoParameter(RequestManager.java:963)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:157)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1064)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:158)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:56)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:92)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:114)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:420)
... 55 more
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:155)
... 59 more
Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:/usr/sap/*****/JC**/j2ee/cluster/server1/E:/****/FolderName/WSDLNAME.wsdl (No such file or directory) -> java.io.FileNotFoundException: /usr/sap/***/JC**/j2ee/cluster/server1/E:/WSDL FILE/FolderName/wsdlname.wsdl (No such file or directory)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1039)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1126)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
... 60 more
Caused by: java.io.FileNotFoundException: /usr/sap/***/JC**/j2ee/cluster/server1/E:/WSDL FILE/FolderName/wsdlname.wsdl (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:69)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:156)
at java.net.URL.openStream(URL.java:913)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:201)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:263)
at com.sap.engine.lib.xml.parser.Parser.parse_DTDValidation(Parser.java:260)
at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:271)
at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1023)
... 62 more
Regards
Govardanim using 7.01 and here we have options to use No Logical Destinations , but now i created destinations at visual admin at Server>Services>Web Service Security>WebService Clients>Sap.com-->Dynamic WS Proxies., as WS_METADATA_DEST and WS_MODELDATA_DEST and have filled in other details too like url , user name , password etc
now im getting another error like as shown below please help
com.****.wsdlwdj.applicaiton.WsdlApp
[EXCEPTION]
com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WS metadata destination 'WS_METADATA_DEST' and WS interface '{http://****.com/****}MIOS_Matrix***********'. One possible reason is that the metadata destination 'WS_METADATA_DEST' has not been properly configured; check configuration.
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:440)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:326)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo$Cache.getModelInfo(WSModelInfo.java:199)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:1035)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:248)
at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(WSTypedModel.java:41)
at com.****.wsdlwdj.model.test.TestModel.<init>(TestModel.java:51)
at com.****.wsdlwdj.comp.VcWsdlComponent.matrixAuthExecut(VcWsdlComponent.java:448)
at com.****.wsdlwdj.comp.wdp.InternalVcWsdlComponent.matrixAuthExecut(InternalVcWsdlComponent.java:280)
at com.****.wsdlwdj.comp.VcWsdlComponent.wdDoInit(VcWsdlComponent.java:132)
at com.****.wsdlwdj.comp.wdp.InternalVcWsdlComponent.wdDoInit(InternalVcWsdlComponent.java:225)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.setSpnegoParameter(RequestManager.java:963)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:157)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1064)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Caused by: com.sap.engine.services.webservices.espbase.discovery.BaseIOException: Invalid Response Code 500 while accessing URL: http://devpid:8000/sap/xi/engine?type=entry&version=3.0&Sender.Service=BS_****_PORTAL&Interface=http%3A%2F%2F****.com%2Fbank_report%5EMIOS_Authorizers_List_Portal&sap-user=xi_portal&sap-password=****1234. Response Message: Empty HTTP request received. Content Type: text/xml. Body Content: <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header>
</SOAP:Header>
<SOAP:Body>
<SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP:Client</faultcode><faultstring>Empty HTTP request received</faultstring><faultactor>http://sap.com/xi/XI/Message/30</faultactor><detail><SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIProtocol</SAP:Category><SAP:Code area="MESSAGE">EMPTY_HTTP_REQUEST_RECEIVED</SAP:Code><SAP:P1/><SAP:P2/><SAP:P3/><SAP:P4/><SAP:AdditionalText/><SAP:ApplicationFaultMessage namespace=""/><SAP:Stack>Empty HTTP query received; message processing not possible
</SAP:Stack></SAP:Error></detail></SOAP:Fault>
</SOAP:Body>
</SOAP:Envelope>
at com.sap.engine.services.webservices.server.management.discovery.DestinationsResolver.resolveURL(DestinationsResolver.java:246)
at com.sap.engine.services.webservices.server.management.discovery.DestinationsResolver.resolveEntity(DestinationsResolver.java:130)
at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.initialize(WSQueryImpl.java:184)
at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.findWSInterfaces(WSQueryImpl.java:151)
at com.sap.engine.services.webservices.server.management.discovery.ServiceDiscoveryImpl.getWSDLUrl(ServiceDiscoveryImpl.java:71)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:134)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:429)
... 49 more -
Error while creation of Service PO
Hi,
While creation of service PO I am not able to put Material Text as that column is grayed & system asks me to put material text which is input disabled.
Procedure I follows to create Service PO as below:
PO type standard (NB).
Then I put vendor, Org data & payment terms.
Then Account assigmnment cat. 'K' (Cost Cetner) & Item Cat. D(Service).
After that when put enter. Sytsem asks me to enter either material number or material text. But material text coulmn is grayed (Input dusabled). So I am not able to put it because of which I am not able to proceed further & not able to create Service PO.
Awaiting your reply to solve this problem.
R/-
PradipHi V S,
Please change the screen layout for respective field selection key for Material description as optional, then you can edit the text in the material description
Regards,
Rao -
Exception on creation of service metadata for WSDL
trying to access webservice (generated on Oracle applic. Server) as Adaptive WebServiceModel i get the following error:
Exception on creation of service metadata for WSDL
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory
Initialization problem. Could not load web service model. See nested exception for details.
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:150)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:50)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:88)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:412)
... 53 more
Caused by: java.lang.UnsupportedOperationException: Type {http://schemas.xmlsoap.org/soap/encoding/}Array is not supported!
at com.sap.engine.services.webservices.espbase.client.dynamic.types.impl.MetadataLoader.loadMetadata(MetadataLoader.java:129)
So, the code in WSDL is like:
targetNamespace="http://com.rwe.lis.webservices/IWSFidLis.xsd"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns="http://www.w3.org/2001/XMLSchema">
<complexType name="ArrayOfcom_rwe_lis_model_Flurstueck" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<complexContent>
<restriction base="SOAP-ENC:Array">
<attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="ns1:com_rwe_lis_model_Flurstueck[]"/>
</restriction>
</complexContent>
</complexType>
generated by JDeveloper on Ora Server.
So - how to get access to this WebService?!?
BernhardHi,
The use of SOAP-ENC:Array is not supported in NW because it is not WS-I compliant. For a possible solution check [this|Re: unknown namespace error when generating a client proxy; link.
Regards,
Satyajit -
Automatic creation of Service Arrangements in SAP CRM 2007
Dear all
we're using SAP CRM Resource Planning with HCM integration, so get the Employee Master and requried Availability Info Types replicated from HCM via ALE.
Unfortunately, between the creation of an Employee and the Time Distribution, a Service Arrangement must be created manually. As both the HCM-side steps are executed automatically as background job, we are trying to find a way to also create Service Arrangements automatically. We do not need to maintain any data other than ID and Name for the Service Arrangement in the first place.
Can you point me to a way to do this - eventually a function module that would be available for this purpose?
Many thanks in advance!
ChristianHi Christian,
You need to do customization settings for automatic creation of Service Assignments. And for the same you need to do all these settings according to the SAP Help Document.
You can have a look at the flow of the Service Assignment from the link below
http://help.sap.com/saphelp_crm40/helpdata/en/c6/c14769c3fc814fbe3e5df8edcba791/frameset.htm
You need to do the customizations from the sap help document. You can have a look from this link:
http://help.sap.com/saphelp_crm40/helpdata/en/c6/c14769c3fc814fbe3e5df8edcba791/frameset.htm
Technical Information : As Assignment functionality is based on WFM Core, there are some BadI's exposed. You can implement them to achieve your functionality.
Badi : CRM_SRV_SDL
Implementation Purpose
CRM_SRV_SDL_WFM R/3 connection to the WFM Core
CRM_SRV_SDL_RFC TCP/IP connection to the SAP Business Connector when using the external Scheduling Engine of a third party vendor.
In our development scenario, we have used the BadI's CRM_SRV_SDL to achieve the functionality.
Hope this helps.
Thanks,
Samantak.
Edited by: Samantak Chatterjee on Sep 11, 2009 9:43 AM -
Dump during creation of service entry sheet (ML81N)
Dump during creation of service entry sheet (ML81N)
Hi,
ML81N>Select PO>Enter>goto entry sheet create (empty page)>service entry sheet displayed with internal no. assigned >click tab "service selection">Input PO No.--> enter (here we get Dump ABAP RUNTIME ERROR "TABLE_INVALID_INDEX").
This is happening only for some POs. What can be the problem?. Is this has something to do with SAP database ???
- rahulHi,
it could have the cause that the note 1113220 was missing from your system or that data are inconsistent in your PO.
If you implemented 1113220 and you still get the dump, please check in transaction ST22 the run time error long text to the dump:
Parts:
- How to correct the error?
- Information on where terminated
- Source Code Extract -> if you set a breakpoint before the line where the error occured, you could debug the process.
- Active Calls/Events: if you have an own program displayed here, please check first your program wether it has caused the issue.
If these do not help to find out the problem cause, please open a SAP ticket and include all of the relevant information regarding the dump.
Regards,
Edit -
Folks,
I am having problem starting the application server after trying to add the following JVM options
-DproxyHost=<my_host>.<my_domain> -DproxyPort=80
OK, it didn't work, so I decided to remove the above options and back to where it was. Since then, I am unable to start the server. Below is the error log:
[10/Nov/2004:18:12:00] INFO ( 1110): CORE1116: Sun ONE Application Server 7.0.0_03c
[10/Nov/2004:18:12:00] INFO ( 1111): CORE3016: daemon is running as super-user
[10/Nov/2004:18:12:03] INFO ( 1111): CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.4.2_04] from [Sun Microsystems Inc.]
[10/Nov/2004:18:12:05] SEVERE ( 1111): JMS5024: JMS service startup failed.
[10/Nov/2004:18:12:05] SEVERE ( 1111): CORE5071: An error occured during initialization
com.sun.appserv.server.ServerLifecycleException: congo.abc.com.au: congo.abc.com.au
at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:247)
at com.iplanet.ias.server.ApplicationServer.onInitialization(ApplicationServer.java:206)
at com.iplanet.ias.server.J2EERunner.confPreInit(J2EERunner.java:114)
Caused by: java.net.UnknownHostException: congo.abc.com.au: congo.abc.com.au
at java.net.InetAddress.getLocalHost(InetAddress.java:1191)
at com.iplanet.ias.jms.JmsProviderLifecycle.onInitialization(JmsProviderLifecycle.java:148)
... 2 more
[10/Nov/2004:18:12:05] SEVERE ( 1111): CORE3186: Failed to set configuration
I have tried the followings: change the JMS port, increase time out, increase memory heaps AND nothing work.
Appreciate any help.
VQCheck for lock file blocking JMS service startup in /var/opt/imq/instances/domain1_server1
I found it was causing me problems after rebooting without stopping the app server.
Cheers,
Ed
Maybe you are looking for
-
At first got some printing problems, I fixed them, but cannot print or find the pdf icon on printer drives. Stupidly, I accidentally uninstall the Adobe Acrobat 7 Professional thinking i can reinstall back just like the printer drives, but then find
-
Slideshow - How to insert music file between two existing files.
I have a lengthy slideshow with different music files dropped into the background (that is, they display behind the images when in Slideshow Split View). I need to insert an audio file between two of these background music files, but Aperture is not
-
My group is looking into embedding IFrames into topics in RoboHelp, in order to single-source certain content that would otherwise have to be duplicated in multiple manuals; the same basic idea as using a snippet, except this approach doesn't require
-
Something is really wrong with my iTunes account ever since this Outllook come one my iTunes account and Microsoft told me to contacted you about it and my hole iTunes account is playing up as well will not sync because of this outlook thing and my i
-
License sticker is for Vista Business, but Vista Basic is pre-installed
I just bought a Satellite Pro L300 that was supposed to have Vista Business installed. When I turned on the laptop and went through the initial operating system installation and configuration, Vista Basic installed, without ever asking me for a licen