Facing Issue in starting OLT, OTM etc...(help required urgently)
Hi,
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
From Services.msc i
1) Stopped the application server
2) Stopped the oracle service
3 ) Stopped the TNS LIstener (just for completness).
Then i
1) Started the TNSListener
2) Started the Oracle database service.
3) Started the Application server.
This Error still exists and when I follow path in console http://localhost:8088/console/ when I go to deployment it is showing it is oats_ee in failed state when I thought to make fresh install (path:C:\OracleATS\install) where EAR file is present it created "oats" not "oats_ee", I can see all EJB things and that oats was also in failed status and because of this I am not able to access OLT, OTM etc...
I tried to start it clicking on start>>>all services so it is showing State "start running" and Health "OK".
Kindly help me in this and openscript is working fine.
What you suggest should I reinstall OATS or some workaround is available.
Thanks & Regards,
Gaurav
Hi,
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
From Services.msc i
1) Stopped the application server
2) Stopped the oracle service
3 ) Stopped the TNS LIstener (just for completness).
Then i
1) Started the TNSListener
2) Started the Oracle database service.
3) Started the Application server.
This Error still exists and when I follow path in console http://localhost:8088/console/ when I go to deployment it is showing it is oats_ee in failed state when I thought to make fresh install (path:C:\OracleATS\install) where EAR file is present it created "oats" not "oats_ee", I can see all EJB things and that oats was also in failed status and because of this I am not able to access OLT, OTM etc...
I tried to start it clicking on start>>>all services so it is showing State "start running" and Health "OK".
Kindly help me in this and openscript is working fine.
What you suggest should I reinstall OATS or some workaround is available.
Thanks & Regards,
Gaurav
Similar Messages
-
Java Mail,SMTP server not starting,help required urgently
Hi i have been working on java mail .Yesterday it was working ok but today suddenely i am getting this thing.its not starting the smtp server i guess,just exiting and get the command prompt ..dont know what to do.help required how to go about this error
am pasting the debug information.please check and let me know
the compilation ,smtp server and others are all valid
thanks
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Pavan>cd C:\Program Files\Java\jdk1.5.0_07\bin
C:\Program Files\Java\jdk1.5.0_07\bin>javac jdbcExample3.java
C:\Program Files\Java\jdk1.5.0_07\bin>java jdbcExample3 smtpserver address
DEBUG: JavaMail version 1.4ea
DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_07\jre\lib\
javamail.providers (The system cannot find the file specified)
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.providers
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax
.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsyste
ms, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com
.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLSt
ore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsyst
ems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.su
n.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=jav
ax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc],
com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP
3Store,Sun Microsystems, Inc]}
DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.
sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STOR
E,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Prov
ider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc],
pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems
, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun
Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.S
MTPTransport,Sun Microsystems, Inc]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: !anyLoaded
DEBUG: not loading resource: /META-INF/javamail.address.map
DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_07\jre\lib\
javamail.address.map (The system cannot find the file specified)
C:\Program Files\Java\jdk1.5.0_07\bin>The debug output doesn't show an obvious problem. You're
going to have to actually debug your program. A debugger
might be helpful. -
Help required urgently please help
i am facing problem on oracle 9i platform the problem is
ORA-00379: no free buffers available in buffer pool DEFAULT for block size 16K
WHILE I AM EXECUTING THIS SQL COMMAND
SELECT * FROM PR_RMRDDATA_M
PR_RMRDDATA_M IS ONE OF MY VERY BIG TABLEBPeasland wrote:
I guess a response after 4.5 months means the help was not required urgently. ;)
Cheers,
BrianGlance at the timestamps again...
It wasn't 4.5 months. It was a year and 4.5 months.
<insert smiley emoticon here>
Additionally, the original poster abandoned the thread after they stopped shouting at everyone.
Their username profile shows they almost never return to mark anything "resolved".
This thread is now locked to prevent more "me too" resurrection posts. -
Facing issue while starting up the Tuxedo servers
I have configured Master Tuxedo in LinuxOS version 5.0 and Slave tuxedo in Another Linux OS version 5.0
I am trying to connect both these servers (Master and Slave).
I have put user defined files in both servers.
Now when I start the Master tuxedo server, I am getting as "Assume Started" errors as below :-
Please suggest what is the problem.
exec BSDA -A -- -C /opt/tuxedo/ispss32/cfg/bsda.cfg :
on bsdadapter1 -> CMDTUX_CAT:819: INFO: Process id=20109 Assume started (pipe).
exec BSDA -A -- -C /opt/tuxedo/ispss32/cfg/bsda.cfg :
on bsdadapter1 -> CMDTUX_CAT:819: INFO: Process id=20114 Assume started (pipe).
exec BSDA -A -- -C /opt/tuxedo/ispss32/cfg/bsda.cfg :
on bsdadapter1 -> CMDTUX_CAT:819: INFO: Process id=20119 Assume started (pipe).
exec BSDA -A -- -C /opt/tuxedo/ispss32/cfg/bsda.cfg :
on bsdadapter1 -> CMDTUX_CAT:819: INFO: Process id=20124 Assume started (pipe).
exec DMADM -A :
on Admin
Pasted ULOGS for your reference:-
120030.dyl02703app004!tmboot.4263.80073024.-2: 03-21-2011: Tuxedo Version 11.1.1.2.0, 64-bit
120030.dyl02703app004!tmboot.4263.80073024.-2: CMDTUX_CAT:853: ERROR: tmloadcf error on bsdadapter1 for TUXCONFIG file /opt/tuxedo/ispss32/appdir/tuxconfig creation
120030.dyl02703app004!tmboot.4263.80073024.-2: CMDTUX_CAT:853: ERROR: tmloadcf error on bsdadapter1 for TUXCONFIG file /opt/tuxedo/ispss32/appdir/tuxconfig creation
120030.dyl02703app004!tmboot.4263.80073024.-2: WARN: No BBL available on site bsdadapter1.
Will not attempt to boot server processes on that site.
120030.dyl02703app004!DMADM.4269.141117328.0: 03-21-2011: Tuxedo Version 11.1.1.2.0, 64-bit
120030.dyl02703app004!DMADM.4269.141117328.0: LIBTUX_CAT:262: INFO: Standard main starting
120030.dyl02703app004!GWADM.4270.55264944.0: 03-21-2011: Tuxedo Version 11.1.1.2.0, 64-bit
120030.dyl02703app004!GWADM.4270.55264944.0: LIBTUX_CAT:262: INFO: Standard main starting
120030.dyl02703app004!GWTDOMAIN.4271.4199482976.0: 03-21-2011: Tuxedo Version 11.1.1.2.0, 64-bit
120030.dyl02703app004!GWTDOMAIN.4271.4199482976.0: LIBTUX_CAT:262: INFO: Standard main starting
120039.dyl02703app004!GWTDOMAIN.4271.4199482976.0: LIBGWT_CAT:1243: WARN: Open Admin address //10.35.25.47:61000 failed, Network error(98)
120039.dyl02703app004!GWTDOMAIN.4271.4199482976.0: LIBGWT_CAT:1244: WARN: No more NW address to try
120039.dyl02703app004!GWTDOMAIN.4271.4199482976.0: LIBGWT_CAT:1124: ERROR: Unable to open listening endpoint
120039.dyl02703app004!GWTDOMAIN.4271.4199482976.0: LIBTUX_CAT:250: ERROR: tpsvrinit() failed
123641.dyl02703app004!DMADM.4269.141117328.0: CMDGW_CAT:1655: INFO: DMADMSVR is exiting
123644.dyl02703app004!DBBL.4264.1182725728.0: CMDTUX_CAT:403: INFO: The DBBL is exiting system
123644.dyl02703app004!BRIDGE.4267.557033056.0: CMDTUX_CAT:494: INFO: BRIDGE exiting system
123644.dyl02703app004!BBL.4266.196863584.0: CMDTUX_CAT:26: INFO: The BBL is exiting system
123701.dyl02703app004!DBBL.6549.2312255072.0: 03-21-2011: Tuxedo Version 11.1.1.2.0, 64-bit
123701.dyl02703app004!DBBL.6549.2312255072.0: LIBTUX_CAT:262: INFO: Standard main starting
123703.dyl02703app004!DBBL.6549.2312255072.0: CMDTUX_CAT:4350: INFO: BBL started on AdminNode - Release 11112
123703.dyl02703app004!BBL.6550.3419453024.0: 03-21-2011: Tuxedo Version 11.1.1.2.0, 64-bit, Patch Level (none)
123703.dyl02703app004!BBL.6550.3419453024.0: LIBTUX_CAT:262: INFO: Standard main starting
123703.dyl02703app004!BRIDGE.6552.3107280480.0: 03-21-2011: Tuxedo Version 11.1.1.2.0, 64-bit
123703.dyl02703app004!BRIDGE.6552.3107280480.0: LIBTUX_CAT:262: INFO: Standard main starting
123709.dyl02703app004!DBBL.6549.2312255072.0: CMDTUX_CAT:4350: INFO: BBL started on bsdadapter1 - Release 11112
123709.dyl02703app004!BRIDGE.6552.3107280480.0: CMDTUX_CAT:1371: INFO: Connection received from dyl02703app003
123710.dyl02703app004!DMADM.6554.220567440.0: 03-21-2011: Tuxedo Version 11.1.1.2.0, 64-bit
123710.dyl02703app004!DMADM.6554.220567440.0: LIBTUX_CAT:262: INFO: Standard main starting
123710.dyl02703app004!GWADM.6555.2601641648.0: 03-21-2011: Tuxedo Version 11.1.1.2.0, 64-bit
123710.dyl02703app004!GWADM.6555.2601641648.0: LIBTUX_CAT:262: INFO: Standard main starting
123710.dyl02703app004!GWTDOMAIN.6556.3263899232.0: 03-21-2011: Tuxedo Version 11.1.1.2.0, 64-bit
123710.dyl02703app004!GWTDOMAIN.6556.3263899232.0: LIBTUX_CAT:262: INFO: Standard main starting
123719.dyl02703app004!GWTDOMAIN.6556.3263899232.0: LIBGWT_CAT:1243: WARN: Open Admin address //10.35.25.47:61000 failed, Network error(98)
123719.dyl02703app004!GWTDOMAIN.6556.3263899232.0: LIBGWT_CAT:1244: WARN: No more NW address to try
123719.dyl02703app004!GWTDOMAIN.6556.3263899232.0: LIBGWT_CAT:1124: ERROR: Unable to open listening endpoint
123719.dyl02703app004!GWTDOMAIN.6556.3263899232.0: LIBTUX_CAT:250: ERROR: tpsvrinit() failed
124818.dyl02703app004!DMADM.6554.220567440.0: CMDGW_CAT:1655: INFO: DMADMSVR is exiting
124821.dyl02703app004!BBL.6550.3419453024.0: CMDTUX_CAT:26: INFO: The BBL is exiting system
124821.dyl02703app004!BRIDGE.6552.3107280480.0: CMDTUX_CAT:493: INFO: Waiting for orderly release to exit
124821.dyl02703app004!BRIDGE.6552.3107280480.0: CMDTUX_CAT:1372: INFO: Orderly disconnect from dyl02703app003
124821.dyl02703app004!BRIDGE.6552.3107280480.0: CMDTUX_CAT:494: INFO: BRIDGE exiting system
124821.dyl02703app004!DBBL.6549.2312255072.0: CMDTUX_CAT:403: INFO: The DBBL is exiting system
130551.dyl02703app004!tmloadcf.8507.4283158768.-2: 03-21-2011: Tuxedo Version 11.1.1.2.0, 64-bit
130551.dyl02703app004!tmloadcf.8507.4283158768.-2: CMDTUX_CAT:872: INFO: TUXCONFIG file /eai/app/tuxedo/ispss32/appdir/tuxconfig has been updated
130607.dyl02703app004!DBBL.8526.2578441824.0: 03-21-2011: Tuxedo Version 11.1.1.2.0, 64-bit
143750.dyl02703app004!DBBL.13779.2458216032.0: CMDTUX_CAT:4350: INFO: BBL started on AdminNode - Release 11112
143750.dyl02703app004!BBL.13780.834176608.0: 03-21-2011: Tuxedo Version 11.1.1.2.0, 64-bit, Patch Level (none)
143750.dyl02703app004!BBL.13780.834176608.0: LIBTUX_CAT:262: INFO: Standard main starting
143750.dyl02703app004!BRIDGE.13787.3089552992.0: 03-21-2011: Tuxedo Version 11.1.1.2.0, 64-bit
143750.dyl02703app004!BRIDGE.13787.3089552992.0: LIBTUX_CAT:262: INFO: Standard main starting
143755.dyl02703app004!DBBL.13779.2458216032.0: CMDTUX_CAT:4350: INFO: BBL started on bsdadapter1 - Release 11112
143755.dyl02703app004!BRIDGE.13787.3089552992.0: CMDTUX_CAT:1371: INFO: Connection received from dyl02703app003
143756.dyl02703app004!DMADM.13788.2314880912.0: 03-21-2011: Tuxedo Version 11.1.1.2.0, 64-bit
143756.dyl02703app004!DMADM.13788.2314880912.0: LIBTUX_CAT:262: INFO: Standard main starting
143756.dyl02703app004!GWADM.13789.2909722288.0: 03-21-2011: Tuxedo Version 11.1.1.2.0, 64-bit
143756.dyl02703app004!GWADM.13789.2909722288.0: LIBTUX_CAT:262: INFO: Standard main starting
143756.dyl02703app004!GWTDOMAIN.13790.3345909344.0: 03-21-2011: Tuxedo Version 11.1.1.2.0, 64-bit
143756.dyl02703app004!GWTDOMAIN.13790.3345909344.0: LIBTUX_CAT:262: INFO: Standard main starting
143756.dyl02703app004!GWTDOMAIN.13790.1141532992.0: LIBGWT_CAT:1249: WARN: Connection to WTC1 address //10.35.25.47:61006 failed, Network error(115)
143756.dyl02703app004!GWTDOMAIN.13790.1141532992.0: LIBGWT_CAT:1304: WARN: No more remote domain address for remote domain WTC1
143756.dyl02703app004!GWTDOMAIN.13790.1131043136.0: LIBGWT_CAT:1500: INFO: Retrying domain (domainid=<WTC_mngd1_ispss32>) every 60 seconds
144038.dyl02703app004!DMADM.13788.2314880912.0: CMDGW_CAT:1655: INFO: DMADMSVR is exiting
144038.dyl02703app004!GWTDOMAIN.13790.1131043136.0: LIBGWT_CAT:1562: INFO: Stopped retrying domain (domainid=WTC_mngd1_ispss32)
144041.dyl02703app004!BBL.13780.834176608.0: CMDTUX_CAT:26: INFO: The BBL is exiting systemCan any one please answer to my query.
I'm trying to connect to a tuxedo remote master to one slave ,
Please find dmconfig and Ubbconfig file for the master as below,
dmconfig
*DM_LOCAL_DOMAINS
# Local Tuxedo Domains.
Admin
ACCESSPOINTID="ADMIN1"
TYPE=TDOMAIN
GWGRP="GWGRP1"
CONNECTION_POLICY=ON_STARTUP
SECURITY=NONE
# Known remote domains
*DM_REMOTE_DOMAINS
WTC1 ACCESSPOINTID="WTC_mngd1_ispss2"
ACL_POLICY="GLOBAL"
CREDENTIAL_POLICY=GLOBAL
#WTC2 ACCESSPOINTID="WTC_mngd2_ispss32"
# ACL_POLICY="GLOBAL"
# CREDENTIAL_POLICY=GLOBAL
# Known Tuxedo domain network details
*DM_TDOMAIN
Admin NWADDR="//10.35.25.47:61005"
WTC1 NWADDR="//10.35.25.47:61006"
#WTC2 NWADDR="//10.35.25.47:61002"
# Exported services
*DM_EXPORT
bsdProvision
bsdGetAccUsrDet
submitCease
queryBBOrder
# Imported services
*DM_REMOTE_SERVICES
ubbconfig
*RESOURCES
IPCKEY 123432
MASTER AdminNode
DOMAINID ISPSS
PERM 0660
MAXACCESSERS 100
MAXSERVERS 100
MAXSERVICES 1000
OPTIONS LAN
MODEL MP
LDBAL Y
SECURITY APP_PW
# machine wide information
*MACHINES
# machine name
dyl02703app004 LMID=AdminNode
TUXDIR="/software/bea/tuxedo/tuxedo11gR1"
APPDIR="/eai/app/tuxedo/ispss32/appdir"
ENVFILE="/eai/app/tuxedo/ispss32/env/envfile"
ULOGPFX="/eai/app/tuxedo/ispss32/logs/ULOG"
TUXCONFIG="/eai/app/tuxedo/ispss32/appdir/tuxconfig"
dyl02703app003 LMID=bsdadapter1
TUXDIR="/software/bea/tuxedo/tuxedo11gR1"
APPDIR="/opt/tuxedo/ispss32/appdir"
ULOGPFX="/opt/tuxedo/ispss32/logs/ULOG"
ENVFILE="/opt/tuxedo/ispss32/env/envfile"
TUXCONFIG="/opt/tuxedo/ispss32/appdir/tuxconfig"
UID=7080
GID=502
# group wide information
*GROUPS
# Groups
Admin GRPNO=1000 LMID=AdminNode
BSDgrp GRPNO=1600 LMID=bsdadapter1
# Domain Group
DMADMGRP GRPNO=2000 LMID=AdminNode
# Gateway Groups
GWGRP1 GRPNO=3000 LMID=AdminNode
*NETWORK
AdminNode NADDR="//10.35.25.47:30002"
NLSADDR="//10.35.25.47:30003"
bsdadapter1 NADDR="//10.35.25.46:30002"
NLSADDR="//10.35.25.46:30003"
# server specific information
*SERVERS
# Adapters
DEFAULT: REPLYQ=N RESTART=Y MAXGEN=10 CLOPT="-A"
BSDA SRVGRP=BSDgrp SRVID=4400
MIN=5 RQADDR=BSDA_RQ REPLYQ=Y
CLOPT="-A -- -C /opt/tuxedo/ispss32/cfg/bsda.cfg"
# Domain administrator
DMADM
SRVGRP=DMADMGRP
SRVID=5000
# gateway administration servers
GWADM
SRVGRP=GWGRP1
SRVID=6000
# tuxedo gateway servers
GWTDOMAIN
SRVGRP=GWGRP1
SRVID=7000
# Authentication Server
#AUTHSVR SRVGRP=Admin
# MIN=2
# MAX=5
# SRVID=8000
#AUTHSVR SRVGRP=BackUp
# MIN=2
# MAX=5
# SRVID=8100
# Service specific information
*SERVICES
# Data dependent routing information
*ROUTING -
I restarted the server and OLT browser page is not displaying. It throws a normal error.
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
version OATS 12.3.0.1Hey,
Open services.msc
Restart Oracle ATS Server in services.
Then try...
Cheers,
Deepu M -
Help required urgently - Errors are taking over
So I went to the Apple store in Exeter (UK) to have my 3rd iPhone swapped as it had yet another problem. As usual they swapped it for another one with out to much issue.
I left the store and first I got a 'no service' issue. Then the phone started to crash. I went straight back to the store and they updated the firmware to 2.1 and they though the 'no service' might be resolved after a few hours when O2 (the UK service provider) updated their computer systems with the new the serial number of my new phone.
I went home and hooked it up to itunes. iPhone crashed. I did a restore as a new phone. Then the real problems started. I have been getting the following error messages.
- Attempting to copy the disk "Thomo's iphone" failed device not connected.
-Phone reset itself
- itunes could not connect to the iphone because an invalid response was recieved from the device.
also had an error message with the code " OXE8000035 "
So far the best I have been able to do is reset the phone and sync about 4GB of data then it crashes.
Does anyone have any idea what is going on?PS: I've also tried to sync without the sim in but still no joy. When the phone is not crashing every thing else (ipod, cal, setting etc. all work ok)
-
SSL help required : urgent !!!
I have been trying to setup OC4J in 2 way SSL mode for a couple of days but have been facing some issues with it.
I see these some errors when I access it from IE
<MSG_TEXT>Exception in SelectionKey cancel</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[java.lang.NullPointerException
at oracle.oc4j.network.ServerSocketAcceptHandler$IdleHandlers.closeIdleHandler(ServerSocketAcceptHandler.java:583)
at oracle.oc4j.network.ServerSocketAcceptHandler$IdleHandlers.expireHandlers(ServerSocketAcceptHandler.java:604)
at oracle.oc4j.network.ServerSocketAcceptHandler.selectorThreadHouseKeeping(ServerSocketAcceptHandler.java:217)
at oracle.oc4j.network.NIOServerSocketDriver.selfHouseKeeping(NIOServerSocketDriver.java:129)
at oracle.oc4j.network.NIOServerSocketDriver.run(NIOServerSocketDriver.java:149)
at com.evermind.server.http.HttpConnectionListener.run(HttpConnectionListener.java:294)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
at java.lang.Thread.run(Thread.java:595)
]]></SUPPL_DETAIL>
Could anybody help me with this!!! Provide me appropriate pointers for setting up OC4J in 2 way SSL mode. I have been searching for documents but have not been able to find it.
I would also like to send the certificate programatically so is there any sample code available for that.
Thanks in advance.....
NileshThanks for the prompt reply. I have another difficulty see if you can help
This is the output that is generated in the JDeveloper console on running the example from b14429.pdf (OC4J guide). Examle :
====================================================
import HTTPClient.HTTPConnection;
import HTTPClient.HTTPResponse;
import javax.security.cert.X509Certificate;
import oracle.security.ssl.OracleSSLCredential;
import java.io.IOException;
import javax.net.ssl.SSLPeerUnverifiedException;
public class SSLSocketClientWithClientAuth {
public static void main(String[] args) {
if (args.length < 4) {
System.out.println("Usage: java HTTPSConnectionTest [host] [port] " +
"[wallet] [password]");
System.exit(-1);
String hostname = args[0].toLowerCase();
int port = Integer.decode(args[1]).intValue();
String walletPath = args[2];
String password = args[3];
HTTPConnection httpsConnection = null;
OracleSSLCredential credential = null;
try {
httpsConnection = new HTTPConnection("https", hostname, port);
} catch (IOException e) {
System.out.println("HTTPS Protocol not supported");
System.exit(-1);
try {
credential = new OracleSSLCredential();
credential.setWallet(walletPath, password);
} catch (IOException e) {
System.out.println("Could not open wallet");
System.exit(-1);
httpsConnection.setSSLEnabledCipherSuites(new String[]{"SSL_RSA_WITH_3DES_EDE_CBC_SHA"});
httpsConnection.setSSLCredential(credential);
try {
httpsConnection.connect();
} catch (IOException e) {
System.out.println("Could not establish connection");
e.printStackTrace();
System.exit(-1);
// X509Certificate x509 = new X509Certificate();
//javax.servlet.request.
X509Certificate[] peerCerts = null;
try {
peerCerts =
(httpsConnection.getSSLSession()).getPeerCertificateChain();
} catch (javax.net.ssl.SSLPeerUnverifiedException e) {
System.err.println("Unable to obtain peer credentials");
e.printStackTrace();
System.exit(-1);
String peerCertDN =
peerCerts[peerCerts.length - 1].getSubjectDN().getName();
peerCertDN = peerCertDN.toLowerCase();
if (peerCertDN.lastIndexOf("cn=" + hostname) == -1) {
System.out.println("Certificate for " + hostname +
" is issued to " + peerCertDN);
System.out.println("Aborting connection");
System.exit(-1);
try {
HTTPResponse rsp = httpsConnection.Get("/");
System.out.println("Server Response: ");
System.out.println(rsp);
} catch (Exception e) {
System.out.println("Exception occured during Get");
e.printStackTrace();
System.exit(-1);
================================================================
C:\j2sdk1.4.2_09\bin\javaw.exe -client -classpath "D:\eclipse\workspace\OC4JClient\OC4JClient\classes;D:\eclipse\workspace\jdev\extensions\.jar;C:\Documents and Settings\nilesh_bafna\Desktop\Nitin\lib\jssl-1_1.jar;E:\product\10.1.3.1\OracleAS_1\j2ee\home\lib\http_client.jar;E:\product\10.1.3.1\OracleAS_1\jlib\javax-ssl-1_1.jar" -Djava.protocol.handler.pkgs=HTTPClient -Djavax.net.debug=ssl -Djavax.net.ssl.keyStore=F:/oc4jcert/client.keystore -Djavax.net.ssl.keyStorePassword=welcome1 -Djavax.net.ssl.trustStore=F:/oc4jcert/client.keystore -Djavax.net.ssl.trustStorePassword=welcome1 -DOracle.ssl.defaultCipherSuites=SSL_RSA_WITH_RC4_128_MD5 SSLSocketClientWithClientAuth ps4372.persistent.co.in 443 F:/oc4jcert/client.keystore welcome1
keyStore is : F:/oc4jcert/client.keystore
keyStore type is : jks
init keystore
init keymanager of type SunX509
found key for : oracle-client
chain [0] = [
Version: V3
Subject: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
Key: SunJSSE RSA public key:
public exponent:
010001
modulus:
87fcc8e9 0ffcef8e 61f3be10 be7c9715 2792849b 3bbdeb1c cc76b337 4b82bbab
86972c63 9af3adfd 35b5df99 9078a0d1 6dc760d8 0549a95a bfa7648a 9eadd326
a6bc4b61 d8f8b42f 44e0b178 ff1dee20 db8406cd d800c26a 9c5a6ed9 4d6f2aef
bc919814 3b46be39 e129280c e83afe12 c9d4e3d7 fb5787b1 d98bed4a 4f0833d5
Validity: [From: Thu Jan 18 21:18:14 GMT+05:30 2007,
To: Wed Apr 18 21:18:14 GMT+05:30 2007]
Issuer: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
SerialNumber: [ 45af96be]
Algorithm: [MD5withRSA]
Signature:
0000: 41 47 35 41 90 10 E3 77 A7 F3 F5 81 37 49 4F 57 AG5A...w....7IOW
0010: 01 11 82 A2 FB 69 46 E8 18 6C EE 11 23 A6 67 2E .....iF..l..#.g.
0020: 68 4D D6 A6 E7 09 45 24 58 18 9A E5 44 49 10 9B hM....E$X...DI..
0030: F1 EC 99 4A 45 5F A4 4F 71 3F 05 3D 45 29 42 CD ...JE_.Oq?.=E)B.
0040: 11 87 DA 0C AA DC 55 4E CF 22 4A 94 85 CB E5 EB ......UN."J.....
0050: BA E1 10 D2 C8 80 2C 6B 65 94 13 01 1F 6E 18 C3 ......,ke....n..
0060: 87 33 8C 65 C7 03 16 03 24 FB 0D B0 6D D8 E7 AA .3.e....$...m...
0070: A1 A5 48 90 0D D6 8C 47 50 2A AA 7C 7B 14 E5 B7 ..H....GP*......
trustStore is: F:\oc4jcert\client.keystore
trustStore type is : jks
init truststore
adding as trusted cert:
Subject: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
Issuer: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
Algorithm: RSA; Serial number: 0x45af96be
Valid from Thu Jan 18 21:18:14 GMT+05:30 2007 until Wed Apr 18 21:18:14 GMT+05:30 2007
adding as trusted cert:
Subject: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
Issuer: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
Algorithm: RSA; Serial number: 0x45af95dc
Valid from Thu Jan 18 21:14:28 GMT+05:30 2007 until Wed Apr 18 21:14:28 GMT+05:30 2007
init context
trigger seeding of SecureRandom
done seeding SecureRandom
%% No cached client session
*** ClientHello, TLSv1
RandomCookie: GMT: 1152299454 bytes = { 41, 212, 166, 48, 109, 77, 185, 232, 204, 95, 158, 141, 60, 96, 196, 172, 49, 19, 49, 22, 222, 234, 47, 76, 27, 130, 5, 176 }
Session ID: {}
Cipher Suites: [SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_DES_CBC_SHA, SSL_DHE_RSA_WITH_DES_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA]
Compression Methods: { 0 }
main, WRITE: TLSv1 Handshake, length = 73
main, WRITE: SSLv2 client hello message, length = 98
main, READ: TLSv1 Handshake, length = 839
*** ServerHello, TLSv1
RandomCookie: GMT: 1152299454 bytes = { 206, 186, 162, 116, 179, 72, 44, 198, 189, 25, 70, 227, 170, 235, 83, 186, 152, 49, 194, 222, 248, 3, 191, 170, 248, 95, 134, 35 }
Session ID: {69, 175, 178, 190, 47, 141, 131, 115, 241, 226, 39, 29, 241, 65, 235, 165, 57, 40, 52, 85, 68, 85, 68, 84, 108, 141, 1, 125, 193, 191, 158, 208}
Cipher Suite: SSL_RSA_WITH_RC4_128_MD5
Compression Method: 0
%% Created: [Session-1, SSL_RSA_WITH_RC4_128_MD5]
** SSL_RSA_WITH_RC4_128_MD5
*** Certificate chain
chain [0] = [
Version: V3
Subject: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
Key: SunJSSE RSA public key:
public exponent:
010001
modulus:
6f24d75b 96919725 ad6ea93a cab0bd96 a49d2f3c e14f5c09 0e228e36 de64e0f2
f2b82740 1653bdb4 5024d281 21ed8c4c 89bc322b 4dc9ffb2 0e97cd95 16e6fe1e
380340c9 f3c67e2c 18d06461 f4f30eaf 4394716e 7bc66d80 810a9cb5 9c168b36
cdd99919 67074ebc edebf02e ebf0accb 2193bc38 7ae1cdda af5ff300 ed0e7763
Validity: [From: Thu Jan 18 21:14:28 GMT+05:30 2007,
To: Wed Apr 18 21:14:28 GMT+05:30 2007]
Issuer: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
SerialNumber: [ 45af95dc]
Algorithm: [MD5withRSA]
Signature:
0000: 05 4E EE 12 5B DD 7F 26 92 37 67 C9 D0 73 46 4D .N..[..&.7g..sFM
0010: 7E A5 1E 67 38 06 D9 5F 9F B7 2F E8 F6 9E BF 88 ...g8.._../.....
0020: 01 31 7D EA 42 5E 4F 9E D7 8F DA 9F 94 A5 EF 47 .1..B^O........G
0030: E3 E9 BA DE 94 15 C6 03 DE C9 C0 7D CE 58 C0 27 .............X.'
0040: 0F 1A 66 EC 73 53 5D 1D DE 7E FA 35 15 E0 2A CC ..f.sS]....5..*.
0050: C9 74 CC 58 E9 B6 2F 68 A0 89 2B F3 E6 61 7D E1 .t.X../h..+..a..
0060: 21 AF BE E8 83 49 B1 BD 36 C5 2D 1B 0D A1 0E 63 !....I..6.-....c
0070: 02 4A 82 71 B0 E1 9C AD 55 67 F9 17 A5 96 18 EB .J.q....Ug......
Found trusted certificate:
Version: V3
Subject: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
Key: SunJSSE RSA public key:
public exponent:
010001
modulus:
6f24d75b 96919725 ad6ea93a cab0bd96 a49d2f3c e14f5c09 0e228e36 de64e0f2
f2b82740 1653bdb4 5024d281 21ed8c4c 89bc322b 4dc9ffb2 0e97cd95 16e6fe1e
380340c9 f3c67e2c 18d06461 f4f30eaf 4394716e 7bc66d80 810a9cb5 9c168b36
cdd99919 67074ebc edebf02e ebf0accb 2193bc38 7ae1cdda af5ff300 ed0e7763
Validity: [From: Thu Jan 18 21:14:28 GMT+05:30 2007,
To: Wed Apr 18 21:14:28 GMT+05:30 2007]
Issuer: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
SerialNumber: [ 45af95dc]
Algorithm: [MD5withRSA]
Signature:
0000: 05 4E EE 12 5B DD 7F 26 92 37 67 C9 D0 73 46 4D .N..[..&.7g..sFM
0010: 7E A5 1E 67 38 06 D9 5F 9F B7 2F E8 F6 9E BF 88 ...g8.._../.....
0020: 01 31 7D EA 42 5E 4F 9E D7 8F DA 9F 94 A5 EF 47 .1..B^O........G
0030: E3 E9 BA DE 94 15 C6 03 DE C9 C0 7D CE 58 C0 27 .............X.'
0040: 0F 1A 66 EC 73 53 5D 1D DE 7E FA 35 15 E0 2A CC ..f.sS]....5..*.
0050: C9 74 CC 58 E9 B6 2F 68 A0 89 2B F3 E6 61 7D E1 .t.X../h..+..a..
0060: 21 AF BE E8 83 49 B1 BD 36 C5 2D 1B 0D A1 0E 63 !....I..6.-....c
0070: 02 4A 82 71 B0 E1 9C AD 55 67 F9 17 A5 96 18 EB .J.q....Ug......
*** CertificateRequest
Cert Types: RSA, DSS,
Cert Authorities:
<CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US>
*** ServerHelloDone
matching alias: oracle-client
*** Certificate chain
chain [0] = [
Version: V3
Subject: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
Key: SunJSSE RSA public key:
public exponent:
010001
modulus:
87fcc8e9 0ffcef8e 61f3be10 be7c9715 2792849b 3bbdeb1c cc76b337 4b82bbab
86972c63 9af3adfd 35b5df99 9078a0d1 6dc760d8 0549a95a bfa7648a 9eadd326
a6bc4b61 d8f8b42f 44e0b178 ff1dee20 db8406cd d800c26a 9c5a6ed9 4d6f2aef
bc919814 3b46be39 e129280c e83afe12 c9d4e3d7 fb5787b1 d98bed4a 4f0833d5
Validity: [From: Thu Jan 18 21:18:14 GMT+05:30 2007,
To: Wed Apr 18 21:18:14 GMT+05:30 2007]
Issuer: CN=ps4372.persistent.co.in, OU=Marketing, O=Oracle, L=Atlanta, ST=Georgia, C=US
SerialNumber: [ 45af96be]
Algorithm: [MD5withRSA]
Signature:
0000: 41 47 35 41 90 10 E3 77 A7 F3 F5 81 37 49 4F 57 AG5A...w....7IOW
0010: 01 11 82 A2 FB 69 46 E8 18 6C EE 11 23 A6 67 2E .....iF..l..#.g.
0020: 68 4D D6 A6 E7 09 45 24 58 18 9A E5 44 49 10 9B hM....E$X...DI..
0030: F1 EC 99 4A 45 5F A4 4F 71 3F 05 3D 45 29 42 CD ...JE_.Oq?.=E)B.
0040: 11 87 DA 0C AA DC 55 4E CF 22 4A 94 85 CB E5 EB ......UN."J.....
0050: BA E1 10 D2 C8 80 2C 6B 65 94 13 01 1F 6E 18 C3 ......,ke....n..
0060: 87 33 8C 65 C7 03 16 03 24 FB 0D B0 6D D8 E7 AA .3.e....$...m...
0070: A1 A5 48 90 0D D6 8C 47 50 2A AA 7C 7B 14 E5 B7 ..H....GP*......
JsseJCE: Using JSSE internal implementation for cipher RSA/ECB/PKCS1Padding
*** ClientKeyExchange, RSA PreMasterSecret, TLSv1
Random Secret: { 3, 1, 236, 206, 185, 158, 75, 201, 230, 16, 170, 40, 193, 70, 188, 134, 36, 134, 14, 20, 191, 121, 246, 8, 7, 2, 137, 66, 166, 10, 185, 246, 104, 154, 27, 82, 161, 133, 11, 130, 11, 130, 71, 84, 155, 165, 239, 227 }
main, WRITE: TLSv1 Handshake, length = 763
SESSION KEYGEN:
PreMaster Secret:
0000: 03 01 EC CE B9 9E 4B C9 E6 10 AA 28 C1 46 BC 86 ......K....(.F..
0010: 24 86 0E 14 BF 79 F6 08 07 02 89 42 A6 0A B9 F6 $....y.....B....
0020: 68 9A 1B 52 A1 85 0B 82 0B 82 47 54 9B A5 EF E3 h..R......GT....
CONNECTION KEYGEN:
Client Nonce:
0000: 45 AF B2 BE 29 D4 A6 30 6D 4D B9 E8 CC 5F 9E 8D E...)..0mM..._..
0010: 3C 60 C4 AC 31 13 31 16 DE EA 2F 4C 1B 82 05 B0 <`..1.1.../L....
Server Nonce:
0000: 45 AF B2 BE CE BA A2 74 B3 48 2C C6 BD 19 46 E3 E......t.H,...F.
0010: AA EB 53 BA 98 31 C2 DE F8 03 BF AA F8 5F 86 23 ..S..1......._.#
Master Secret:
0000: CA 5C BA B3 D0 C9 26 A9 3A 06 08 8F 27 2E CE 17 .\....&.:...'...
0010: 93 98 BC DF EF 78 2A 99 DB 3E 50 3B 01 D1 84 5F .....x*..>P;..._
0020: 28 80 CE 7C 7C C1 12 A4 11 F6 33 9B 2E D9 6F BE (.........3...o.
Client MAC write Secret:
0000: 80 FF CE 99 7C 45 4C D8 60 FA 40 79 A2 A4 36 7C .....EL.`[email protected].
Server MAC write Secret:
0000: 2D F1 A0 A8 ED A1 7B DD 89 A5 01 90 43 BF F1 19 -...........C...
Client write key:
0000: E1 3F 33 54 D3 C5 3A 26 4A 41 65 DA AC 44 3B 28 .?3T..:&JAe..D;(
Server write key:
0000: C5 08 52 AE A9 0A 4F D0 AD 54 49 C6 4E 2F 9C 4E ..R...O..TI.N/.N
... no IV for cipher
JsseJCE: Using JSSE internal implementation for cipher RSA/ECB/PKCS1Padding
*** CertificateVerify
main, WRITE: TLSv1 Handshake, length = 134
main, WRITE: TLSv1 Change Cipher Spec, length = 1
main, handling exception: java.net.SocketException: Software caused connection abort: socket write error
main, SEND TLSv1 ALERT: fatal, description = unexpected_message
main, WRITE: TLSv1 Alert, length = 2
Exception sending alert: java.net.SocketException: Software caused connection abort: socket write error
main, called closeSocket()
IOException in getSession(): java.net.SocketException: Software caused connection abort: socket write error
Unable to obtain peer credentials
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificateChain(DashoA12275)
at SSLSocketClientWithClientAuth.main(SSLSocketClientWithClientAuth.java:56)
Process exited with exit code -1.
=====================================================
I think this is the problem with ciphers. So can anybody please help me with this!!!. This is very urgent!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Thanks in advance
Nilesh -
Activation of update rule :Help Required Urgently!!
Hi
I am not able to activate an update rule from an ods to cube.
In the start routine I am populating ITAB with amt when I add the following code in the update routine for amt :
READ TABLE ITAB WITH KEY RECORD_NO.
RESULT = ITAB-AMT.
I am unable to activate and get the to check error.
the data object 'g_s_kb' does not hav a component called /bic/bspart
The object specified in the error was earlier present in the comm. structure of the infosource (ZT_RPM_ITEM_D) which loads the ods ZRPM_OA1
I am getting this error in the update rule of the cube which I am updating from this ods.
When I encountered this error I removed that info object ZBSPART from the comm. structure.
It is not present in any of the objects now. Also I had recreated both the update rules after I removed that info object from comm. structure.
Kindly provide pointers to the same.Hi,
Yeah the object was initally itslef only in the comm structure which i deleted
After deleting it i deleted both URs and recreated them
Still gegtting the issue....
Please provide any leads to this strange problem!
Thank you,
Regards,
Rathy -
J2ME Help required (URGENT !!!)
Hello everyone,
Well I'm a newbie to this J2ME thing, I am working on a project right now which requires me to develop an application for my mobile phone Sony Ericsson W810i. This application accesses the on board camera and take images after every 1 sec and keep on saving the last 2 images in 2 different files or buffers. Once the images are obtained, Sobel Filter (Image processing) is applied on it for edge detection. Can anyone please help me with this all, I am really desperate and time is running out.
At the moment, I found this code on Sony Ericsson Developer forums which works perfectly fine with my W810i, the link to the code is as follows,
http://developer.sonyericsson.com/site/global/techsupport/tipstrickscode/java/p_java_0403.jsp
Well this takes one image and shows it on the canvas, however I am still trying to figure out a way to remove the question it asks whenever i press the button SNAPSHOT, it asks "Do u want to allow the application to access Camera?", is there a way to remove this as well. Please let me know.
Last thing, the getSnapshot is used as vc.getSnapshot(null), i read and changed it to vc.getSnapshot("encoding=jpeg");
This works fine with my mobile as well, but now i cant find any help on how to apply image processing on this encoded jpeg !!! Well please reply, as much as u know, u dun have to answer all the questions, any information regarding this is helpful, I'll be extremely grateful !!!
Thanks a lot,
Regards,
Mubin KhanHi mobeenkhan
You know, people are helping out voluntarily here. So it always helps to ask nicely. :-)
This is what you need to know (not really, since you probably won't use it)
A signed MIDlet may request higher access rights for specific actions by asking for them in the MIDlet-Permissions attribute of the MIDlet’s application descriptor.
The permission name for audio / video recording is:
javax.microedition.media.control.RecordControl
The permission name for camera snapshot is:
javax.microedition.media.control.VideoControl.getSnapshot
Try a Google search for "jad permissions midlet media camera".
And check whether, in your SE W810i, you can set the pernission for camera ( it may be called media access etc.) to 'Ask once per application' or something like that. This will be set from the File Manager (or Application manager, I haven't handled the W810i, only SE I've dealt with is the k700i), not when the app is running.
If your application isn't digitally signed, you probably won't be able to select a setting like 'Never Ask' -- and a digital signature can be fairly expensive, not something you might want to go for unless you're going to earn something out of marketing your products.
Be nice to everybody :-)
Darryl -
Help required urgently in formulating a sql query
I need to formulate a query the detials of which are as follows
I have a table with columns
cid,st_dt,end_dt,yob,status
the data could be like
1,25-dec-99,31-dec-99,1964,null
1,01-jan-00,null,1963,null
1,27-dec-99,31-jan-00,null,a
1,04-feb-00,null,null,b
In a row in this table either yob or status
is null there can't be values for both in a single row.
Now i need an output for the above like
1,25-dec-99,27-dec-99,1964,null
1,28-dec-99,31-dec-99,1964,a
1,01-jan-00,31-jan-00,1963,a
1,01-feb-00,03-feb-00,1963,null
1,04-feb-00,null,1963,b
here as in the base table the end dt for
any row is null then it would have all the
attributes from that start dt onwards.
Can anybody help me out please. I need one sql script to get this output.
Thanks in advance.
nullHey,
Here I have assumed that the table3 has a column named effdt and if it is then,
Select t1.deptid,t2.report2dept,t2.parent_org
from table1 t1, table2 t2 , table3 t3
where t1.deptid = t2.deptid
and t2.deptid = t3.deptid
and t3.effdt = (select max(effdt) from table3 where employeeid = t3.employeeid group by employeeid);
This may help you.
Regards,
Nilesh Goswami. -
Table Maintanance Help Required-urgent
Hi All,
I generating table maintanance generator for the table zuser_Secobjects. In this table GUID is a primary key and APPLN,APPLN_TYPE,PARTNER_TYPE are the non primary keys. I am using two screens method here. on both screens i am not showing GUID ( i am hiding this field in screen1 and screen 2) whenvere new record is created for every record guid is going to create. now my reuirement when i click on position(pushbutton) name in screen 1 it has to show APPLN,APPLN_TYPE,PARTNER_TYPE where as these 4 fields are non primary keys . i am getting uniqire record using guid. so i am keeping guid as primary key.i can't keep these 4 fields as primary keys in the table zuser_secobjects.
anybody can faced this kind of problem if so please let me know whow to approach in this case.
thanks,
maheedhar.tHai Maheedhar,
I have also faced the related problem.
<b>Please refer the below links.</b>
<b>It will helps you a lot.</b>
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc
Table Maintenance generator is required to do Manual entries in the Table. If the requirement is to update the table only programmatically and not manually then table maint. generator is not required.
Manual entries in table can be maintained ( New record can be inserted / existing can be modified ) using transaction SM 30, if the table maintenance for the table is generated.
<b>Don'forget to activate it.</b>
How to activate Table maint.
Goto SE11 and open the table.
Click UTILITIES -> Table Maint. Generator, Enter the details and click on Save. Then activate the table.
<b>Please refer the below links.</b>
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc
<b>Reward points if it helps you.</b>
Regds,
Rama chary.Pammi -
Purchase Requisition Release Strategy ---- help required urgently.
Hello all,
I have one severe problem in PR release strategy. Whenever we create a PR the Release is triggering but the name of the processer who will release this PR is not triggering. I have done the PO13, where the HR positions are maintained as per the release levels and PA30 where the SAP user ids of these processers is given. But still the processor name is not triggering. Is there any other transaction where we have to maintain certain data?? Kindly help me as this is an urgent issue.
I will be very glad and give points to all of u.
Thanks and Regards,
Umakanth.hi,
Check your release codes and its assignments in the release strategy..
Also do check whether the PR is liable to trigger for the given characteristics as compared to your PR which you are making...
Regards
Priyanka.P -
I m doing my application using JPanel which contains labels, textfields and buttons.
Now I want to print this panel. Is it possible to print a JPanel. IF yes, then plz help me as I m stuck up into this big problem and due to which I m not able to complete my project.
I tried many codes of printing, but I wasn�t able to print it. One of the code is given below which gives me an error in MouseListener and MouseEvent.
//*********** Main User Interface Class ************
public class ComponentPrintingTestUI extends JFrame implements MouseListener {
//private static MyTextPane myTextPane;
private static MyJPanel myJPanel;
public ComponentPrintingTestUI() {
initComponents();
private void initComponents() {
JFrame frame = new JFrame("ComponentPrintingTest");
//JPanel contentPanel1 = new JPanel();
//JPanel contentPanel2 = new JPanel();
JPanel contentPanel3 = new JPanel();
JPanel contentPanel4 = new JPanel();
contentPanel3.setMaximumSize(new Dimension(270,170));
contentPanel3.setMinimumSize(new Dimension(270,170));
contentPanel3.setPreferredSize(new Dimension(270,170));
//JButton textPrint = new JButton("Print TextPane");
//textPrint.addMouseListener(this);
JButton panelPrint = new JButton("Print JPanel");
panelPrint.addMouseListener(this);
//myTextPane = new MyTextPane();
//myTextPane.setEditable(false);
myJPanel = new MyJPanel();
//contentPanel1.add(myTextPane, BorderLayout.CENTER);
//contentPanel2.add(textPrint, BorderLayout.CENTER);
contentPanel3.add(myJPanel, BorderLayout.CENTER);
contentPanel4.add(panelPrint, BorderLayout.CENTER);
//frame.add(contentPanel1, BorderLayout.NORTH);
//frame.add(contentPanel2, BorderLayout.CENTER);
frame.add(contentPanel3, BorderLayout.NORTH);
frame.add(contentPanel4, BorderLayout.SOUTH);
frame.setSize(1280,1024);
frame.setVisible(true);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
public void mouseClicked(MouseEvent arg0) {
// EditorFrame extends JFrame and has all the, well, editing stuff
//EditorFrame frame = ClerkUtilities.getEventSourceFrame(e); // method simply grabs the source frame
//PrintableTextPane tp = frame.getTextPane();
PrinterJob printJob = PrinterJob.getPrinterJob();
//PageFormat pf = printJob.defaultPage();
//pf.setOrientation(PageFormat.LANDSCAPE);
printJob.setPrintable(myJPanel);
if (printJob.printDialog())
try
printJob.print();
} // end try
catch (Exception ex)
ex.printStackTrace();
} // end Exception catch
} // end if
//*********** Custom JPanel Class *************
public class MyJPanel extends JPanel implements Printable {
public MyJPanel() {
initComponents();
private void initComponents() {
this.setMaximumSize(new Dimension(270,170));
this.setMinimumSize(new Dimension(270,170));
this.setPreferredSize(new Dimension(270,170));
this.setBackground(Color.GRAY);
public void paint(Graphics g) {
super.paintComponent(g);
Graphics2D g2 = (Graphics2D) g;
g2.drawString("Sample drawstring", 20, 20);
g2.drawString("Bottom line", 20, 150);
public int print(Graphics g, PageFormat pageFormat, int pageIndex) throws PrinterException
/* get component width and table height */
Dimension dimension = this.getSize();
double compWidth = dimension.width;
double compHeight = dimension.height;
System.out.println("Comp width: " + compWidth);
System.out.println("Comp height: " + compHeight);
Paper card = pageFormat.getPaper();
card.setImageableArea(0, 0, 153, 243);
card.setSize(153,243);
pageFormat.setPaper(card);
pageFormat.setOrientation(PageFormat.LANDSCAPE);
/* get page width and page height */
//double pageWidth = pageFormat.getImageableWidth();
//double pageHeight = pageFormat.getImageableHeight();
//double scale = pageWidth / compWidth;
//double scale = compWidth / pageWidth;
//System.out.println("Page width: " + pageWidth);
//System.out.println("Page height: " + pageHeight);
//System.out.println("Scale: " + scale);
/* calculate the no. of pages to print */
//final int totalNumPages= (int)Math.ceil((scale * compHeight) / pageHeight);
if (pageIndex > 3)
System.out.println("Total pages: " + pageIndex);
return(NO_SUCH_PAGE);
} // end if
else
Graphics2D g2d = (Graphics2D)g;
g2d.translate(pageFormat.getImageableX(), pageFormat.getImageableY());
System.out.println("Coords: " + pageFormat.getImageableX() + ", " + pageFormat.getImageableY());
g2d.translate( 0f, 0f );
//g2d.translate( 0f, -pageIndex * pageHeight );
//g2d.scale( scale, scale );
this.paint(g2d);
return(PAGE_EXISTS);
} // end else
} // end print()
//*********** Starter Class **********
//public class ComponentPrintingTest {
* @param args
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
ComponentPrintingTestUI ui = new ComponentPrintingTestUI();
//ui.setVisible(true);
I m a newbie to java and don�t have any idea abt printing of Panel. Plz Plz Plz help me.
Thanks in advance.mansi_b85, next time when you post a question:
- please use code tags (http://forum.java.sun.com/help.jspa?sec=formatting);
- don't flag your question as urgent which you have done in 3 of your 4 posts here. This implies that your question is more important than other people's questions and/or your time is more valuable than ours (ours as in people who (try to) answer your question). This is considered rude;
- try writing whole words instead of that horrible sms-speak (plz and abt)
- post swing related questions in the swing forum.
Thanks. -
DME configuration help required -urgent
Hi All,
I have setup the ACH transfer, and for that i need DME setup for that,
I am new to it, and so can anyone gide me how to do it.
I need some configuration and DME indicators.
I really need help asap.
Thankshi Nikil,
When configuring the payment methods for the country (transaction OBVCU), choose the payment medium program as RFFOM100.
From se38, pls read the documentation for the program, which will give you the various options & the required config too.
You would also need to configure the instructions keys as required.
To generate the DME file, you have to run the automatic payment program with this payment method.
After the payments have been successfully posted, you can go to DME administration and with the help of dme manager download files on your PC.
SAP has determined that the standard print programs for automatic payments will no longer be supported, and will be replaced by transfer structures created by a tool called the DME Engine.
This tool enables the business to create DME output files without ABAP development, and can be attached to a print program and form for the creation of Payment Advices.
Outside of the DME Engine (DMEE), the majority of the configuration takes place within the following IMG menu path:
IMG Path: Financial Accounting -> Accounts Receivable and Accounts Payable -> Business Transactions -> Outgoing Payments -> Automatic Outgoing Payments -> Payment Media -> Make Settings for Payment Media Formats from Payment Medium Workbench
Config
Assign Selection Variants
IMG -> Financial Accounting -> Accounts Receivable and Accounts Payable -> Business Transactions -> Outgoing Payments -> Automatic Outgoing Payments -> Payment Media -> Make Settings for Payment Medium Formats from Payment Medium Workbench -> Create / Assign Selection Variants or transaction
OBPM4..select your format that you are using
Check in FBZP config that all is linked!
Although this is bitty but you need to work through it!
Start with FBZP, create all there than go to DMEE either to create your own format or use the standard ones.. than go to the menu path above and work through from create to assign...
Regards
Ranjit -
Help required URGENTLY regarding 9iASWE - logged in Username
Hi,
I have installed Oracle 9iASWE. I have been able to create services and access it through ptg/rm.
One of my service needs to access the username through which the user has logged in. I have tried creating the bind variable :_User as a input parameter in my service. But i have not been able to get the user name . Can anybody tell me how do i exactly get the user name.
Please reply if more details are required to get the solution.
Please reply ASAP.
email: [email protected]
regards.Hi,
Thanks for the reply. But we are not using URL Adapter.
We are using a SQL Adapter and calling a stored procedure from it.
We are using the :_User variable to get the username, but cannot figure out a way to pass it from the SQL Adapter to the procedure.
Please help.
regards
Kamlesh
Maybe you are looking for
-
How can i create 256 colors (8 bits) jpeg ?
Dear all : The jpeg created by JPEGEncoder was in true color (24 bits) , how can i create or convert the jpeg to 256 colors . Because i want to convert the jpeg to gif in further , but the gifencoder i found can only accept the images that with 256 c
-
Elements 11 - incompatible driver
I am trying to run Adobe Elements 11 on a Samsung NP300E5C laptop on Windows 7 but it errors when I try to start a new project from the welcome screen stating that it has found an incompatible display driver and I should update (Intel(R) HD Graphics
-
My responce to Apple's request to try Photos as an Aperture user
From what I've seen and read from reviewers regarding the new Photos App, I currently have no interest. Maybe that will change but I am totally dismayed you would completely give up on the professional market and thoroughly dismantle a truly name bra
-
Nest image properties in TD background image - How
Folks, I have an image using a reflection by way of javascript call, but I want the image (with the reflection) to be the background of a table. I just don't know how to nest properly for the background of a td tag. Below is my image call outside of
-
Adding a watermark to raster maps before MapView displays users requests
Dear everyone Is it possible to create a transparent watermark overlay that Oracle can then place on top of any raster maps just before they are served via MapViewer to web browsers. I have some large raster maps which users will be able pan and zoom