Urgent help require to configure an SSL incoming socket provider
Hi,
We are using RIDC to integrate UCM with Portal application.
Also using SSL Communication for the same but we are unable to stablish a connection between portal and UCM.
We have filled the SSL provider's details as given below
Provider Name: SSL_Provider
Provider Description: For RIDC Test
Connection State: down
Last Activity Date: None
Provider Type: sslincoming
Provider Class: idc.provider.ssl.SSLSocketIncomingProvider
Provider Connection: intradoc.provider.SocketIncomingConnection
Server Thread Class: intradoc.server.IdcServerThread
Server Port: 16204
Request Client Authentication: Yes
Require Client Authentication: Yes
Keystore File Path: /ucmapp/wlserver_10.3/server/lib/DemoIdentity.jks
Alias: RIDCTest
Truststore File Path: /ucmapp/wlserver_10.3/server/lib/DemoTrust.jks
we are using the following Ports
Server Port = 16204
SSL Server Port = 16302
Intradoc Port = 9999
Somebody let us know if we are going somewhere wrong.
Thanks in Advance
Just to verify you do not have your own router/gateway correct? Your computer either connects directly into the wall or into a box provided by the ISP?
Router/gateways stop incoming requests. And if it is yours then you have to figure out how to configure it so it allows those requests through.
But presuming that you do not....
Again i wanna make it clear that nobdy is able to ping
my machine and i am also not able to ping any
ipaddress whether it be yahoo or anything else. But i
am able to access every site (ofcourse through
browser) and i am also able to use every application
which is using custom ports.
Get ethereal. Play with it a bit. Use your browser and capture what occurs so you know what is going on.
Then have someone ping you while running.
I suspect you will not see the ping packet.
What this means is that your ISP is blocking all incoming socket connection requests. You solution is ....
- Get them to open the ports up
- Get a different ISP.
The problem : nobdy is able to connect to the server
writen by me in java.
Also the client and the server are diferent. The
server waits for incoming client requests (using
sock.accept() ) while the client simply tries to
connect to server through the constructor
'Socket(ipaddress, port)'.Yes, but in one case your machine connects to something while in the other something connects to it.
One thing is clear from all this that the path to
server is not getting resolved whether i try to
connect to the server using my client or the browser
or any other application which tries to connect to an
ipaddress on a particular port.
Resolved? Resolution only occurs when you use a domain name. There is no resolution when an IP is being used. You are using an IP for all of your testing correct?
Similar Messages
-
Urgent help required for configuring forms server 6.0
Hi every one/anyone
i will really appreciate if i can get your attention and a little
bit of your help in configuration of Developer Server.
i have similar kind of a problem i hopeany one can shed some
light on it as well.
I am using
Pentium III 450 MHZ 256 MB Ram
NT server 4.0 with Service pack 3.
Oracle 8.1.5
IIS 4 or OAS 4.0.7
Developer 6.0 down loaded from OTN.
Internet Explorer 5.
I have failed to run forms 6.0 on the web, i have tried all the
option
JDK supplied with the Developer 6.0 Software on DOS prompt.
Jinitiator 1.1.7.11
When i run forms from the Designer they work But When i try them
to run form the browser Every thing works the status bar
of the Internet Explorer 5 says applet initialized but the forms
do not show up. when i press the refresh button of the browser
the status bar show applet running and a forms window appear's
but with out showing the form. I have checked from the Java
Console it shows the same error on and again with or without
jinitiator. I have almost tried every setting.
Oracle JInitiator version 1.1.7.11
Using JRE version 1.1.7.11o
User home directory = E:\WINNT\Profiles\Administrator
Proxy Configuration: Manual Configuration
Proxy:
Proxy Overrides: <local>
Opening http://an.ma/web/oracle/forms/engine/Main.class no proxy
Opening http://an.ma/web/oracle/ewt/lwAWT/BufferedApplet.class
Opening http://an.ma/web/oracle/ewt/popup/PopupApplet.class
Opening http://an.ma/web/oracle/ewt/popup/PopupOwner.class
Opening http://an.ma/web/oracle/ewt/event/tracking/MouseGrabPr
ovider.class
Opening http://an.ma/web/oracle/ewt/help/HelpCapable.class
Opening http://an.ma/web/oracle/ewt/lwAWT/ImmediatePainter.class
Opening http://an.ma/web/oracle/ewt/lwAWT/DoubleBufferer.class
Opening http://an.ma/web/oracle/ewt/lwAWT/VirtualComponent.class
Opening http://an.ma/web/oracle/ewt/lwAWT/FocusRoot.class
Opening http://an.ma/web/oracle/ewt/lwAWT/KeyProcessor.class
Opening http://an.ma/web/oracle/forms/test/Test.class
Opening http://an.ma/web/oracle/ewt/painter/PaintContext.class
Opening http://an.ma/web/oracle/ewt/lwAWT/LWComponent.class
Opening http://an.ma/web/oracle/forms/ui/mdi/MDIContainer.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWMenuBar.class
Opening
http://an.ma/web/oracle/ewt/lwAWT/lwMenu/BaseMIContainer.class
Opening
http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWMenuItemContainer.clas
s
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWMenu.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWMenuItem.class
Opening
http://an.ma/web/oracle/ewt/lwAWT/AbstractPainterComponent.class
Opening
http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWMenuInvoker.class
Opening
http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWPopupMenu.class
Opening
http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWMenuSeparator.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/Desktop.class
Opening http://an.ma/web/oracle/forms/ui/mdi/MDIWindowMenu.class
Opening
http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWPopupMenuListener.clas
s
Opening http://an.ma/web/oracle/ewt/popup/PopupFrame.class
Opening http://an.ma/web/oracle/ewt/lwAWT/BufferedFrame.class
Opening http://an.ma/web/oracle/ewt/painter/Painter.class
Opening http://an.ma/web/oracle/ewt/popup/PopupHandler.class
Opening http://an.ma/web/oracle/ewt/UIManager.class
Opening
http://an.ma/web/oracle/ewt/UIManager$LookAndFeelInfo.class
Opening http://an.ma/web/oracle/ewt/LookAndFeel.class
Opening
http://an.ma/web/oracle/bali/share/collection/StringKey.class
Opening http://an.ma/web/oracle/ewt/laf/oracle/OracleLookAndFe
el.class
Opening http://an.ma/web/oracle/ewt/laf/basic/BasicLookAndFeel
.class
Opening http://an.ma/web/oracle/ewt/painter/BorderPainter.clas s
Opening http://an.ma/web/oracle/ewt/ColorScheme.class
Opening http://an.ma/web/oracle/ewt/laf/oracle/OracleColorSche
me.class
Opening http://an.ma/web/oracle/ewt/UIDefaults.class
Opening http://an.ma/web/oracle/ewt/HashTableDefaults.class no
proxy
Opening http://an.ma/web/oracle/ewt/MultiUIDefaults.class no
proxy
Opening http://an.ma/web/oracle/ewt/laf/basic/ColorizingFilter
.class
Opening http://an.ma/web/oracle/ewt/lwAWT/VComponentPaintConte
xt.class
Opening http://an.ma/web/oracle/ewt/painter/ImagePainter.class
Opening http://an.ma/web/oracle/ewt/painter/AbstractPainter.cl
ass
Opening http://an.ma/web/oracle/ewt/laf/basic/PerComponentUIIn
stantiator.class
Opening http://an.ma/web/oracle/ewt/UIInstantiator.class no
proxy
Opening http://an.ma/web/oracle/ewt/plaf/StatusBarUI.class no
proxy
Opening http://an.ma/web/oracle/ewt/plaf/ComponentUI.class no
proxy
Opening http://an.ma/web/oracle/ewt/laf/oracle/OracleStatusBar
Painter.class
Opening http://an.ma/web/oracle/ewt/painter/AbstractBorderPain
ter.class
Opening http://an.ma/web/oracle/ewt/painter/AbstractWrappingPa
inter.class
Opening http://an.ma/web/oracle/ewt/painter/NullPainter.class
Opening http://an.ma/web/oracle/ewt/laf/oracle/OracleUIUtils.c
lass
Opening http://an.ma/web/oracle/ewt/graphics/ImageSet.class no
proxy
Opening http://an.ma/web/oracle/ewt/lwAWT/DoubleBuffer.class
Opening http://an.ma/web/oracle/ewt/plaf/TextUI.class
Opening http://an.ma/web/oracle/ewt/laf/oracle/OracleInsetBord
erPainter.class
Opening http://an.ma/web/oracle/ewt/painter/FixedBorderPainter
.class
Opening http://an.ma/web/oracle/ewt/util/ImmInsets.class no
proxy
Opening http://an.ma/web/oracle/ewt/plaf/ToolBarUI.class no
proxy
Opening http://an.ma/web/oracle/ewt/laf/oracle/OracleToolBarPa
inter.class
Opening http://an.ma/web/oracle/ewt/laf/oracle/ScrollBoxBorder
Painter.class
Opening http://an.ma/web/oracle/ewt/laf/oracle/DisabledBGPaint
er.class
Opening http://an.ma/web/oracle/ewt/painter/ColorChange.class
Opening http://an.ma/web/oracle/ewt/painter/FilledRectPainter.
class
Opening http://an.ma/web/oracle/ewt/painter/FGBGColorChange.cl
ass
Opening http://an.ma/web/oracle/ewt/laf/oracle/OracleRoundedPa
inter.class
Opening http://an.ma/web/oracle/ewt/graphics/SynthesizingImage
Set.class
Opening http://an.ma/web/oracle/ewt/graphics/NullImageFilter.c
lass
Opening http://an.ma/web/oracle/ewt/painter/ImageSetPainter.cl
ass
Opening http://an.ma/web/oracle/ewt/painter/TextPainter.class
Opening http://an.ma/web/oracle/ewt/painter/TruncatingTextPain
ter.class
Opening http://an.ma/web/oracle/ewt/laf/basic/DisablingPainter
.class
Opening http://an.ma/web/oracle/ewt/laf/basic/StringInstantiat
or.class
Opening http://an.ma/web/oracle/ewt/UIDefaults$DeferredValue.c
lass
Opening http://an.ma/web/oracle/ewt/laf/basic/SingletonUIInsta
ntiator.class
Opening http://an.ma/web/oracle/ewt/lwAWT/SharedPainter.class
Opening http://an.ma/web/javax/swing/JInternalFrame.class no
proxy
Opening http://an.ma/web/oracle/ewt/util/LocaleUtils.class no
proxy
Opening http://an.ma/web/oracle/ewt/util/WindowUtils.class no
proxy
Opening http://an.ma/web/oracle/ewt/util/WindowUtils$ActiveWin
dowTracker.class
Opening http://an.ma/web/oracle/forms/engine/MainBeanInfo.clas s
Opening http://an.ma/web/sun/beans/infos/MainBeanInfo.class no
proxy
Opening http://an.ma/web/oracle/ewt/lwAWT/BufferedAppletBeanIn
fo.class
Opening http://an.ma/web/sun/beans/infos/BufferedAppletBeanInf
o.class
Opening http://an.ma/web/oracle/ewt/popup/PopupAppletBeanInfo.
class
Opening http://an.ma/web/sun/beans/infos/PopupAppletBeanInfo.c
lass
Opening http://an.ma/web/oracle/ewt/help/HelpProvider.class no
proxy
Opening http://an.ma/web/oracle/ewt/event/AnyEventListener.cla
ss
Opening http://an.ma/web/oracle/forms/ui/FormMouseGrabProvider
.class
Opening http://an.ma/web/oracle/ewt/event/tracking/GlassMouseG
rabProvider.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/DesktopCont
ainer.class
Opening http://an.ma/web/oracle/forms/engine/Runform.class no
proxy
Opening http://an.ma/web/oracle/forms/engine/MessageHandler.cl
ass
Opening http://an.ma/web/oracle/forms/registry/MessageManager.
class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/LWWindow.cl
ass
Opening http://an.ma/web/oracle/ewt/event/tracking/KeyFilterPr
ovider.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/DesktopEven
t.class
Opening http://an.ma/web/oracle/ewt/event/EwtEvent.class no
proxy
Opening http://an.ma/web/oracle/ewt/EwtComponent.class
Opening http://an.ma/web/oracle/ewt/scrolling/Scrollable.class
Opening http://an.ma/web/oracle/ewt/dnd/Autoscroll.class no
proxy
Opening http://an.ma/web/oracle/ewt/event/tracking/GlassMouseG
rabProvider$Proxy.class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericLookAnd
Feel.class
Opening http://an.ma/web/oracle/ewt/laf/generic/SystemColorSch
eme.class
Opening http://an.ma/web/oracle/ewt/laf/generic/FixedColorSche
me.class
Opening http://an.ma/web/oracle/forms/engine/icons/splash.gif
Opening http://an.ma/web/oracle/ewt/graphics/ImageUtils.class
Opening http://an.ma/web/oracle/ewt/graphics/ImageLoader.class
Opening http://an.ma/web/oracle/forms/engine/Splashscreen.clas s
Opening http://an.ma/web/oracle/ewt/lwAWT/LWComponent$PaintCtx
t.class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericInsetBo
rderPainter.class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericRectang
lePainter.class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericDesktop
UI.class
Opening http://an.ma/web/oracle/ewt/laf/basic/BasicComponentUI
.class
Opening http://an.ma/web/oracle/ewt/laf/basic/AbstractComponen
tUI.class
Opening http://an.ma/web/oracle/ewt/plaf/DesktopUI.class no
proxy
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/WindowManag
er.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/laf/BaseWin
dowManager.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/DesktopList
ener.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/laf/MouseWi
ndowActivater.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/laf/KeyWind
owActivater.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/ModalStyle.
class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/LWWindow$Fo
cusTransferComp.class
Opening http://an.ma/web/oracle/ewt/event/tracking/TrackingUti
ls.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/DesktopCont
ainer$WindowEnum.class
Opening http://an.ma/web/oracle/ewt/event/ListenerManager.clas s
Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/DesktopLayo
ut.class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericCompone
ntUI.class
Opening http://an.ma/web/oracle/ewt/scrolling/ScrollableExcept
ion.class
Opening http://an.ma/web/oracle/forms/ui/mdi/ActivationTracker
.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/ScrollableAda
pter.class
Opening http://an.ma/web/oracle/ewt/scrolling/arrowBox/ArrowBo
x.class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericMenuBar
UI.class
Opening http://an.ma/web/oracle/ewt/plaf/MenuBarUI.class no
proxy
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/MenuBarCo
ntroller.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/PreferredRowL
ayout.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/BaseMIContain
er$AddLsnr.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWPopupMenuEv
ent.class
Opening http://an.ma/web/oracle/ewt/popup/NoPopupOwnerExceptio
n.class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericPopupMe
nuUI.class
Opening http://an.ma/web/oracle/ewt/plaf/PopupMenuUI.class no
proxy
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/PopupMenu
Controller.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/PreferredColu
mnLayout.class
Opening http://an.ma/web/oracle/forms/engine/RunformBundle_en_
US.class
Opening http://an.ma/web/oracle/forms/engine/RunformBundle.cla
ss
Opening http://an.ma/web/oracle/forms/engine/RunformBundle_en.
class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericMenuIte
mUI.class
Opening http://an.ma/web/oracle/ewt/plaf/MenuItemUI.class no
proxy
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/MenuItemC
ontroller.class
Opening http://an.ma/web/oracle/ewt/painter/AndOrStatePainterS
witcher.class
Opening http://an.ma/web/oracle/ewt/painter/AbstractPainterSwi
tcher.class
Opening http://an.ma/web/oracle/ewt/painter/DirectionalBorderP
ainter.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/KeyStroke
Painter.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/MenuItemP
ainter.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/MenuSelCo
lorChange.class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericSelecti
onPainter.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/MenuSelTe
xtColorChange.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/DragRedispatc
her.class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericMenuSep
aratorUI.class
Opening http://an.ma/web/oracle/ewt/plaf/MenuSeparatorUI.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWCheckboxMen
uItem.class
Opening http://an.ma/web/oracle/ewt/thread/Task.class
Opening http://an.ma/web/oracle/ewt/laf/generic/GenericMenuUI.
class
Opening http://an.ma/web/oracle/ewt/plaf/MenuUI.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/SubmenuIc
on.class
Opening http://an.ma/web/oracle/ewt/painter/PainterJoiner.clas s
Opening http://an.ma/web/oracle/forms/engine/icons/bgnd.gif no
proxy
Opening http://an.ma/web/oracle/ewt/painter/FixedImagePainter.
class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/HorzMenuC
ontroller.class
Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWMenuBar$Acc
elFilter.class
Opening http://an.ma/web/oracle/ewt/event/tracking/GlassMouseG
rabProvider$Disp.class
Opening http://an.ma/web/oracle/forms/handler/UICommon.class
Opening http://an.ma/web/oracle/forms/handler/IHandler.class
Opening http://an.ma/web/oracle/forms/api/IObject.class no
proxy
Opening http://an.ma/web/oracle/forms/handler/FormWindow.class
Opening http://an.ma/web/oracle/forms/engine/RunformException.
class
Opening http://an.ma/web/oracle/forms/net/Connection.class no
proxy
Opening http://an.ma/web/oracle/forms/engine/MessageHandler2.c
lass
Opening http://an.ma/web/oracle/forms/engine/FlushQueue.class
Opening http://an.ma/web/oracle/ewt/util/ClipboardProxy.class
Opening http://an.ma/web/oracle/forms/engine/Registry.class no
proxy
Opening http://an.ma/web/oracle/forms/registry/Registry.dat no
proxy
Opening http://an.ma/web/oracle/forms/registry/default.dat no
proxy
Opening http://an.ma/web/oracle/forms/net/SocketConnection.cla
ss
Opening http://an.ma/web/oracle/forms/net/EncryptedOutputStrea
m.class
Opening http://an.ma/web/oracle/forms/net/EncryptedInputStream
.class
Opening http://an.ma/web/oracle/forms/net/StreamMessageReader.
class
Opening http://an.ma/web/oracle/forms/net/StreamMessageWriter.
class
Opening http://an.ma/web/oracle/forms/engine/Message.class no
proxy
Opening http://an.ma/web/oracle/forms/engine/TerminalMessage.c
lass
Opening http://an.ma/web/oracle/forms/engine/IndexTag.class no
proxy
Opening http://an.ma/web/oracle/forms/net/SingleAccessorQueue.
class
Opening http://an.ma/web/oracle/forms/engine/DeleteMask.class
Opening http://an.ma/web/oracle/forms/engine/FontEntry.class
Forms Applet version is : 4
Opening http://an.ma/web/oracle/forms/engine/DeferredMessage.c
lass
when i press refresh on the ie5 then it says applet started
creates a window inside the browser with borders
but does now show any thing expect a few more lines in the
console window as following
Opening http://an.ma/web/oracle/ewt/util/StringUtils.class
Opening http://an.ma/web/oracle/ewt/lwAWT/BufferedPanel.class
Opening http://an.ma/web/oracle/ewt/popup/PopupPanel.class
Opening
http://an.ma/web/oracle/ewt/lwAWT/WaitingDoubleBuffer.class
Opening
http://an.ma/web/oracle/ewt/lwAWT/BalkingDoubleBuffer.class
Opening http://an.ma/web/oracle/ewt/graphics/GraphicUtils.class
Opening http://an.ma/web/oracle/ewt/util/ComponentUtils.class
Opening
http://an.ma/web/oracle/ewt/layout/DirectionalLayout.class
I hope any one can help me. I have been trying to run this thing
for almost 2 months.
bye
nullI had the same problem for the longest time... The problem is
the "SplashScreen" it hangs everything up...
My solution was add this line to your html:
<param name="splashScreen" value="no">
Good luck,
Let me know if that works..
Jeff.
mobeen (guest) wrote:
: Hi every one/anyone
: i will really appreciate if i can get your attention and a
little
: bit of your help in configuration of Developer Server.
: i have similar kind of a problem i hopeany one can shed some
: light on it as well.
: I am using
: Pentium III 450 MHZ 256 MB Ram
: NT server 4.0 with Service pack 3.
: Oracle 8.1.5
: IIS 4 or OAS 4.0.7
: Developer 6.0 down loaded from OTN.
: Internet Explorer 5.
: I have failed to run forms 6.0 on the web, i have tried all
the
: option
: JDK supplied with the Developer 6.0 Software on DOS prompt.
: Jinitiator 1.1.7.11
: When i run forms from the Designer they work But When i try
them
: to run form the browser Every thing works the status bar
: of the Internet Explorer 5 says applet initialized but the
forms
: do not show up. when i press the refresh button of the browser
: the status bar show applet running and a forms window appear's
: but with out showing the form. I have checked from the Java
: Console it shows the same error on and again with or without
: jinitiator. I have almost tried every setting.
: Oracle JInitiator version 1.1.7.11
: Using JRE version 1.1.7.11o
: User home directory = E:\WINNT\Profiles\Administrator
: Proxy Configuration: Manual Configuration
: Proxy:
: Proxy Overrides: <local>
: I hope any one can help me. I have been trying to run this
thing
: for almost 2 months.
: bye
null -
RIDC over SSL | Unable to initialize SSL incoming socket provider.
I'm trying to enable SSL for RIDC. But I'm facing issues in configuring a sslincoming provider.
I followed the steps mentioned here http://download.oracle.com/docs/cd/E21764_01/doc.1111/e10807/c09_ridc.htm#CIHBGHEG .
Used the below commands to create the keystores:
Create Keystore--
keytool -genkey -alias SecureClient -keyalg RSA -keystore keys/clientkeystore.jks -dname "cn=au.com.XXXXXX" -keypass idcidc -storepass idcidc
keytool -genkey -alias SecureServer -keyalg RSA -keystore keys/serverkeystore.jks -dname "cn=au.com.XXXXXX" -keypass idcidc -storepass idcidc
Self sign--
keytool -selfcert -alias SecureClient -keystore keys/clientkeystore.jks -keypass idcidc -storepass idcidc
keytool -selfcert -alias SecureServer -keystore keys/serverkeystore.jks -keypass idcidc -storepass idcidc
Export --
keytool -export -alias SecureClient -file keys/client_cert.cer -keystore keys/clientkeystore.jks -storepass idcidc
keytool -export -alias SecureServer -file keys/server_cert.cer -keystore keys/serverkeystore.jks -storepass idcidc
Import --
keytool -import -alias SecureClient -file keys/client_cert.cer -keystore keys/serverkeystore.jks -storepass idcidc
keytool -import -alias SecureServer -file keys/server_cert.cer -keystore keys/clientkeystore.jks -storepass idcidc
When I start the UCM server I see the following error:
javax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled.
at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.checkEnabledSuites(SSLServerSocketImpl.java:310)
at com.sun.net.ssl.internal.ssl.SSLServerSocketImpl.accept(SSLServerSocketImpl.java:255)
at intradoc.provider.SocketIncomingProvider.accept(SocketIncomingProvider.java:390)
at intradoc.provider.SocketIncomingProvider$1.run(SocketIncomingProvider.java:283)
at java.lang.Thread.run(Thread.java:662)
Please could you tell me what is wrong or let me know the correct steps. I am trying to setup a test connection between my RIDC client and the content server.
Thanks.This is related network issue.
Did you do telnet in pi server with target system ip and port?
If you use https then you need to install certificates.
Check below threads
http://scn.sap.com/thread/190299
Unable to create socket error -
Urgent HELP required on forming the Matrix of data using PL/SQL
Hi All,
I'm new to this thread and require your urgent help in this regard.
I've got a requirement for building a 5000 X 5000 matrix using PL/SQL. My original data tables have 5000 rows each and I need to do a correlation analysis using this data and need to store in a physical table and not in-memory. Is this feat achievable using mere PL/SQL? I understand that Oracle DB has a limitation of 1000 columns(but not sure) and hence I'd like to know whether there is any work-around for such scenarios. If not, what are the other alternative method(s) to achieve this feat? Do I need to use any 3rd party tools to get this done? An early reply from the experts is highly appreciated.
Thanking you all Gurus in advance.
Rgds
SaiWelcome to OTN!
I'll get to your quesiton in a moment, but first some welcome information. Many OTN posters consider it impolite to mark threads as "urgent". We are volunteers and have jobs of our own to do without people we don't know making demands. You are brand new and deserve some patience but please understand this. It is very likely before I finish this post someone will complain about the word "urgent" in your subject.
On to more interesting things :)
You can do the matrix, but are out of luck with a 5000 x 5000 table because Oracle only allows 1000 columns per table. There are ways to work around this.
How do do the matrix depends on what you want to do. You can do this different ways. You can create a table beforehand and use PL/SQL or simple SQL to populate it, or use the CREATE TABLE AS syntax to create and populate it in one step if you can get the underlying SQL to work the way you want, something like
create table my_table as
select a.*, b.*
from table1 a, table2 bcan populate a matrix from 2 tables with an intentional cartesian join (the WHERE clause was left out intentionally, provided your data is already in the data base.
If not you can use a PL/SQL routine to populate the data.
There are a couple of ways to solve the 1000 column limit. The easiest way might be to have 5 collections of 1000 columns each. A more complicated but more elegant soltion would be to have nested collections, allowing 2 colliections that you can loop through - a collection of collections. Nested collections can be hard to work with. A third way would be to use nested tables in the database but I personally do not like them and the insert, update, and delete statements for nested tables are hard to use.
I'm not going to give a code example because I am not sure which solution is best for you. If you have further questions post them. -
Urgent Help required! - Storing the XML as String instead as a file
Hi,
I need urgent help on this.
I have an XML file. I have used org.w3c.dom to build dom and manipulate the XML file.
I have updated the values for some of the nodes and I have deleted some of the unwanted nodes.
I am able to save the output of the DOM as another XML file using
either transform class or XMLSerializer with OutputFormatter class.
But my requirement is to save the output of the DOM into a String instead of a file.
When I save it in String, I need to have the following XML decalration and DOCTYPE declration also with it.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Test SYSTEM "Test.dtd">
Can anyone pls help me in this??
Thanks in Advance. Expecting some inpputs pls....!
Regards,
Gayathri.hi,
i think this is what u want
public static String getXmlString(Document d) {
StringWriter strResponse = null;
try {
OutputFormat format = new OutputFormat(d);
strResponse = new StringWriter();
XMLSerializer serial = new XMLSerializer( strResponse, format );
serial.asDOMSerializer();
serial.serialize(d.getDocumentElement());
catch (Exception e) {
System.out.println(e.toString());
return strResponse.toString();
}HTH
vasanth-ct -
Urgent help required: Query regarding LC Variables
Hi All
Sometime earlier I was working on a performance issue raised by a customer. It was shell script that was taking almost 8-9 hrs to complete. During my research I came across a fact that there were some variables which were not set, the LC variables were impacting the sort funnel operations because of which the script was taking a long time to execute.
I asked them to export the following commands, after which the program went on smoothly and finished in a couple of mins:
export LC_COLLATE=en_US.ISO8859-1
export LC_MESSAGES=C
export LC_MONETARY=en_US.ISO8859-1
export LC_MONETARY=en_US.ISO8859-1
export HZ=100
export LC_CTYPE=en_US.ISO8859-1
export LANG=en_US.UTF-8
Later I did recover that setting the LC_COLLATE to C, is not helping and the program was again taking a lot of time. Few questions that I want to ask are:
1. Can someone please tell me, what each of these variable mean and how these values make a difference.
2. When I exported LC_COLLATE=en_US.ISO8859-1, it worked fine, but when i tried with the defalut value LC_COLLATE=C, then why the program didnt work.
As this issue is still going on, hence I would request All to provide their valuable inputs and let me know as much as possible.
Appreciate your help in this regard.
Thanks
Amit
Hi All
A new development in this regard. The customer has send us a screen shot in which they were trying to export the locale variable using the commands which I have pasted above. I can see in the screen shot that while exporting LC_COLLATE and LC_TYPE, they get a message that ""ksh: export: couldn't set locale correctly"".
Request everyone to please give their inputs as it's a bit urgent.
Thanks for all the help in advance.
Thanks
Amit
Some help required please...
Edited by: amitsinhaengg on Jul 22, 2009 2:03 AM
Edited by: amitsinhaengg on Jul 22, 2009 2:06 AMLC_CTYPE
Controls the behavior of character handling functions.
LC_TIME
Specifies date and time formats, including month names, days of the week, and common full and abbreviated representations.
LC_MONETARY
Specifies monetary formats, including the currency symbol for the locale, thousands separator, sign position, the number of fractional digits, and so forth.
LC_NUMERIC
Specifies the decimal delimiter (or radix character), the thousands separator, and the grouping.
LC_COLLATE
Specifies a collation order and regular expression definition for the locale.
LC_MESSAGES
Specifies the language in which the localized messages are written, and affirmative and negative responses of the locale (yes and no strings and expressions).
You can use command
# locale -k LC_CTYPE
to see more detail about each type. -
Urgent Help Required for Connect Four Game
Hi all,
I am a student and I have a project due 20th of this month, I mean May 20, 2007 after 8 days. The project is about creating a Connect Four Game. I have found some code examples on the internet which helped me little bit. But there are lot of problems I am facing developing the whole game. I have drawn the Board and the two players can play. The players numbers can fill the board, but I have problem implementing the winner for the game. I need to implement the hasWon() method for Horizontal win, Vertical win and Diagonal win. I also found some code examples on the net but I was unable to make it working. I have 5 classes and one interface which I m implementing. The main problem is how to implement the hasWon() method in the PlayGame class below with Horizontal, vertical and diagonal moves.
Sorry there is so much code.
This the interface I must implement, but now I am only implementing the int move() of this interface. I will implement the rest later after solving the winner problem with your help.
Interface code..............
interface Player {
void init (Boolean color);
String name ();
int move ();
void inform (int i);
Player1 class......................
import java.util.*;
import java.io.*;
import javax.swing.*;
public class Player1 implements Player
public Player1()
public int move()
Scanner scan = new Scanner(System.in);
// BufferedReader stdin = new BufferedReader (new InputStreamReader(System.in));
int player1;
System.out.println ("What is your Number, player 1?");
player1 = scan.nextInt();
System.out.println ("Hey number"+player1+" are you prepared to CONNECT FOUR");
System.out.println();
return player1;
//Player.move();
//return player1;
}//end move method
public void init (Boolean color)
public void inform (int i)
public String name()
return "Koonda";
}//end player1 class
Player2 class...........................
import java.util.*;
import java.io.*;
import javax.swing.*;
public class Player2 implements Player
public int move()
//int cup0,cup1,cup2,cup3,cup4,cup5,cup6;
// cup0=5;cup1=5;cup2=5;cup3=5;cup4=5;cup5=5;cup6=5;
//int num1, num2;
Scanner scan = new Scanner(System.in);
// BufferedReader stdin = new BufferedReader (new InputStreamReader(System.in));
int player2;
System.out.println ("What is your Number, player 2?");
player2 = scan.nextInt();
System.out.println ("Hey "+player2+" are you prepared to CONNECT FOUR");
System.out.println();
//return player1;
return player2;
}//end move method
public void init (Boolean color)
public void inform (int i)
public String name()
return "malook";
}//end player1 class
PlayGame class which contains all the functionality.........................................................
import java.util.*;
import java.io.*;
import javax.swing.*;
public class PlayGame
//Player player1;
//Player player2;
int [][]ConnectFourArray;
boolean status;
int winner;
int player1;
int player2;
public PlayGame()
//this.player1 = player1;
//this.player2 = player2;
public void StartGame()
try{
// int X = 0, Y = 0;
//int value;
int cup0,cup1,cup2,cup3,cup4,cup5,cup6;
cup0=5;cup1=5;cup2=5;cup3=5;cup4=5;cup5=5;cup6=5;
int[][] ConnectFourArray = new int[6][7];
int num1, num2;
for(int limit=21;limit!=0;limit--)
BufferedReader selecter = new BufferedReader (new InputStreamReader(System.in));
String column1;
System.out.println();
for ( int row=0; row < ConnectFourArray.length; row++ ){
System.out.print("Row " + row + ": ");
for ( int col=0; col < ConnectFourArray[row].length; col++ )
System.out.print( ConnectFourArray[row][col] + " ");
System.out.println();
System.out.println();
System.out.println ("Please Select a column of 0 through 6 ");
column1 = selecter.readLine();
num1= Integer.parseInt(column1);
System.out.println();
if (num1==0){
ConnectFourArray[cup0][0]=1;
cup0=cup0-1;
else if (num1==1){
ConnectFourArray[cup1][1]=1;
cup1=cup1-1;
else if (num1==2){
ConnectFourArray[cup2][2]=1;
cup2=cup2-1;
else if (num1==3){
ConnectFourArray[cup3][3]=1;
cup3=cup3-1;
else if (num1==4){
ConnectFourArray[cup4][4]=1;
cup4=cup4-1;
else if (num1==5){
ConnectFourArray[cup5][5]=1;
cup5=cup5-1;
else if (num1==6){
ConnectFourArray[cup6][6]=1;
cup6=cup6-1;
System.out.println();
BufferedReader selecter2 = new BufferedReader (new InputStreamReader(System.in));
String column2;
System.out.println();
for ( int row=0; row < ConnectFourArray.length; row++ ){
System.out.print("Row " + row + ": ");
for ( int col=0; col < ConnectFourArray[row].length; col++ )
System.out.print( ConnectFourArray[row][col] + " ");
System.out.println();
System.out.println();
System.out.println ("Please Select a column of 0 through 6 ");
column1 = selecter.readLine();
num1= Integer.parseInt(column1);
System.out.println();
if (num1==0){
ConnectFourArray[cup0][0]=2;
cup0=cup0-1;
else if (num1==1){
ConnectFourArray[cup1][1]=2;
cup1=cup1-1;
else if (num1==2){
ConnectFourArray[cup2][2]=2;
cup2=cup2-1;
else if (num1==3){
ConnectFourArray[cup3][3]=2;
cup3=cup3-1;
else if (num1==4){
ConnectFourArray[cup4][4]=2;
cup4=cup4-1;
else if (num1==5){
ConnectFourArray[cup5][5]=2;
cup5=cup5-1;
else if (num1==6){
ConnectFourArray[cup6][6]=2;
cup6=cup6-1;
System.out.println();
System.out.println();
catch (Exception E){
System.out.println("Error with input");
System.out.println("Would you like to play again");
try{
String value;
BufferedReader reader = new BufferedReader (new InputStreamReader(System.in));
// Scanner scan = new Scanner(System.in);
System.out.println("Enter yes to play or no to quit");
// value = scan.nextLine();
// String value2;
value = reader.readLine();
//value2 = reader.readLine();
if (value.equals("yes"))
System.out.println("Start again");
StartGame(); // calling the StartGame method to play a game once more
else if (value.equals("no"))
System.out.println("No more games to play");
// System.exit(0);
else
System.exit(0);
System.out.println();
catch (Exception e){
System.out.println("Error with input");
finally
System.out.println(" playing done");
//StartGame();
//check for horizontal win
public int hasWon()
int status = 0;
for (int row=0; row<6; row++)
for (int col=0; col<4; col++)
if (ConnectFourArray[col][row] != 0 &&
ConnectFourArray[col][row] == ConnectFourArray[col+1][row] &&
ConnectFourArray[col][row] == ConnectFourArray[col+2][row] &&
ConnectFourArray[col][row] == ConnectFourArray[col+3][row])
//status = true;//int winner;
if(status == player1)
System.out.println("Player 1 is the winner");
else if(status == player2)
System.out.println("Player 2 is the winner" );
}//end inner for loop
}// end outer for loop
} // end method Winner
return status;
}//end class
ClassConnectFour which designs the board........................
import java.util.*;
import java.io.*;
import javax.swing.*;
public class ClassConnectFour
//Player player1;
//Player player2;
public ClassConnectFour()
//this.player1 = player1;
public void DrawBoard()
int[][] ConnectFourArray = new int[6][7] ;
for ( int row=0; row < ConnectFourArray.length; row++ ){
System.out.print("Row " + row + ": ");
for ( int col=0; col < ConnectFourArray[row].length; col++ )
System.out.print( ConnectFourArray[row][col] + " ");
System.out.println();
System.out.println();
}//end class
TestConnetFour class which uses most of the above class..................
import java.util.*;
import java.io.*;
import javax.swing.*;
public class TestConnectFour
public static void main(String[] args)
ClassConnectFour cf = new ClassConnectFour();
cf.DrawBoard();
Player1 player1 = new Player1();
Player2 player2 = new Player2();
player1.move();
player2.move();
System.out.println("Number 1 belongs to player " + player1.name());
System.out.println("Number 2 belongs to player " + player2.name());
PlayGame pg = new PlayGame();
pg.StartGame();
pg.hasWon();
//pg.Play();
//System.out.println(player.name());
//System.out.println(player2.name());
}// end main
}//end class
I am sorry for all this junk code but I only understand it this way. Your urgent help is required. Looking forward to your reply.
Thanks in advance.
Koonda
//Hi,
Thanks for your help but I really don't understand the table lookup algorithm. Could you please send me some code to implement that.
I will send you the formatted code as well
Thanks for your help.
looking forward to your reply.
Koonda
Hi all,
I am a student and I have a project due 20th of this month, I mean May 20, 2007 after 8 days. The project is about creating a Connect Four Game. I have found some code examples on the internet which helped me little bit. But there are lot of problems I am facing developing the whole game. I have drawn the Board and the two players can play. The players numbers can fill the board, but I have problem implementing the winner for the game. I need to implement the hasWon() method for Horizontal win, Vertical win and Diagonal win. I also found some code examples on the net but I was unable to make it working. I have 5 classes and one interface which I m implementing. The main problem is how to implement the hasWon() method in the PlayGame class below with Horizontal, vertical and diagonal moves.
Sorry there is so much code.
This the interface I must implement, but now I am only implementing the int move() of this interface. I will implement the rest later after solving the winner problem with your help.
Interface code..............
interface Player {
void init (Boolean color);
String name ();
int move ();
void inform (int i);
Player1 class......................
import java.util.*;
import java.io.*;
import javax.swing.*;
public class Player1 implements Player
public Player1()
public int move()
Scanner scan = new Scanner(System.in);
// BufferedReader stdin = new BufferedReader (new InputStreamReader(System.in));
int player1;
System.out.println ("What is your Number, player 1?");
player1 = scan.nextInt();
System.out.println ("Hey number"+player1+" are you prepared to CONNECT FOUR");
System.out.println();
return player1;
//Player.move();
//return player1;
}//end move method
public void init (Boolean color)
public void inform (int i)
public String name()
return "Koonda";
}//end player1 class
Player2 class...........................
import java.util.*;
import java.io.*;
import javax.swing.*;
public class Player2 implements Player
public int move()
//int cup0,cup1,cup2,cup3,cup4,cup5,cup6;
// cup0=5;cup1=5;cup2=5;cup3=5;cup4=5;cup5=5;cup6=5;
//int num1, num2;
Scanner scan = new Scanner(System.in);
// BufferedReader stdin = new BufferedReader (new InputStreamReader(System.in));
int player2;
System.out.println ("What is your Number, player 2?");
player2 = scan.nextInt();
System.out.println ("Hey "+player2+" are you prepared to CONNECT FOUR");
System.out.println();
//return player1;
return player2;
}//end move method
public void init (Boolean color)
public void inform (int i)
public String name()
return "malook";
}//end player1 class
PlayGame class which contains all the functionality.........................................................
import java.util.*;
import java.io.*;
import javax.swing.*;
public class PlayGame
//Player player1;
//Player player2;
int [][]ConnectFourArray;
boolean status;
int winner;
int player1;
int player2;
public PlayGame()
//this.player1 = player1;
//this.player2 = player2;
public void StartGame()
try{
// int X = 0, Y = 0;
//int value;
int cup0,cup1,cup2,cup3,cup4,cup5,cup6;
cup0=5;cup1=5;cup2=5;cup3=5;cup4=5;cup5=5;cup6=5;
int[][] ConnectFourArray = new int[6][7];
int num1, num2;
for(int limit=21;limit!=0;limit--)
BufferedReader selecter = new BufferedReader (new InputStreamReader(System.in));
String column1;
System.out.println();
for ( int row=0; row < ConnectFourArray.length; row++ ){
System.out.print("Row " + row + ": ");
for ( int col=0; col < ConnectFourArray[row].length; col++ )
System.out.print( ConnectFourArray[row][col] + " ");
System.out.println();
System.out.println();
System.out.println ("Please Select a column of 0 through 6 ");
column1 = selecter.readLine();
num1= Integer.parseInt(column1);
System.out.println();
if (num1==0){
ConnectFourArray[cup0][0]=1;
cup0=cup0-1;
else if (num1==1){
ConnectFourArray[cup1][1]=1;
cup1=cup1-1;
else if (num1==2){
ConnectFourArray[cup2][2]=1;
cup2=cup2-1;
else if (num1==3){
ConnectFourArray[cup3][3]=1;
cup3=cup3-1;
else if (num1==4){
ConnectFourArray[cup4][4]=1;
cup4=cup4-1;
else if (num1==5){
ConnectFourArray[cup5][5]=1;
cup5=cup5-1;
else if (num1==6){
ConnectFourArray[cup6][6]=1;
cup6=cup6-1;
System.out.println();
BufferedReader selecter2 = new BufferedReader (new InputStreamReader(System.in));
String column2;
System.out.println();
for ( int row=0; row < ConnectFourArray.length; row++ ){
System.out.print("Row " + row + ": ");
for ( int col=0; col < ConnectFourArray[row].length; col++ )
System.out.print( ConnectFourArray[row][col] + " ");
System.out.println();
System.out.println();
System.out.println ("Please Select a column of 0 through 6 ");
column1 = selecter.readLine();
num1= Integer.parseInt(column1);
System.out.println();
if (num1==0){
ConnectFourArray[cup0][0]=2;
cup0=cup0-1;
else if (num1==1){
ConnectFourArray[cup1][1]=2;
cup1=cup1-1;
else if (num1==2){
ConnectFourArray[cup2][2]=2;
cup2=cup2-1;
else if (num1==3){
ConnectFourArray[cup3][3]=2;
cup3=cup3-1;
else if (num1==4){
ConnectFourArray[cup4][4]=2;
cup4=cup4-1;
else if (num1==5){
ConnectFourArray[cup5][5]=2;
cup5=cup5-1;
else if (num1==6){
ConnectFourArray[cup6][6]=2;
cup6=cup6-1;
System.out.println();
System.out.println();
catch (Exception E){
System.out.println("Error with input");
System.out.println("Would you like to play again");
try{
String value;
BufferedReader reader = new BufferedReader (new InputStreamReader(System.in));
// Scanner scan = new Scanner(System.in);
System.out.println("Enter yes to play or no to quit");
// value = scan.nextLine();
// String value2;
value = reader.readLine();
//value2 = reader.readLine();
if (value.equals("yes"))
System.out.println("Start again");
StartGame(); // calling the StartGame method to play a game once more
else if (value.equals("no"))
System.out.println("No more games to play");
// System.exit(0);
else
System.exit(0);
System.out.println();
catch (Exception e){
System.out.println("Error with input");
finally
System.out.println(" playing done");
//StartGame();
//check for horizontal win
public int hasWon()
int status = 0;
for (int row=0; row<6; row++)
for (int col=0; col<4; col++)
if (ConnectFourArray[col][row] != 0 &&
ConnectFourArray[col][row] == ConnectFourArray[col+1][row] &&
ConnectFourArray[col][row] == ConnectFourArray[col+2][row] &&
ConnectFourArray[col][row] == ConnectFourArray[col+3][row])
//status = true;//int winner;
if(status == player1)
System.out.println("Player 1 is the winner");
else if(status == player2)
System.out.println("Player 2 is the winner" );
}//end inner for loop
}// end outer for loop
} // end method Winner
return status;
}//end class
ClassConnectFour which designs the board........................
import java.util.*;
import java.io.*;
import javax.swing.*;
public class ClassConnectFour
//Player player1;
//Player player2;
public ClassConnectFour()
//this.player1 = player1;
public void DrawBoard()
int[][] ConnectFourArray = new int[6][7] ;
for ( int row=0; row < ConnectFourArray.length; row++ ){
System.out.print("Row " + row + ": ");
for ( int col=0; col < ConnectFourArray[row].length; col++ )
System.out.print( ConnectFourArray[row][col] + " ");
System.out.println();
System.out.println();
}//end class
TestConnetFour class which uses most of the above class..................
import java.util.*;
import java.io.*;
import javax.swing.*;
public class TestConnectFour
public static void main(String[] args)
ClassConnectFour cf = new ClassConnectFour();
cf.DrawBoard();
Player1 player1 = new Player1();
Player2 player2 = new Player2();
player1.move();
player2.move();
System.out.println("Number 1 belongs to player " + player1.name());
System.out.println("Number 2 belongs to player " + player2.name());
PlayGame pg = new PlayGame();
pg.StartGame();
pg.hasWon();
//pg.Play();
//System.out.println(player.name());
//System.out.println(player2.name());
}// end main
}//end classI am sorry for all this junk code but I only understand it this way. Your urgent help is required. Looking forward to your reply.
Thanks in advance.
Koonda -
I am having problems implementing a username validaion bean for my login system. Every time I click my login icon on my main JSP page the login JSP page does not appear except one of the error JSP pages.
How can I correct this problem?
Does the code below look correct?
Below is the codes for the Username Validation Bean :
LOGIN.JSP
<%@ page import="java.io.*"%>
<%@ page import="java.util.*"%>
<%@ page import="java.sql.*"%>
<%@ page import="com.mysql.jdbc.*"%>
<%@ page errorPage="badLogin.jsp"%>
<%@ page import="gcd.UserNameValidationBean"%>
<%
Class.forName("com.mysql.jdbc.Driver");
java.sql.Connection connection=java.sql.DriverManager.getConnection("jdbc:mysql://localhost/gcdBB_db");
java.sql.Statement statement = connection.createStatement();
Enumeration parameters = request.getParameterNames();
if(parameters.hasMoreElements())
String usernameValue = request.getParameter("username");
String passwordValue = request.getParameter("password");
statement.executeUpdate("INSERT INTO users (username,password) VALUES ('"+usernameValue+"','"+passwordValue+"')");
%>
GOODLOGIN.JSP
<%@ page errorPage="badLogin.jsp"%>
<%@ page import="gcd.UserNameValidationBean"%>
<% UserNameValidationBean validationBean = new UserNameValidationBean();
if(request.getParameter("username")!=null)
validationBean.validateUserNameBean(request.getParameter("username"));
%>
<%=request.getParameter("username")%>
USERNAMEVALIDATIONBEAN.JAVA
package gcd;
public class UserNameValidationBean
public UserNameValidationBean(){}
public boolean validateUserName(String userName) throws InvalidUserNameException
if(userName.length() < 32)
throw new InvalidUserNameException("User Name Invalid: " + userName);
return true;
INVALIDUSERNAMEEXCEPTION.JAVA
package gcd;
public class InvalidUserNameException extends Exception
public InvalidUserNameException(String message)
super(message);
I need urgent help to get this working!Here is code for badLogin.jsp and badLoginWithExceptonObject:
BADLOGIN.JSP
<HTML><HEAD><TITLE>Login Failure</TITLE></HEAD>
<BODY bgcolor="#FF9900">
<H1></H1>
<font face="Arial" size="3">Sorry but you either entered an incorrect username
or password </font>
<P><font face="Arial" size="3">Try Again</font>
</BODY></HTML>
BADLOGINWITHEXCEPTIONOBJECT.JSP
<HTML><HEAD><TITLE>Check User Login Against Parameters</TITLE></HEAD>
<BODY bgcolor="#FF9900">
<%@ page isErrorPage = "true"%>
<P><font face="Arial" size="3">Error =</font> <%= exception.getMessage()%> <% PrintWriter writer = new PrintWriter(out); %>
<P><font face="Arial" size="3">Stack =</font> <% exception.printStackTrace(writer); %>
<P><font face="Arial" size="3">Try Again</font>
</BODY></HTML> -
Urgent help required in migration
Hello,
I am stuck on 77% of r3load process my all 15/16 processes are finished successfully only one process has failed I have cut paste the log (SAPAPPL1.log) below of the same. Request your urgent help.
DbSl Trace: Connecting via TNS_ADMIN=/oracle/F01/920_64/network/admin, tnsname=F01
DbSl Trace: Got NLS_LANG=AMERICAN_AMERICA.US7ASCII from environment
DbSl Trace: Now I'm connected to ORACLE
DbSl Trace: Database instance F01 is running on e027pae0 with ORACLE version 9.2.0.7.0
trying to restart import ###
(RIM) INFO: table "BKPF" truncated
restart finished ###
#START: 20070530101004
TAB: BKPF
(RD) ERROR: missing last block number for table "BKPF" in directory file "/sapcd/EXPDIR/DATA/SAPAPPL1.TOC"
#STOP: 20070530101004
Thanks & Regards,
BhushanDid you split the files?
It seems that export file for this table got corrupt.
Unfortunately, you ahve to start again. I had a similar problem and had to do it again. -
Urgent Help Required - Video Not playing on IE11 and Firefox
Hi,
I need Urgent Help , I am trying to Play this Presentation on IE 11 and Firefox and it doesn't play the Video part which is FLV and f4v formats.
I have been googeling it but couldn't find a solution so far ,Can anyone please help , its really urgent as I am done with the Project ,and this is the last bit which I have been struggling with for a while now.
Here is the HTML Code I am using :
<----------------------------------------------------------------------------------------- ----------------------------------------------------------------->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>index</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css" media="screen">
html, body { height:100%; background-color: #ffffff;}
body { margin:0; padding:0; overflow:hidden; }
#flashContent { width:100%; height:100%; }
</style>
</head>
<body>
<div id="flashContent">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="800" height="600" id="index" align="middle">
<param name="movie" value="index.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="index.swf" width="800" height="600">
<param name="movie" value="index.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
</html>
<----------------------------------------------------------------------------------------- ----------------------------------------------------------------->Any Help in this Regards will be highly appreciated
-
Sending Details -- URGENT HELP REQUIRED! ! !
Hi,
I have a programming problem which I need urgent help with....
1.) I firstly have a HTML file which a user will fill out 3 fields on and submit.
2.) A servlet will get these parameters, validate some information and update a database.
Problem Part Needs to send on these details to another servlet which will be located on a seperate server.
Is there a way of doing a submit like function without an actual submit, as this will all be done away from the user.
Was initially going to use:
ctx = getServletContext();
rd = ctx.getRequestDispatcher("https://localhost:8443/servlet/FileName");But found out you can only do this with files in the same immediate location!
3.) Next servlet will accept in the same details as 2, and do some more functions and database updating. Before again sendin on some details to another servlet! (so same problem as in 2).
4.) Accepts in details from 3 and updaes database!
So does anbody have any ideas how this can be done??
Any help greatly appreciated.
DBM.Whats so wrong with posting in more than one forum? I
need to get this done in the next few hours and im not
exaclt the most qualified java developer in the
world!!
sorry if its such a crime! :o(Should be obvious. You post exact question in forum A and B. Person A answers you on forum A. Person B, not knowing you were already answered because he's looking at the post on forum B, answers you on forum B, thus having wasted his time. -
Help required network configuration - Gateway route settings get erased on reboot.
Oracle Linux 7
Linux myhostname 3.8.13-35.3.1.el7uek.x86_64 #2 SMP Wed Jun 25 15:27:43 PDT 2014 x86_64 x86_64 x86_64 GNU/Linux
#cat /etc/sysconfig/network-scripts/ifcfg-eno16780032
TYPE="Ethernet"
BOOTPROTO="none"
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"
NAME="eno16780032"
UUID="2d1107e3-8bd9-49b1-b726-701c56dc368b"
ONBOOT="yes"
IPADDR0="34.36.140.86"
PREFIX0="22"
GATEWAY0="34.36.143.254"
DNS1="34.36.132.1"
DNS2="34.34.132.1"
DOMAIN="corp.halliburton.com"
HWADDR="00:50:56:AC:3F:F9"
IPV6_PEERDNS="yes"
IPV6_PEERROUTES="yes"
NM_CONTROLLED="no"
#route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 34.36.143.254 0.0.0.0 UG 0 0 0 eno16780032
34.36.140.0 0.0.0.0 255.255.252.0 U 0 0 0 eno16780032
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eno16780032
When I reboot the machine, the first line in route table gets erased, I then run:
#route add default gw 34.36.143.254
After which network works fine.
Help required. I don't want to use NetworkManager.The following might be useful:
https://access.redhat.com/solutions/783533
"When transitioning from NetworkManager to using the network initscript, the default gateway parameter in the interface's ifcfg file will be depicted as 'GATEWAY0'. In order for the ifcfg file to be compatible with the network initscript, this parameter must be renamed to 'GATEWAY'. This limitation will be addressed in an upcoming release of RHEL7."
NetworkManager is now the default mechanism for RHEL 7. Personally I don't quite understand this, because as far as I can gather it is a program for systems to automatically detect and connect to known networks. I think such functionality can be useful when switching between wireless and wired networks, but for a server platform, I wonder. -
Help required in configuring telnet
Hi,
We have two PIX 515E firewalls working in HA mode.
I wanted to configure telnet access to firewalls from outside interface.
PIX version is 6.3(5)
I kept PC outside to outside interfaces.
PIX outside IP is 10.10.200.3, inside IP is 10.10.202.5 corresponding virtual IPs are 10.10.200.2 and 10.10.202.7
I have tried following configurations:
pix(config)#telnet 0 0 inside
pix(config)#telnet 0 0 outside
pix(config)#telnet 10.10.200.0 255.255.255.0 outside
pix(config)#telnet 10.10.202.0 255.255.255.0 inside
pix(config)#telnet 10.10.200.200 255.255.255.255 outside
I am able to telnet from internal interface side using inside ip address.
But from outside test pc with IP 10.10.200.200 I am not able to telnet to PIX.
I enabled logging console 5.
when I tried to telnet to outside virtual IP it is not showing any traffic to firewall.
If I try to outside interface I am able to see the traffic like
packets received from source 10.10.200.200 to 10.10.200.3
any help in this configuration. I wanted to telnet firewall from test pc.
Regards
SKRAOHI SKRAO,
from security reasons is not possible to telnet to outside interface there is no way how to permit this you need you ssh instead of telnet
here is more info about setting ssh
http://www.ciscopress.com/articles/article.asp?p=25342&seqNum=3&rl=1
M.
Hope that helps rate if it does -
Help required in configuring counting rule
I have limited experience in SAP-HR configuration. Kindly help me quota configuration. The client has only absence type u2013 Earned Leave. The leave rule is the same for all the employees. The leave rules are:
1. The employees are credited with earned Leave on Jan 1 every year, for the attendance days put in during the previous calendar year.
2. The employee is eligible for Earned Leave only if he has attendance for at least 240 days during the previous year. If the employee has joined the company during the middle of the previous year, then he should have attendance for at least 2/3 of the remaining working days during the year.
3. The employee should be credited with 1 day EL for every 20 working days. If the employee, for example, has worked for 268 days during the year then he should be credited with 13 days EL (268/20=13, with 8 days as remainder). The remainder days, if any, should be carried forward to the next year and considered at that point as added to the number of working days. E.g. employee has worked for 268 days in year 2010. He will be credited with 13 days EL on 1 Jan 2011. Assume he has worked for 256 days in year 2011. Then while creating the absence quota for EL on 1 Jan 2012, the system should consider working days as 256 (from year 2011) + 8 (remainder from year 2010) = 264. Hence the employee should be credited with 13 days of EL on 1 Jan 2012 (264/20 = 13 days; 4 days remainder).
4. Leave carry forward rules: The employee is allowed to carry forward the EL balance to the next year. However, after carry forward the total balance should not go beyond 30 days. Any thing in excess of 30 days will get lapsed, if it is not encashed.
Kindly let me know how to configure the counting rule & the deduction rule for the above scenario.Hi
Configuring of EL need PCR Calculation and Standard Configuration with time Types
000010 D VARSTCURMO
000020 ** COLOP*
000030 04 D VARSTFDYPP
000040 04 N
000050 04 Y D HRS=0 HRS=FR11C HRS?300
000060 04 Y *
000070 04 Y < D HRS-300 HRS*-1 ADDDB9509 ADDDB9558 HRS?15
000080 04 Y < * Z HRS=0 HRS=M9500 GCY ZAC2
000090 04 Y < < Z GCY ZAC3
this when u go for GCY ZAC2
D HRS?10
D HRS/10 ROUNDH<60HHRS?CELACR
* D HRS-CELACRHRS?0
* * HRS*-1 ADDDB9501
* > HRS=0 ADDDB9500ZADDMB9500ZADDDB9501ZADDMB9501Z
> HRS=0 ADDDB9500ZADDMB9500ZADDDB9501ZADDMB9501Z
< HRS=0 HRS=CELACRADDDB9501 HRS=0 ADDDB9500ZNEXTR A
< A ADDMB9500Z
This when u click ZAC3
000010 D HRS=0 HRS=M9500 HRS?10
000020 * HRS/10 ROUNDH<60HADDDB9557 HRS-D9509 ADDDB9556 NEXTR A
000030 * A D HRS*-1 HRS?0
000040 * * COLOP*
000050 * > ADDDB9501 HRS=0 ADDDB9500ZADDMB9500ZADDDB9509ZNEXTR A
000060 * > A ADDMB9509Z
000070 < HRS=0 HRS=M9509 ADDDB9501 HRS=0 ADDDB9500ZNEXTR A
000080 < A ADDMB9500ZADDDB9509ZADDMB9509Z
This PCR is for EL with 300 Limit
Regards
Raja Sekhar -
SAML configuration issue-Urgent Help required!!!
I have configured SAML using the following article guidelines http://www.oracle.com/technology/pub/articles/dev2arch/2006/12/sso-with-saml.html
but I 'm unable to login to Application A itself which is SAML source site.Please Help me to understand where am i going wrong!!!!!Hi George,
The issue is I wanted to download few app from google play on Cisco DX 650 example office suite whic helps to open an attachment like word pdf etc on the phone.In order to do that we require a google play store app on the phone which I am able to see on few phones and on few phones it is missing.
I have checked the CUCM config for all the phone and I can see allow application from android market is enabled.
still I am not able to see the play store Icon
Rgds,
Ajith
Maybe you are looking for
-
HP LaserJet MFP M476dw paper size mismatch when copying or scanning from ADF
We have HP Color LaserJet MFP M476dw that has an issue when copying or scanning from the ADF. Put a single A4 sheet in the ADF and choose copy, with all settings correct & no resizing, and the output copy is moved down the page (increased top margin
-
How to determine the jspx page name in the EntityImpl Java Class
Hello, I'm new jdev programmer. I've come across a scenario that I haven't been able to figure out. I have a small application with only two pages, but uses the same Entity class. I have two views (One view per page). In the protected void doDML() me
-
Sending of dynpro SAPLSPRI 0100 not possible: No window system type is spe
Upon clicking dictionary search help PREM tagged to "Personnel Number" input field in Web Dynpro ABAP application, error message "Sending of dynpro SAPLSPRI 0100 not possible: No window system type is specified." is encountered. This error message is
-
I have a Nikon D40x, a Mac G5 and Elements 4.0.1. I have just downloaded the Raw plug in 4.3 and Elements is saying it doesn't recognise this type of file. Please help as I can't open any of my shots in camera RAW or NEF only JPEG!
-
Why does my cs4 photoshop keep unexpectantly crashing?
I'm having real problems with my Cs4 Photoshop (version 11.0.2). Everytime I attempt to open a file the program unexpectedly quits. This also happens often when I try to save files and also sometimes happens randomly while using photoshop, please hel