Server Side SSL
Hi,
I'm trying to create a JSP than use the SSL technology,
I create the certificate and configurates the web server,
is needed write some additiona code in the server side (JSP) ???
you have to set some policies,i.e some system properties, using
System.setProperty(). Let's take below lines of code, usually placed in the top lines of code..... and as global variables in the JSP page.
System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
System.setProperty("javax.net.debug","all");
And you need to set trust store for the own keystore, if it is trusted. and if you have anonymous class for that, no need to set this property.
try... now the jsp works out....
all the best
Similar Messages
-
HOWTO: Setting up Server-Side Authentication with SSL
This howto covers the configuration of server-side SSL authentication for both Net8 and IIOP (JServer) connections. It documents the steps required to set up an SSL encrypted connection; it does not cover certificate authentication.
It is worthwhile noting that although the setup of SSL requires the installation of certificates, these certificates do not have to be current, only valid. For some reason, in order to enable SSL connections, it is necessary to set up valid certificate file on the server whether you intend to use certificate authentication or not.
NOTE: I have been unable to determine whether or not the above statement is entirely correct. If anyone can confirm or disprove it, please let me know.
The steps described below must all be carried out from the same logon account. They have been tested on both 816 and 817 databases, but will probably work for all versions, including 9i (unless there have been some drastic changes in 9i that I'm not aware of).
1. Log on to the database server with an administrative login.
Configure the database and listener to run under the current login account (Control Panel -> Services). It is not necessary to restart these services at this time.
2. Create an Oracle wallet and set up the required certificates
(i) Open the Oracle Wallet Manager:
Start -> Programs -> [Oracle Home] -> Network Administration -> Wallet Manager
(ii) Create a new wallet (Wallet -> New).
(iii) When prompted, elect to generate a certificate request.
(iv) On the request form, the only field that matters is the Common Name. Enter the fully qualified domain name (FQDN) of the database server (i.e. the name with which the database server will be referenced by clients).
(v) Export the certificate request to file (Operations -> Export Certificate Request).
(vi) Obtain a valid server certificate from an authorised signing authority. It will also be necessary to download the signing authoritys publicly available trusted root certificate. Certificates can be obtained from Verisign (http://www.verisign.com/)
(vii) Install the trusted root certificate obtained in (vi) into the wallet (Operations -> Import Trusted Certificate). Either paste the contents of the certificate file, or browse to the file on the file system.
(viii) Install the server certificate obtained in (vi) into the wallet (Operations -> Import User Certificate). Either paste the contents of the certificate file, or browse to the file on the file system.
(ix) Save the wallet (Wallet -> Save). The wallet will be saved to the [user home]\Oracle\Wallets directory.
3. Configure the listener for SSL.
(i) Open the Oracle Net8 Assistant:
Start -> Programs -> [Oracle Home] -> Network Administration -> Net8 Assistant
(ii) Select Net8 Configuration -> Local -> Profile.
(iii) From the drop-down list at right, select Oracle Advanced Security. Select the SSL tab.
(iv) Select the Server radio button.
(v) In the wallet directory field, enter the location of the wallet created in step 2, e.g. C:\WINNT\Profiles\oracleuser\ORACLE\WALLET
(vi) Uncheck the Require Client Authentication checkbox.
(vii) Select Net8 Configuration -> Listeners -> [listener name].
(viii) Add a new address:
Protocol: TCP/IP with SSL
Host: [database server FQDN] (e.g. oraserver)
Port: 2484
(ix) Add a second new address:
Protocol: TCP/IP with SSL
Host: [database server FQDN] (e.g. oraserver)
Port: 2482
Check the Dedicate this endpoint to IIOP connections checkbox.
(x) Save the Net8 configuration (File p Save Network Configuration).
(xi) Restart the listener service.
4. Configure the database to accept SSL connections.
(i) Open the database inti.ora file (\admin\[SID]\pfile\init.ora or equivalent).
(ii) At the bottom of the file, uncomment the line that reads
mts_dispatchers = "(PROTOCOL=TCPS)(PRE=oracle.aurora.server.SGiopServer)"
(iii) Save the file and restart the database service.
5. Test the SSL confi guration using the Net8 Assistant.
(i) Open the Oracle Net8 Assistant.
(ii) Select Net8 Configuration -> Local -> Service Naming.
(iii) Add a new net service (Edit p Create).
Net service name: [SID].auth (e.g. iasdb.auth)
Protocol: TCP/IP with SSL
Host: [database server] (e.g. oraserver)
Port: 2484
Service Name/SID: [SID] (e.g. iasdb.orion.internal)
Note: at the end of the net service configuration, click Finish, not Test. The test can hang if run from the wizard.
(iv) Test the connection (Command -> Test Service). If the only error to appear is username/password denied, the test has succeeded.
nullDear Alex,
Thank you for reaching the Small Business Support Community.
I would first suggest you to uncheck the "Perfect Forward Secrecy" setting on the RVS4000 and if see if there is some similar setting enabled, then disable it, on the other side. If still the same thing happens, then go to RVS4000, VPN Advanced settings, and disable the "Aggressive Mode" so it becomes "Main mode" and use the same on the other end of the tunnel.
Just in case and as a VPN configuration guide, below is a document called "IPSec VPN setup" if it helps somehow;
http://sbkb.cisco.com/CiscoSB/Loginr.aspx?login=1&pid=2&app=search&vw=1&articleid=587
Besides my suggestions I would advise you to contact your ISP to make sure there is no IPSec traffic restrictions and/or if there is something in particular they require to make this happen and please do not hesitate to reach me back if there is any further assistance I may help you with.
Kind regards,
Jeffrey Rodriguez S. .:|:.:|:.
Cisco Customer Support Engineer
*Please rate the Post so other will know when an answer has been found. -
SSL Certificates (p12) and server side authorization
Hello dear ALL!
Can u tell me how to store multiple certs in AIR app if it's possible?
I have an server side SSL authorization. But I can't sign AIR app with client p12 certificate =(
Is there another way to use my client certificate?
Sorry for my english =)Anyone?
Client can have several certificates (logins).
Where in the system or in AIR app its stores? -
Getting following exception on TCP ssl at server side
Hi,
I am trying to setup an ssl client and ssl server.
But on ssl client side, My need_wrap going into loop(Buffer overflow)
On my server side, i am getting following error.
Please help me...I am not getting much discussion/articles to solve this problem.
javax.net.ssl.SSLProtocolException: Handshake message sequence violation, state = 1, type = 1
javax.net.ssl.SSLProtocolException: Handshake message sequence violation, state = 1, type = 1
at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1371)
at sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:513)
at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:790)
at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:758)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
at com.ipay.ssl.SSLServerNio.doHandshake(SSLServerNio.java:55)
at com.ipay.ssl.SSLServerNio.main(SSLServerNio.java:215)
Caused by: javax.net.ssl.SSLProtocolException: Handshake message sequence violation, state = 1, type = 1
at sun.security.ssl.ServerHandshaker.processMessage(ServerHandshaker.java:156)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
at sun.security.ssl.Handshaker$1.run(Handshaker.java:808)
at sun.security.ssl.Handshaker$1.run(Handshaker.java:806)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1299)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
My server handshake code look like this.
void doHandshake(SocketChannel socketChannel, SSLEngine engine,
ByteBuffer myNetSendData, ByteBuffer myNetRecieveData) throws Exception {
// Create byte buffers to use for holding application data
ByteBuffer myAppDataSend = ByteBuffer.allocate(engine.getSession().getApplicationBufferSize());
ByteBuffer myAppDataRecieve = ByteBuffer.allocate(engine.getSession().getApplicationBufferSize());
System.out.println(engine.getPeerPort());
// Begin handshake
engine.beginHandshake();
SSLEngineResult.HandshakeStatus hs = engine.getHandshakeStatus();
// Process handshaking message
while (hs != SSLEngineResult.HandshakeStatus.FINISHED &&
hs != SSLEngineResult.HandshakeStatus.NOT_HANDSHAKING) {
switch (hs) {
case NEED_UNWRAP:
System.out.println("Reached NEED UNWRAP");
// Receive handshaking data from peer
if (socketChannel.read(myNetRecieveData) < 0) {
// Handle closed channel
System.out.println("not able toRead data from channel to buffer at client");
myNetRecieveData.flip();
// Process incoming handshaking data
SSLEngineResult res = engine.unwrap(myNetRecieveData, myAppDataRecieve);
// myNetRecieveData.compact();
// Getting handshake status
hs = res.getHandshakeStatus();
System.out.println("Debugging in NEED_UNWRAP-->"+hs);
// Check status
switch (res.getStatus()) {
case OK :
// Handle OK status
System.out.println("OK");
break;
case BUFFER_OVERFLOW:
System.out.println("BUFFER OVERFLOW");
break;
case BUFFER_UNDERFLOW:
System.out.println("BUFFER UNDERFLOW");
/* if (socketChannel.read(myNetRecieveData) < 0) {
// Handle closed channel
System.out.println("not able toRead data from channel to buffer at client");
hs=HandshakeStatus.NEED_UNWRAP;
System.out.println("Read data on underflow condition");
break;
case CLOSED:
System.out.println("CLOSED");
break;
// Handle other status: BUFFER_UNDERFLOW, BUFFER_OVERFLOW, CLOSED
break;
case NEED_WRAP :
System.out.println("Reached NEED WRAP");
// Empty the local network packet buffer.
// Generate handshaking data
//myAppDataSend.flip();
res = engine.wrap(myAppDataSend, myNetSendData);
// Getting handshake status
hs = res.getHandshakeStatus();
System.out.println("Debugging in NEED_WRAP-->"+hs);
// Check status
switch (res.getStatus()) {
case OK :
System.out.println("OK");
myNetSendData.flip();
// Send the handshaking data to peer
while (myNetSendData.hasRemaining()) {
if (socketChannel.write(myNetSendData) < 0) {
// closing socket channel
break;
case BUFFER_OVERFLOW:
System.out.println("BUFFER OVERFLOW");
//Writing network send buffer
myNetSendData.flip();
while (myNetSendData.hasRemaining()) {
if(socketChannel.write(myNetSendData) < 0)
System.out.println("Some thing wrong happened");
System.out.println("written data");
hs=HandshakeStatus.NEED_WRAP;
break;
case BUFFER_UNDERFLOW:
System.out.println("BUFFER UNDERFLOW");
break;
case CLOSED:
System.out.println("CLOSED");
break;
// Handle other status: BUFFER_OVERFLOW, BUFFER_UNDERFLOW, CLOSED
break;
case NEED_TASK :
System.out.println("NEED TASK");
System.out.println("Debugging in NEED_TASK-->"+hs);
Runnable task;
while((task=engine.getDelegatedTask()) != null)
System.out.println("Inside while loop");
ExecutorService executorService = Executors.newFixedThreadPool(1);
executorService.execute(task);
// Handle blocking tasks
hs=engine.getHandshakeStatus();
System.out.println("Printing"+engine.getHandshakeStatus());
break;
case FINISHED:
System.out.println("Debugging in FINISHED-->"+hs);
System.out.println("handshake done");
hs=HandshakeStatus.FINISHED;
break;
// Handle other status: // FINISHED or NOT_HANDSHAKING
// Processes after handshaking
brs,
vargheseHi Zia,
The error is...
Caused by: java.io.InvalidClassException: org.eclipse.persistence.indirection.IndirectList; local class incompatible: stream classdesc serialVersionUID = 4038061360325736360, local class serialVersionUID = -494763524358427112
...which means you have two different versions of org.eclipse.persistence.indirection.IndirectList, one on the server and one in the client (JDeveloper). As these classes have different serialVersionUID values then Java throws an exception when deserializing as they are probably not compatible.
I don't know much about the Eclipse stuff but from looking at your post I can only assume one version of the class is in D:\Coherence\toplink\jlib\eclipselink.jar on the Coherence server side and the other is in JDevloper in D:\OracleSOA\Middleware\modules\org.eclipse.persistence_1.1.0.0_2-1.jar as these are the only jar file containing "eclipse" that I can see on the classpaths.
JK -
Network communication server-side (http, SSL)
Hey all,
I'm wondering if it's possible at all to make http or even
arbitrary network requests from the server-side on FMS. Based on
the documentation (which states that server-side ActionScript is
just JavaScript 1.5 with a few extra classes), there's no way to do
this, but I find that to be unbelievable. A $4,500 application that
doesn't give me the power to make an HTTP request to my web server?
There must be a way.
Also, I'd like to make HTTPS requests if possible. If that
means using an SSL socket and writing my own HTTP requests, or
using some HTTPS-capable socket or request object, that's fine.
Anybody know of a way to do this?
Also, does the same-origin (same-domain) security policy
still apply on the server side?You can use flash remoting to call a web server or an
alternative is a webservice. There are APIs for both built into the
FMS server. Or as well a socket call.
As for HTTPS.. that I'm not sure, I've never had the need but
I *think* it is supported? Someone else know??? -
Oracle DB to MS SQL Server via SSL ODBC
Is it possible to connect an Oracle 11.2 box to a MS SQL Server box with SSL ODBC?
If not; then with 12c?
If not SSL, would the two be otherwise compatable with a different form of encryption? TNS perhaps?
The MS SQL Server side would be read only.
Any help would be great, thanks.It would be good to know which product you're going to use as both gateway products that can connect to the SQL Server are based on ODBC. I assume you're talking about DG4ODBC but will also comment on Dg4MSQL.
When you're going to use DG4ODBC it is the ODBC driver that needs to be SSL capable. When you have a SSL capable driver you can either use 11.2 or 12.1 release of DG4ODBC.
Regarding DG4MSQl up to 11.2.0.4 the SSL libs have been releases for several platforms and support can ask for a backport of the libs to 11.2.0.4 if they do not exist. So just file a service request if they are missing.
12c by default comes with the SSL libs and you only need to configure it.
- Klaus
Message was edited by: kgronau -
Server Side Install on Solaris
Hello,
I have OWB 9.2.0.2 client on WinXP (Design Time Install) and Oracle 9.2.0.2 database on Solaris. I have to install Server Side Components and run Runtime Assistant to create Runtime Repository and Runtime Access User.
I have downloaded OWB 9.2.0.2.8 for Solaris.
When I start Universal Installer I get message that I must have different Oracle Home for this installation. If I enter different home on same user, what will happen with old environment home variable ORACLE_HOME? This database is important and I don't know what will happen with environment variables? So, I created another user and new oracle home "oracle9i_owb". When I set environment and start installation \usr\....\Disk1\stage\Components\oracle.swd.oui\2.2.0.14.0\1\DataFiles\Expanded\install\solaris\runInstaller.sh there is a mesasage: %PROD_HOME%\install: does't exist.
So I created environment variable PROD_HOME that looks on ....\Expanded\ but it doesn't work. (PROD_HOME is inside new ORACLE_HOME due to instructions in guide that came with this installation.)
What is the problem here?
Thanx,
BranimirHello
Jean-Pierre,
here is first 50 lines of log file and complete error file (20k limit):
Environment variables:
ORACLE_HOME = /htdocs/oracle9i/owb
PATH = /usr/bin:/etc:/opt/bin:/bin:/usr/ccs/bin:/usr/ucb:/usr/local/bin:/usr6/oracle9i/u01/app/oracle/product/9.2.0.1.0/bin:/usr/dt/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/opt/lib/cobol/bin:/opt/SUNWspro/bin/ada:.
CLASSPATH =
Username is: oracle9i
The installer version is 2.2.0.18.0
*** Welcome Page***
Setting value of SHOW_COMPONENT_LOCATIONS_PAGE to true
Setting value of SHOW_CUSTOM_TREE_PAGE to true
Setting value of SHOW_SUMMARY_PAGE to true
Setting value of SHOW_INSTALL_PROGRESS_PAGE to true
Setting value of SHOW_REQUIRED_CONFIG_TOOL_PAGE to true
Setting value of SHOW_OPTIONAL_CONFIG_TOOL_PAGE to true
Setting value of SHOW_RELEASE_NOTES to true
Setting value of SHOW_END_SESSION_PAGE to true
Setting value of SHOW_SPLASH_SCREEN to true
Setting value of SHOW_WELCOME_PAGE to true
Setting value of SHOW_ROOTSH_CONFIRMATION to true
Setting value of SHOW_EXIT_CONFIRMATION to true
Setting value of NEXT_SESSION to true
Setting value of NEXT_SESSION_ON_FAIL to true
Setting value of SHOW_DEINSTALL_CONFIRMATION to true
Setting value of SHOW_DEINSTALL_PROGRESS to true
Setting value of INVENTORY_LOCATION to /usr6/oracle9i/u01/app/oracle/oraInventory
Setting value of UNIX_GROUP_NAME to
Setting value of UNIX_GROUP_NAME to dba
Setting value of REGISTRATION_KEYWORD to regKey
*** Product Registration Page***
RegistrationKeyword = REGISTRATION_KEYWORD = regKey
*** UNIX Group Name Page***
UnixInstallGroup = UNIX_GROUP_NAME = dba
Initializing inventory setup WCCE
Doing operation in inventory setup WCCE
Setting value of CLUSTER_NODES to
*** Cluster Node Selection Page***
ClusterNodes = CLUSTER_NODES =
Setting value of FROM_LOCATION to /usr6/oracle9i/home/install/Disk1/stage/products.jar
Setting value of ORACLE_HOME to /htdocs/oracle9i/owb
Setting value of ORACLE_HOME_NAME to Home2
*** File Locations Page***
FromLocation = FROM_LOCATION = /usr6/oracle9i/home/install/Disk1/stage/products.jar
ToLocation = ORACLE_HOME = /htdocs/oracle9i/owb
ToName = ORACLE_HOME_NAME = Home2
Initializing installer access setup
Setting value of ORACLE_HOME to /htdocs/oracle9i/owb
Setting value of ToplevelComp to oracle.owb.dummy.owbprodtop, 9.2.0.2.8, >0.0.0.0.0, [ 453 ][OH:2]
Setting value of SELECTED_LANGUAGES to en,
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_owb_runtime_shortcut_ids
Setting value of PROD_HOME to /htdocs/oracle9i/owb\tsunami
Calling query areasQueries2.2.0.7.0 getInventoryLocation
Query returned : /usr6/oracle9i/u01/app/oracle/oraInventory
Setting value of PROD_HOME to /usr6/oracle9i/u01/app/oracle/oraInventory\..\jre\1.3.1
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle.java.ojsp
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_java_jdbc_oci12
Setting value of PROD_HOME to /htdocs/oracle9i/owb\tsunami
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_owb_reqdfiles
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_owb_shortcut_ids
Setting value of PROD_HOME to /htdocs/oracle9i/owb/owb/runtime
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle.networking.netclt
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle.networking.netmgr
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_networking_netca
Setting value of PROD_HOME to /htdocs/oracle9i/owb/jpi
Setting value of PROD_HOME to /htdocs/oracle9i/owb/jewt
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_options_ano_ssl
Setting value of PROD_HOME to /htdocs/oracle9i/owb/rts
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_options_ano_ssl_owm
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_rdbms_xml_xsu
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle.java.javavm.javatools
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_java_javavm_visiorb
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle.assistants.acf
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_java_jdbc_oci11
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_java_j2ee_core
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_java_sqlj_sqljruntime
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_java_jdbc_thin11
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_java_jdbc_thin12
Setting value of PROD_HOME to /htdocs/oracle9i/owb
Setting value of PROD_HOME to /htdocs/oracle9i/owb/jdk
Setting value of PROD_HOME to /htdocs/oracle9i/owb/lib
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracel_rdbms_sqlldr
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle.emprod.oemagent.base_oemagent
Setting value of PROD_HOME to /htdocs/oracle9i/owb/help
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_utilities_util_common
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle.rdbms.sqlplus
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle.rsf
Setting value of PROD_HOME to /htdocs/oracle9i/owb/kodiak
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_rsf_nlsrtl_rsf
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_rsf_oracore_rsf
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_rsf_platform_rsf
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_rsf_plsql_rsf
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_rsf_precomp_rsf
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_rsf_slax_rsf
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_rsf_ssl_rsf
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_rsf_agent_rsf_agent_rsf_cmp
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_rsf_clntsh_rsf_clntsh_rsf_cmp
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_rsf_otrace_rsf
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_rsf_rdbms_rsf
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_rsf_ldap_rsf_cmp
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_rsf_rdbms_rsf
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_rsf_dbjava_rsf
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle.rsf.sqlplus_rsf
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_install_instcommon
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle.options.ops.opsca
Setting value of PROD_HOME to /htdocs/oracle9i/owb/help
Setting value of PROD_HOME to /htdocs/oracle9i/owb/jewt
Setting value of PROD_HOME to /htdocs/oracle9i/owb/sysman
Setting value of PROD_HOME to /htdocs/oracle9i/owb/jle
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_sysman_oembase_ela
Setting value of PROD_HOME to /htdocs/oracle9i/owb/ice
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_rsf_net_rsf
Setting value of PROD_HOME to /htdocs/oracle9i/owb/
Setting value of PROD_HOME to /htdocs/oracle9i/owb/sysman
Setting value of PROD_HOME to /htdocs/oracle9i/owb/sysman
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle.xml.parser.java
Setting value of PROD_HOME to /htdocs/oracle9i/owb/lib
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_rdbms_aqapi
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_prod
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_java_jdbc_oci_common
Setting value of PROD_HOME to /htdocs/oracle9i/owb/dcommon
Setting value of PROD_HOME to /htdocs/oracle9i/owb/dbui
Setting value of PROD_HOME to /htdocs/oracle9i/owb/ewt
Setting value of PROD_HOME to /htdocs/oracle9i/owb/oracle_java_jdbc_jdbc_common
..........//I put
Calling query areasQueries2.2.0.7.0 getInventoryLocation
Query returned : /usr6/oracle9i/u01/app/oracle/oraInventory
Setting value of PROD_HOME to /usr6/oracle9i/u01/app/oracle/oraInventory\..\jre\1.3.1
Unable to read /htdocs/oracle9i/owb/inventory/ContentsXML/comps.xml. Some inventory information may be lost.
Doing operation for installer access setup
*** Available Products Page***
TopLevelComp = ToplevelComp = oracle.owb.dummy.owbprodtop, 9.2.0.2.8, >0.0.0.0.0, [ 453 ][OH:2]
Setting value of ToplevelComp to oracle.owb.dummy.owbprodtop, 9.2.0.2.8, >0.0.0.0.0, [ 453 ][OH:2]
Setting value of DEP_MODE to install_type_3
Setting value of TLDepModes to install_type_3,
*** Installation Types Page***
DepMode = DEP_MODE = install_type_3
TLDepModes = TLDepModes = install_type_3,
The selected install type is "OWB Server Side Install"
Setting value of DEP_MODE to install_type_3
Install type for "Oracle 9i Warehouse Builder Products 9.2.0.2.8 " is "OWB Server Side Install"
# Not all the dependencies for the component Oracle 9i Warehouse Builder Products 9.2.0.2.8 are found. Missing Component oracle.java.ojsp 9.0.2.0.0.
Install type for "Oracle 9i Warehouse Builder Runtime 9.2.0.2.8 " is "Minimum"
# Not all the dependencies for the component Oracle 9i Warehouse Builder Runtime 9.2.0.2.8 are found. Missing Component oracle.java.ojsp 9.0.2.0.0.
Install type for "Oracle Net 9.2.0.1.0 " is "Complete"
Conflict while setting install type of "Assistant Common Files 9.2.0.1.0 " to "Typical (Typical)". Install type already set to "Complete (Complete)". Seting it to "Custom (Custom)"
Conflict while setting install type of "Oracle Net Manager 9.2.0.1.0 " to "Typical (Typical)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Conflict while setting install type of "Required Support Files 9.2.0.1.0 " to "Typical (Typical)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Conflict while setting install type of "Oracle Net Configuration Assistant 9.2.0.1.0 " to "Typical (Typical)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Install type for "Oracle Net Manager 9.2.0.1.0 " is "Custom"
Install type for "Oracle Net Configuration Assistant 9.2.0.1.0 " is "Custom"
Install type for "Oracle Property Inspector 4.1.8.0.0 " is "Minimum"
Conflict while setting install type of "Oracle JFC Extended Windowing Toolkit 4.2.6.0.0 " to "Minimal (Minimum)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Install type for "Oracle JFC Extended Windowing Toolkit 4.2.6.0.0 " is "Custom"
Install type for "Secure Socket Layer 9.2.0.1.0 " is "Minimal"
Install type for "Bali Resource Translation System 2.0.5.0.0 " is "Minimum"
Install type for "Oracle Wallet Manager 9.2.0.1.0 " is "Minimal"
Install type for "Oracle XML SQL Utility 9.2.0.1.0 " is "Minimal"
Install type for "Oracle Java Tools 9.2.0.1.0 " is "Complete"
Conflict while setting install type of "Visigenics ORB 3.4.0.0.0 " to "Typical (Typical)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Install type for "Visigenics ORB 3.4.0.0.0 " is "Custom"
Install type for "Assistant Common Files 9.2.0.1.0 " is "Custom"
Conflict while setting install type of "Oracle Help For Java 3.2.13.0.0 " to "Custom (Custom)". Install type already set to "Complete (Complete)". Seting it to "Custom (Custom)"
Conflict while setting install type of "Installation Common Files 9.2.0.1.0 " to "Typical (Typical)". Install type already set to "Complete (Complete)". Seting it to "Custom (Custom)"
Install type for "SQLJ Runtime 9.2.0.1.0 " is "Complete"
Conflict while setting install type of "Oracle JDBC Thin Driver for JDK 1.1 9.2.0.1.0 " to "Typical (Typical)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Install type for "Oracle JDBC Thin Driver for JDK 1.1 9.2.0.1.0 " is "Custom"
Conflict while setting install type of "JDBC Common Files 9.2.0.1.0 " to "Custom (Custom)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Install type for "Oracle JDBC Thin Driver for JDK 1.2 9.2.0.1.0 " is "Minimal"
Install type for "Oracle9i JDeveloper Common Files 9.0.2.822.0 " is "JDeveloper IDE Only"
Install type for "Sun JDK 1.3.1.0.2a " is "Complete"
Install type for "Sun JDK extensions 9.2.0.1.0 " is "Complete"
Install type for "SQL*Loader 9.2.0.1.0 " is "Minimal"
Install type for "Oracle Intelligent Agent Base Component Files 9.2.0.1.0 " is "Minimal"
Conflict while setting install type of "Oracle Net Required Support Files 9.2.0.1.0 " to "Custom (Custom)". Install type already set to "Complete (Complete)". Seting it to "Custom (Custom)"
Conflict while setting install type of "Utilities Common Files 9.2.0.1.0 " to "Typical (Typical)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
# Not all the dependencies for the component Oracle Intelligent Agent Base Component Files 9.2.0.1.0 are found. Missing Component oracle.rsf.hybrid 9.2.0.1.0.
Install type for "Oracle Help For Java 3.2.13.0.0 " is "Custom"
Conflict while setting install type of "Oracle Extended Windowing Toolkit 3.4.13.0.0 " to "Custom (Custom)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Conflict while setting install type of "Oracle Ice Browser 5.06.8.0.0 " to "Custom (Custom)". Install type already set to "Minimum (Minimum)". Seting it to "Custom (Custom)"
Install type for "Utilities Common Files 9.2.0.1.0 " is "Custom"
Install type for "Required Support Files 9.2.0.1.0 " is "Custom"
Conflict while setting install type of "Oracle9i Globalization Support 9.2.0.1.0 " to "Custom (Custom)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Conflict while setting install type of "Oracle Core Required Support Files 9.2.0.1.0 " to "Custom (Custom)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Conflict while setting install type of "Platform Required Support Files 9.2.0.1.0 " to "Custom (Custom)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Conflict while setting install type of "PL/SQL Required Support Files 9.2.0.1.0 " to "Custom (Custom)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Conflict while setting install type of "Precompiler Required Support Files 9.2.0.1.0 " to "Custom (Custom)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Conflict while setting install type of "Parser Generator Required Support Files 9.2.0.1.0 " to "Custom (Custom)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Conflict while setting install type of "SSL Required Support Files 9.2.0.1.0 " to "Custom (Custom)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Conflict while setting install type of "Agent Required Support Files 9.2.0.1.0 " to "Custom (Custom)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Conflict while setting install type of "Oracle Client Required Support Files 9.2.0.1.0 " to "Custom (Custom)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Conflict while setting install type of "Oracle Trace Required Support Files 9.2.0.1.0 " to "Custom (Custom)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Conflict while setting install type of "RDBMS Required Support Files 9.2.0.1.0 " to "Custom (Custom)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Conflict while setting install type of "LDAP Required Support Files 9.2.0.1.0 " to "Custom (Custom)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Conflict while setting install type of "XDK Required Support Files 9.2.0.1.0 " to "Custom (Custom)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Conflict while setting install type of "DBJAVA Required Support Files 9.2.0.1.0 " to "Custom (Custom)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
Conflict while setting install type of "SQL*Plus Required Support Files 9.2.0.1.0 " to "Custom (Custom)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
# Not all the dependencies for the component Required Support Files 9.2.0.1.0 are found. Missing Component oracle.rsf.hybrid 9.2.0.1.0.
Install type for "Oracle Code Editor 1.2.1.0.0A " is "Custom"
Install type for "Oracle9i Globalization Support 9.2.0.1.0 " is "Custom"
Install type for "Oracle Core Required Support Files 9.2.0.1.0 " is "Custom"
Install type for "Platform Required Support Files 9.2.0.1.0 " is "Custom"
Install type for "PL/SQL Required Support Files 9.2.0.1.0 " is "Custom"
Install type for "Precompiler Required Support Files 9.2.0.1.0 " is "Custom"
Install type for "Parser Generator Required Support Files 9.2.0.1.0 " is "Custom"
Install type for "SSL Required Support Files 9.2.0.1.0 " is "Custom"
Install type for "Agent Required Support Files 9.2.0.1.0 " is "Custom"
Install type for "Oracle Client Required Support Files 9.2.0.1.0 " is "Custom"
Install type for "Oracle Trace Required Support Files 9.2.0.1.0 " is "Custom"
Install type for "RDBMS Required Support Files 9.2.0.1.0 " is "Custom"
Install type for "LDAP Required Support Files 9.2.0.1.0 " is "Custom"
Install type for "XDK Required Support Files 9.2.0.1.0 " is "Custom"
Install type for "DBJAVA Required Support Files 9.2.0.1.0 " is "Custom"
Install type for "SQL*Plus Required Support Files 9.2.0.1.0 " is "Custom"
Install type for "Installation Common Files 9.2.0.1.0 " is "Custom"
Install type for "Oracle9i Real Application Clusters Management 9.2.0.1.0 " is "Custom"
Install type for "Oracle Help For Java 4.1.13.0.0 " is "Custom"
Install type for "Oracle JFC Extended Windowing Toolkit 4.1.10.0.0 " is "Custom"
Install type for "Enterprise Login Assistant 9.2.0.1.0 " is "Custom"
Install type for "Enterprise Manager Minimal Integration 9.2.0.1.0 " is "Custom"
Install type for "Oracle Ice Browser 5.06.8.0.0 " is "Custom"
Install type for "Oracle Net Required Support Files 9.2.0.1.0 " is "Custom"
Conflict while setting install type of "Documentaion Required Support Files 9.2.0.1.0 " to "Custom (Custom)". Install type already set to "Minimal (Minimal)". Seting it to "Custom (Custom)"
ERROR FILE:
java.io.IOException: No such file or directory
at oracle.sysman.oii.oiix.OiixJarClassLoader.updateEntriesList(OiixJarClassLoader.java:263)
at oracle.sysman.oii.oiix.OiixJarClassLoader.<init>(OiixJarClassLoader.java:209)
at oracle.sysman.oii.oiix.OiixJarClassLoader.createLoader(OiixJarClassLoader.java:412)
at oracle.sysman.oii.oiix.OiixJarClassLoader.createLoader(OiixJarClassLoader.java:431)
at oracle.sysman.oii.oiix.OiixJarClassLoader.createLoader(OiixJarClassLoader.java:444)
at oracle.sysman.oii.oiis.OiisLibraryLoader.loadLibrary(OiisLibraryLoader.java:161)
at oracle.sysman.oii.oiis.OiisLibraryLoader.<init>(OiisLibraryLoader.java:103)
at oracle.sysman.oii.oiis.OiisActionLibLoader.<init>(OiisActionLibLoader.java:40)
at oracle.sysman.oii.oiic.OiicInstallSession.getLibLoader(OiicInstallSession.java:4639)
at oracle.sysman.oii.oiic.OiicInstallSession.getActionLibLoader(OiicInstallSession.java:4405)
at oracle.sysman.oii.oiis.OiisCompActions.doActionImpl(OiisCompActions.java:1046)
at oracle.sysman.oii.oiis.OiisCompActions.doAction(OiisCompActions.java:604)
at Components.oracle.xml.transx.v9_2_0_1_0.CompActions.doAction(Unknown Source)
at Components.oracle.xml.transx.v9_2_0_1_0.CompInstallPhase1.doActionP1finalClusterSetup0(Unknown Sourc
at Components.oracle.xml.transx.v9_2_0_1_0.CompInstallPhase1.stateChangeActions(Unknown Source)
at Components.oracle.xml.transx.v9_2_0_1_0.CompActions.stateChangeActions(Unknown Source)
at oracle.sysman.oii.oiic.OiicInstallActionsPhase$OiilActionThr.run(OiicInstallActionsPhase.java:604)
at oracle.sysman.oii.oiic.OiicInstallActionsPhase.executeProductPhases(OiicInstallActionsPhase.java:219
at oracle.sysman.oii.oiic.OiicInstallActionsPhase.doInstalls(OiicInstallActionsPhase.java:2052)
at oracle.sysman.oii.oiic.OiicInstallActionsPhase$OiInstRun.run(OiicInstallActionsPhase.java:2945)
at java.lang.Thread.run(Thread.java:484)
java.io.IOException: java.io.IOException: No such file or directory
at oracle.sysman.oii.oiis.OiisLibraryLoader.<init>(OiisLibraryLoader.java:113)
at oracle.sysman.oii.oiis.OiisActionLibLoader.<init>(OiisActionLibLoader.java:40)
at oracle.sysman.oii.oiic.OiicInstallSession.getLibLoader(OiicInstallSession.java:4639)
at oracle.sysman.oii.oiic.OiicInstallSession.getActionLibLoader(OiicInstallSession.java:4405)
at oracle.sysman.oii.oiis.OiisCompActions.doActionImpl(OiisCompActions.java:1046)
at oracle.sysman.oii.oiis.OiisCompActions.doAction(OiisCompActions.java:604)
at Components.oracle.xml.transx.v9_2_0_1_0.CompActions.doAction(Unknown Source)
at Components.oracle.xml.transx.v9_2_0_1_0.CompInstallPhase1.doActionP1finalClusterSetup0(Unknown Sourc
at Components.oracle.xml.transx.v9_2_0_1_0.CompInstallPhase1.stateChangeActions(Unknown Source)
at Components.oracle.xml.transx.v9_2_0_1_0.CompActions.stateChangeActions(Unknown Source)
at oracle.sysman.oii.oiic.OiicInstallActionsPhase$OiilActionThr.run(OiicInstallActionsPhase.java:604)
at oracle.sysman.oii.oiic.OiicInstallActionsPhase.executeProductPhases(OiicInstallActionsPhase.java:219
at oracle.sysman.oii.oiic.OiicInstallActionsPhase.doInstalls(OiicInstallActionsPhase.java:2052)
at oracle.sysman.oii.oiic.OiicInstallActionsPhase$OiInstRun.run(OiicInstallActionsPhase.java:2945)
at java.lang.Thread.run(Thread.java:484)
Thank you,
Branimir -
Invoking Trigger on Server Side on Startup instaed from Client
Hi,I want to invoke a server side trigger at the start-up w/o client invoking it? How can I do it. The examples given with the weblogic server involves Invoking the trigger from the client.CIAOAjay
What is the best/easiest way to fetch client data ("First and last name" - CN, OU ...) from server side, over SSL connection?Require client authentication and get the peer certificate from the SSLSession during or after the handshake.
Is there way to use data from SSL signature from applicationNo. -
Certificate Exception - applet client to java server with SSL
Hi,
I'm having some trouble getting SSL working and hope
someone can shed some light. I've been plowing through
these forums for a couple of days - seems lots of folks
have had this problem but I can't find a clear solution.
I've written a server in java. The client is an applet.
This is an internet app so I have no control over
configuring clients. I'm trying to prove SSL communication from the applet to my server. This is
commercial software so the customer would put their own
keys on the machine and resign the applet before deploying.
I've created a keystore with keytool. Then I self-
signed it. Then I signed my applet jarfile. I've even tried exporting the certificate and importing using the java plug-in control panel
(obviously not something I can do in the real world but
just wanted to see if that was it). I start up my server
and navigate to a web page to start the applet. For
development purposes, I'm doing this all on one machine. I'm running jdk 1.4.1_02. We're requiring the
Sun plug-in as our client java VM.
Once the client starts to connect, I get this error in
the plug-in console:
java.security.cert.CertificateException: Couldn't find trusted certificate
On my server, I get:
Wed May 14 16:27:46 EDT 2003 [EXCEPTION]: javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.b(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(DashoA6275)
at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:406)
at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:446)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:180)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at java.io.BufferedReader.fill(BufferedReader.java:136)
at java.io.BufferedReader.readLine(BufferedReader.java:299)
at java.io.BufferedReader.readLine(BufferedReader.java:362)
at com.pactolus.webBroker.psWebLegClientThread.run(psWebLegClientThread.java:130)
at java.lang.Thread.run(Thread.java:536)
The client code is pretty simple:
SSLSocketFactory factory = (SSLSocketFactory)
SSLSocketFactory.getDefault();
tcpSocket = (SSLSocket) factory.createSocket(addr,
iPortNbr);
tcpSocket.setUseClientMode(true);
tcpSocket.startHandshake();followed by a thread kick-off which will listen on the
socket for incoming messages.
The server code is:
SSLContext sslCtxt = SSLContext.getInstance("SSL");
KeyManagerFactory kmf = KeyManagerFactory.getInstance
("SunX509");
KeyStore ks = KeyStore.getInstance("JKS");
char[] password = keyPassword.toCharArray();
ks.load(new FileInputStream(keyFile), password);
kmf.init(ks, password);
sslCtxt.init(kmf.getKeyManagers(), null, null);
SSLServerSocketFactory factory =
sslCtxt.getServerSocketFactory();
secureTCPSocket = (SSLServerSocket)
factory.createServerSocket(port);
secureTCPSocket.setNeedClientAuth(false);followed by a thread kick-off which will listen for
connections and spin-off other threads to manage each
client socket.
I'm pretty much at my wits end. As I said, seems lots of
folks have had this problem but I haven't yet seen a
firm answer.
If anyone can shed some light on this so I can get my
proof of conecept going, I would really appreciate it -and buy you a couple of beers!
Thanks,
Scott JohnsonProblem resolved! It was the certificate. I can get it working in a test scenario by using the test certs file
provided with the jdk on the client and server sides.
So, does this mean that I MUST use a certificate from
one of the known authorities as delivered with the JDK?
My applet will be used by internet clients. I'm requiring
the sun plug-in. Is it true there is no way to get
a certificate I've created to be presented to the client
so it can choose to add it to it's trusted authorities?
I am required to use, say, a Verisign certificate?
I can get my sample working but only if I place a
jssecacerts (a copy of the samplecacerts) where both the client and server can get at it. In the real world, I can't do that on the client.
Presumably the client will only have the cacerts that was delivered with the Sun plug-in. I'm restricted, then, to using a server key file signed with a certificate from
one of the providers found in the cacerts file? Or, can
I present to the client a certificate which it can
choose to accept as trusted and place in it's cacerts file? Any info would be appreciated - I've already
committed those duke bucks!
Scott
Hi,
I'm having some trouble getting SSL working and hope
someone can shed some light. I've been plowing
through
these forums for a couple of days - seems lots of
folks
have had this problem but I can't find a clear
solution.
I've written a server in java. The client is an
applet.
This is an internet app so I have no control over
configuring clients. I'm trying to prove SSL
communication from the applet to my server. This is
commercial software so the customer would put their
own
keys on the machine and resign the applet before
deploying.
I've created a keystore with keytool. Then I self-
signed it. Then I signed my applet jarfile. I've
even tried exporting the certificate and importing
using the java plug-in control panel
(obviously not something I can do in the real world
but
just wanted to see if that was it). I start up my
server
and navigate to a web page to start the applet. For
development purposes, I'm doing this all on one
machine. I'm running jdk 1.4.1_02. We're requiring
the
Sun plug-in as our client java VM.
Once the client starts to connect, I get this error
in
the plug-in console:
java.security.cert.CertificateException: Couldn't find
trusted certificate
On my server, I get:
Wed May 14 16:27:46 EDT 2003 [EXCEPTION]:
javax.net.ssl.SSLHandshakeException: Received fatal
alert: certificate_unknown
javax.net.ssl.SSLHandshakeException: Received fatal
alert: certificate_unknown
at
com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.a(Dasho
6275)
at
com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.b(Dasho
6275)
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.b(DashoA627
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA627
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA627
at
com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA627
at
com.sun.net.ssl.internal.ssl.AppInputStream.read(Dasho
6275)
at
sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDec
der.java:406)
at
sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDeco
er.java:446)
at
sun.nio.cs.StreamDecoder.read(StreamDecoder.java:180)
at
java.io.InputStreamReader.read(InputStreamReader.java:
67)
at
java.io.BufferedReader.fill(BufferedReader.java:136)
at
java.io.BufferedReader.readLine(BufferedReader.java:29
at
java.io.BufferedReader.readLine(BufferedReader.java:36
at
com.pactolus.webBroker.psWebLegClientThread.run(psWebL
gClientThread.java:130)
at java.lang.Thread.run(Thread.java:536)
The client code is pretty simple:
SSLSocketFactory factory = (SSLSocketFactory)
SSLSocketFactory.getDefault();
tcpSocket = (SSLSocket) factory.createSocket(addr,
iPortNbr);
tcpSocket.setUseClientMode(true);
tcpSocket.startHandshake();followed by a thread kick-off which will listen on
the
socket for incoming messages.
The server code is:
SSLContext sslCtxt = SSLContext.getInstance("SSL");
KeyManagerFactory kmf = KeyManagerFactory.getInstance
("SunX509");
KeyStore ks = KeyStore.getInstance("JKS");
char[] password = keyPassword.toCharArray();
ks.load(new FileInputStream(keyFile), password);
kmf.init(ks, password);
sslCtxt.init(kmf.getKeyManagers(), null, null);
SSLServerSocketFactory factory =
sslCtxt.getServerSocketFactory();
secureTCPSocket = (SSLServerSocket)
factory.createServerSocket(port);
secureTCPSocket.setNeedClientAuth(false);followed by a thread kick-off which will listen for
connections and spin-off other threads to manage each
client socket.
I'm pretty much at my wits end. As I said, seems lots
of
folks have had this problem but I haven't yet seen a
firm answer.
If anyone can shed some light on this so I can get my
proof of conecept going, I would really appreciate it
-and buy you a couple of beers!
Thanks,
Scott Johnson -
While saving a workflow using SharePoint designer on a SharePoint site, I get the following error:
Server-side activities have been updated. You need to restart SharePoint Designer to use the updated version of activities.
Steps to recreate error:
Login to the WFE server hosting IIS and workflow manager, open SharePoint Designer 2013 and login to a SharePoint site.
Access the list using SharePoint Designer 2013, in the workflow section, click new workflow.
In the new workflow dialog, enter workflow details, click save (see screenshot below).
Error message is displayed as below:
After restarting SharePoint Designer, the saved workflow is not seen in the site/workflows or list/workflow section.
Workaround
When the above steps are repeated while accessing the site via SPD from any other box besides the WFE/Workflow manager host server, the error is not encountered and its possible to save/publish workflows.
Notes
Workflow Manager 1.0 is installed.
The site has been registered with Workflow manager using Register-SPWorkflowService
cmdlet.
Any clue on why is this happening?Hi Vivek,
Please close your SharePoint Designer application, clear/delete the cached files and folders under the following directories from your server installed SharePoint Designer, then check results again.
<user profile>\appdata\roaming\microsoft\SharePoint Designer\ProxyAssemblyCache
<user profile>\appdata\local\microsoft\websitecache\<sitename>
http://www.andreasthumfart.com/2013/08/sharepoint-designer-2013-server-side-activities-have-been-updated/
Thanks
We are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Problem is the same as https://support.mozilla.org/en-US/questions/1000745?esab=a&as=aaq
Also, there was no solution has been given in discussion.
So, problem that noone could delete all data which have been synced with new Firefox account services.
I've disconnected all my devices from previous (old) firefox sync system (which worked perfectly on several devices), after that i gone on link https://account.services.mozilla.com/ and deleted all my sensitive data.
After I've created firefox account in new firefox sync system ( https://accounts.firefox.com ), and all my data (bookmarks exactly) now present in browser twice.I have a problem with over 12,000 unwanted bookmarks in my 4 PCs (all standard Mozilla bookmarks that have been replicated). So if I would like to purge my server side data. If I do this by deleting my Sync account can I re-use my same email address to re-open a "new" Sync account?
-
What is the difference between jsp :include and server side include
what is the difference between jsp :include and server side include(request dispatcher include method)????
i understand that both request dispatcher include method and jsp:include take dynamic data,so when would one use request dispatcher include and when jsp:include.
Is the usage interchangeable?i believe jsp include is used only for jsp/html but include directive can be used to include servlets ,jsp and html....correct me if i m wrong and
do suggest if u hav ny other diff in this context...The difference really is: in what format do you want your inclusions? If your environment has many Java developers and only a few designers that focus mainly on, say, Flash, that might push you more towards the server-side include() directive. Or, if you have a large set of pages that receive dynamic content that is displayed in a consistent fashion (such as a workflow header area on a page).
If, on the other hand, you have more web designers, there may be a greater desire to deal in markup rather than Java code. Java developers themselves might prefer to view markup (JSP) that more resembles the eventual output than something occuring in Java code.
Finally, there are considerations of tiering. While it is totally possible to (and I have previously) implement 'view classes' that render markup or generate layout templates, JSP's offer, IMO, a subtle, psychological advantage. By forcing a developer to work in a different format, markup versus Java source, the separation on view from controller and model becomes a bit easier. It is still possible to make mistakes, but if a developer at some point notices, "Wait, I'm in a JSP, should I be importing a java.sql class?", then the choice to use JSP includes has paid off in spades.
- Saish -
Contribute changing relative path for server-side include
I am using Contribute CS3, version 4.1, and my pages crash
every time a send a draft for review, because Contribute is
rewriting a relative URL in a server-side include.
The server-side include (before I send for review) reads:
<!--#include file="../foo/bar.fileextention"-->
After I edit other portions of the page and send the draft
for review, it reads:
<!--#include file="http:
//www.servername.com/foo/bar.fileextension"-->
Which results in the draft being unreadable.
Is there any way to tell Contribute not to monkey with this
URL? I have hunted, read the forums, checked the knowledge base,
and coming up empy.
Thanks in advance for any help you can provide!! I really
appreciate it!
-NicholasAnswering my own question.
I researched this complete forum and with taking ideas from
different posts, I was able to figure this out. I thought I would
post it for anyone else needing to know the answer in one place:
Include tags must read:
<!--#include virtual="includes/fileName.html"-->
(Include file is NOT a real HTML doc -- no tags in file
except for CSS, as it would be used if not using Contribute.)
No reference to .dwt needed nor Template created.
No Edit instance tags needed anywhere.
Contribute user navigates to page:
[Upper right corner] Click Choose...
[In my structure] User opens includes folder (double clicks)
User selects THE file (clicks OK)
User clicks on Edit Page button
(Text is now editable.)
User edits text.
User clicks on Publish button.
Worked for me several times trying.
- Janet -
Needs a background webdynpro application running at the server side
Hi All,
We have a requirement wherein we need to have an application running all the time at the server side to capture the response coming from a web application. Based on the response that the application receives, it needs to update some backend R/3 tables.
We are thinking of a webdynpro java application.
Can anyone suggest what kind of application needs to be implemented here?
And what would be the steps required to run the application at the server side without calling the application.
Thanks & Regards,
AnuragHi Robin,
Thanks for the detailed explaination.
This may sound silly to you but I've another doubt which is as follows:
As you mentioned that the external web application will be sending requests to our Web service(in SOAP envelopes) and rest of the functionality can be achieved by our web service.
Actually, we are expecting only responses from the external web application. The thing is that we are sending the requests to the external web applications from our custom webdynpro application and in return the web application will be sending us 2 responses.
First response would be back to our WD java application URL(to the browser in which WD java app is running) which would get the response and display some message based on the response.
Second would be to this web service which you have just suggested. We are having two responses so that even if the browser in which the WD java application is running gets accidentally closed, the response from the external web application must get captured somewhere else and should not get lost in any case.
So, now since we are only expecting the response from the web application and we do not want any requests from the web application to our web service; how is this possible?
I am asking the above question because you have mentioned that the external web application has to request our Web service but we want is only this web service to capture the response coming from the Web application.
Or is it like the web application will send us the response string as request string to our Web Service and the web service will capture these response parameters as request parameters from the web application and do the further processing.
But in that case, we do not want any response to be sent by the Web Service to the external web application.
Please suggest if this is possible.
Once again, many thanks for the help so far.
Thanks & Regards,
Anurag -
Team Foundation Server 2013.2 - SharePoint 2013 SP1 - Missing Server Side Dependencies
Environment:
TFS 2013.2 (update 2) on Windows Server 2012 R2, with MS SQL Server 2014 on the same machine;
SharePoint 2013 SP1 (with April 2014 update) on Windows Server 2012 R2
MS SQL Server 2014 on Windows Server 2012 R2 (Used by SharePoint)
Title
Missing server side dependencies.
Severity
1 - Error
Category
Configuration
Explanation
[MissingSetupFile] File
[Features\TfsDashboardAgileReports\Reports\Bug Progress.xlsx] is referenced [6] times in the database [WSS_Content_Internal], but exists only under Microsoft SharePoint Foundation 2010 setup folder. Consider upgrading the feature/solution which contains this
file to the latest version. One or more setup files are referenced in the database [WSS_Content_Internal], but are not installed on the current farm. Please install any feature or solution which contains these files.
[MissingSetupFile] File
[Features\TfsDashboardAgileReports\Reports\Bug Reactivations.xlsx] is referenced [6] times in the database [WSS_Content_Internal], but exists only under Microsoft SharePoint Foundation 2010 setup folder. Consider upgrading the feature/solution which contains
this file to the latest version. One or more setup files are referenced in the database [WSS_Content_Internal], but are not installed on the current farm. Please install any feature or solution which contains these files.
[MissingSetupFile] File
[Features\TfsDashboardAgileReports\Reports\Bug Trends.xlsx] is referenced [6] times in the database [WSS_Content_Internal], but exists only under Microsoft SharePoint Foundation 2010 setup folder. Consider upgrading the feature/solution which contains this
file to the latest version. One or more setup files are referenced in the database [WSS_Content_Internal], but are not installed on the current farm. Please install any feature or solution which contains these files.
And dozen more similar entries
The server is not in production, so I don't know if this error would cause any problems or not.
How to resolve this?
Thanks!
Fat DragonHi
A colleague and I are looking at a similar issue on TFs 2010 upgraded to TFS 2013 which I guess is slightly different mssing dependencies given the project template. we're using
[MissingSetupFile] File [Features\TfsDashboardBaseUI\default.aspx] is referenced [1] times in the database [WSS_Content], but exists only under Microsoft SharePoint Foundation 2010 setup folder. Consider upgrading the feature/solution which contains this
file to the latest version. One or more setup files are referenced in the database [WSS_Content], but are not installed on the current farm. Please install any feature or solution which contains these files.
[MissingSetupFile] File [Features\TswaWebParts\WebParts\CompletedBuilds.webpart] is referenced [1] times in the database [WSS_Content], but exists only under Microsoft SharePoint Foundation 2010 setup folder. Consider upgrading the feature/solution which contains
this file to the latest version. One or more setup files are referenced in the database [WSS_Content], but are not installed on the current farm. Please install any feature or solution which contains these files.
[MissingSetupFile] File [Features\TswaWebParts\WebParts\GoToWorkItem.webpart] is referenced [1] times in the database [WSS_Content], but exists only under Microsoft SharePoint Foundation 2010 setup folder. Consider upgrading the feature/solution which contains
this file to the latest version. One or more setup files are referenced in the database [WSS_Content], but are not installed on the current farm. Please install any feature or solution which contains these files.
Will logon in a couple of days to test "Fat Dragon's" approach ( unless someone tells me different)
Daniel
Freelance consultant
Maybe you are looking for
-
HT201303 How do you delete your credit card info from iTunes?
I added my credit card info then my bf got me an iTunes card and I want to use the credit I have on that first but it just keeps going right to my credit card and won't let me use the credits I have. So i want to just delete my credit card. How do I
-
Problem about TreeSelectionListener
hi there... i m programming some kind of editor... i added Jtree to JTabbedPane... and added JTabbedPane to Frame. when user select jtree.. i wanna know which Node is selected.. so, i added TreeSelectionListener object to each of the Jtable... source
-
About Line item Display. ??
Hi, I am trying to Display a Document using Document number in FB03 but its not displaying the line item. I have checked the G/L account which i posted whether line item display is selected or not in the G/L Master data. But Its selected. and pre
-
Problem open/save PDF in Hotmail
I can't open or save an attached PDF-file in Hotmail. When I click on the attached file a get the choices to either open or save the file. Whatever I choose...all I get is a message of "file transfer" but nothing happens...
-
Update Datagrid without refreshing
Hi everyone! Is there a way to refresh a datagrid without clicking a button or refreshing the page if a new entry was inserted into the database. Example: A new name is inserted in the database, my datagrid will automatically update, it's like real t