Unable to Create a Content Repository Connection using 'socketssl'
I'm trying to create a Content Repository Connection with RIDC Socket Type as "socketssl".
I am not able to create the connection. The following are the parameters mentioned in Jdeveloper
RIDC Socket Type : socketssl
Server Host Name : <ip of the content server>
Content Server Listener Port : 54444 (incoming SSL provider is configured in the content server)
KeyStore File Location : patch of the client keystore
KeyStore Password : password
Private Key Alias : PrivateKey Alias Name
Private Key password : password
I get the below error. However I am able to use RIDC to connect to UCM using socketssl. This problem is seen only with jdeveloper.
SEVERE: Submission[id=1, service=oracle.webcenter.content.jcr.login, resource=ucm] caught exception running task
javax.jcr.RepositoryException: oracle.stellent.ridc.protocol.ProtocolException: java.net.SocketException: Software caused connection abort: recv failed
at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:161)
at oracle.stellent.jcr.IdcPersistenceManagerFactory.createPersistenceManager(IdcPersistenceManagerFactory.java:185)
at oracle.jcr.impl.OracleRepositoryImpl.login(OracleRepositoryImpl.java:444)
at oracle.vcr.jam.LoginTask.call(LoginTask.java:68)
at oracle.vcr.jam.LoginTask.call(LoginTask.java:29)
at oracle.webcenter.concurrent.Submission$2.run(Submission.java:484)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.webcenter.concurrent.Submission.runAsPrivileged(Submission.java:498)
at oracle.webcenter.concurrent.Submission.run(Submission.java:424)
at oracle.webcenter.concurrent.Submission$SubmissionFutureTask.run(Submission.java:888)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:657)
at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:682)
at java.lang.Thread.run(Thread.java:662)
Caused by: oracle.stellent.ridc.protocol.ProtocolException: java.net.SocketException: Software caused connection abort: recv failed
at oracle.stellent.ridc.protocol.intradoc.HdaProtocol.readResponse(HdaProtocol.java:254)
at oracle.stellent.ridc.IdcClient.sendRequest(IdcClient.java:165)
at oracle.stellent.jcr.IdcPersistenceManagerFactory.createPersistenceManager(IdcPersistenceManagerFactory.java:171)
... 15 more
Caused by: java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:798)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.waitForClose(SSLSocketImpl.java:1523)
at com.sun.net.ssl.internal.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:103)
at com.sun.net.ssl.internal.ssl.Handshaker.sendChangeCipherSpec(Handshaker.java:689)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.sendChangeCipherAndFinish(ClientHandshaker.java:985)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:904)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:238)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:893)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:753)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at oracle.stellent.ridc.common.util.StreamUtil.readRawLine(StreamUtil.java:227)
at oracle.stellent.ridc.common.util.StreamUtil.readLine(StreamUtil.java:254)
at oracle.stellent.ridc.protocol.intradoc.HdaProtocol.readHeaders(HdaProtocol.java:453)
at oracle.stellent.ridc.protocol.intradoc.HdaProtocol.readResponse(HdaProtocol.java:215)
... 17 more
31/10/2011 2:14:29 PM oracle.webcenter.content.internal.dt.connection.wizard.AdapterConfigPanel validateConfig
WARNING: Invalid Configuration Parameters
javax.jcr.RepositoryException: oracle.stellent.ridc.protocol.ProtocolException: java.net.SocketException: Software caused connection abort: recv failed
at oracle.jcr.impl.ExceptionFactory.repository(ExceptionFactory.java:161)
at oracle.stellent.jcr.IdcPersistenceManagerFactory.createPersistenceManager(IdcPersistenceManagerFactory.java:185)
at oracle.jcr.impl.OracleRepositoryImpl.login(OracleRepositoryImpl.java:444)
at oracle.vcr.jam.LoginTask.call(LoginTask.java:68)
at oracle.vcr.jam.LoginTask.call(LoginTask.java:29)
at oracle.webcenter.concurrent.Submission$2.run(Submission.java:484)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.webcenter.concurrent.Submission.runAsPrivileged(Submission.java:498)
at oracle.webcenter.concurrent.Submission.run(Submission.java:424)
at oracle.webcenter.concurrent.Submission$SubmissionFutureTask.run(Submission.java:888)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:657)
at oracle.webcenter.concurrent.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:682)
at java.lang.Thread.run(Thread.java:662)
Caused by: oracle.stellent.ridc.protocol.ProtocolException: java.net.SocketException: Software caused connection abort: recv failed
at oracle.stellent.ridc.protocol.intradoc.HdaProtocol.readResponse(HdaProtocol.java:254)
at oracle.stellent.ridc.IdcClient.sendRequest(IdcClient.java:165)
at oracle.stellent.jcr.IdcPersistenceManagerFactory.createPersistenceManager(IdcPersistenceManagerFactory.java:171)
... 15 more
Caused by: java.net.SocketException: Software caused connection abort: recv failed
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:293)
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:331)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:798)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.waitForClose(SSLSocketImpl.java:1523)
at com.sun.net.ssl.internal.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:103)
at com.sun.net.ssl.internal.ssl.Handshaker.sendChangeCipherSpec(Handshaker.java:689)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.sendChangeCipherAndFinish(ClientHandshaker.java:985)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:904)
at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:238)
at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)
at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:893)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:753)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at oracle.stellent.ridc.common.util.StreamUtil.readRawLine(StreamUtil.java:227)
at oracle.stellent.ridc.common.util.StreamUtil.readLine(StreamUtil.java:254)
at oracle.stellent.ridc.protocol.intradoc.HdaProtocol.readHeaders(HdaProtocol.java:453)
at oracle.stellent.ridc.protocol.intradoc.HdaProtocol.readResponse(HdaProtocol.java:215)
... 17 more
Please let me know the valid Configuration Parameters?
Thanks,
Manjunath
Edited by: 890922 on Oct 30, 2011 8:25 PM
You need to supply the "Key Store Location", "Key Store Password", "Private Key Alias" and "Private Key Password' to use socketssl.
Also please make sure that the content server has enabled "Use SSL". You can configure it using the enterprise manager.
Similar Messages
-
Is SAP customizing client required to create a content repository ?
Hi,
We are facing an issue where we create a content repository pointing to an external content server. Then when we click on test connection then we get an error" Content repository does not exist".
Can it be cause we are doing work in a testing client having 555 number rather than a customizing client going by the number of 100 or 300 ?
Is transporting content repository required to use it to make an external HTTP server connection ?You need to supply the "Key Store Location", "Key Store Password", "Private Key Alias" and "Private Key Password' to use socketssl.
Also please make sure that the content server has enabled "Use SSL". You can configure it using the enterprise manager. -
How to create a DSN Less Connection using MySQL
Hi All
How to create a DSN Less Connection using MySQL?
http://www.caucho.com/projects/jdbc-mysql/index.xtp and downloaded Caucho driver and installed the jar ---- caucho-jdbc-mysql-0.2.7.jar in my classpath..
this is how i embedded the code
try
driver = (Driver) Class.forName("com.caucho-jdbc-mysql-0.2.7.Driver").newInstance();
catch (Exception e)
lastErr = "Cannot load the driver, reason:"+e.toString();
nothing seems to work with code..
Unable to proceed..Any piece of code would be of great help..
Thanks and regds
GautamAccording to the installation instructions for that driver:
The driver is com.caucho.jdbc.mysql.Driver
The url is jdbc:mysql-caucho://hostname:port/database
You used something else for the driver name. So it doesn't work. By the way, I found those instructions here: http://www.caucho.com/projects/jdbc-mysql/ -
Unable to create the Master repository Using ODI 10.1.3.5.0 on windows
Hello,
I have installed the ODI 10.1.3.5.o on windows environment. I am using sql server 2008.
When i am trying to create the master repository it was not creating, When i am tested the connection it was successfull, but when i am click on OK it not performing.
I have down loaded Microsoft SQL Server JDBC Driver 3.0 and copied sqljdbc4.jar in to D:\OraHome_1\oracledi\drivers.
And also installed java 6 on my machine.
Please help me.
Regards,
Krishna
Edited by: 897734 on Dec 14, 2011 3:03 AMHi krishna,
Check *3.2 Creating Repository Storage Spaces* in below URL, Hope this may helps you
http://docs.oracle.com/cd/E21764_01/integrate.1111/e12643/admin_reps.htm
Regards,
Phanikanth -
Unable to create File System Repository using Network Path
Hi All,
I am trying to create a File System Repository.
I created a networkpath and windows system and used the same while creating File Repository according to the steps in help.
With out using Networkpath(i.e.,If I use IP address,I am able to create File System Repository).
But with the network path,it throws the following error as seen in Component Monitor.
<b>Startup Error: The localroot does not exist: C:\usr\sap\IGTE\j2ee\j2ee_00\cluster\server\NWP_001
My network path is NWP_001
</b>
Did any one face this problem?
Any help please........
Rgds,
SanthoshHi,
I am getting the same error even if I replace(\) by slashes(/).
I tried on EP6SP12 as well as EP6SP2 and got the same error on both.
The repository is searching for a folder named with
n/w path on the portal server itself(i.e, it is searching in the following folder
<b>C:\usr\sap\IGTE\j2ee\j2ee_00\cluster\server\NWP_001
My network path is NWP_001</b>),instead of searching on the remote system.
Can any one help me in solving the problem
Thanks in Advance.
Rgds,
Santhosh -
Error while creating a new DAC connection using connection type MSSQL
Hi,
I am trying to create a new DAC connection i.e. a new DAC repository in the SQL Server 2008 database.
DAC version : 10.1.3.4.1
Database : SQL Server 2008
I have downloaded the sqljdbc4.jar file from the below link and placed it in the D:\orahome\10gR3_1\bifoundation\dac\lib folder.
[http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=11774 ]
I have entered all the details correctly for database name, database host, database port. I created a new Authentication file.
I get the below error when I try to test the connection.
MESSAGE:::MSSQL driver not available!
EXCEPTION CLASS::: java.lang.IllegalArgumentException
com.siebel.etl.gui.login.LoginDataHandler$LoginStructure.testConnection(LoginDataHandler.java:512)
com.siebel.etl.gui.login.LoginDataHandler.testConnection(LoginDataHandler.java:386)
com.siebel.etl.gui.login.ConnectionTestDialog$Executor.run(ConnectionTestDialog.java:290)
::: CAUSE :::
MESSAGE:::com.microsoft.sqlserver.jdbc.SQLServerDriver
EXCEPTION CLASS::: java.lang.ClassNotFoundException
java.net.URLClassLoader$1.run(URLClassLoader.java:200)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.java:188)
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
java.lang.ClassLoader.loadClass(ClassLoader.java:251)
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:169)
com.siebel.etl.gui.login.LoginDataHandler$LoginStructure.testConnection(LoginDataHandler.java:510)
com.siebel.etl.gui.login.LoginDataHandler.testConnection(LoginDataHandler.java:386)
com.siebel.etl.gui.login.ConnectionTestDialog$Executor.run(ConnectionTestDialog.java:290)
The error seems to be a connectivity issue with SQL Server. Am I using the correct jar file?
Please help me out in resolving this issue. Appreciate the help provided on this forum earlier.
Thank YouAdd
.\lib\sqljdbc4.jar
at end of the line starting with SQLSERVERLIB in config.bat file
Pls mark correct -
What are the basic steps for creating a content repository?
I am trying to create a document store on a file system (fsdb) that will hold files that are ftp's to that location. Is this possible using KM? If so, what are the basic steps for creating a file system repository and using it through KM? I have found stuff on help.sap.com but that only tells you what each component does not what actual steps need to be taken to setup KM, such as user rights , creating an entry point, so that all of KM is not visible, etc...
If anyone knows of any guides that show a step by step process that would be great too.
Thanks
PaulHi Paul
First of all you need to create a new repository
Suppose you want to add all the documents under folder Paul under C: Drive
(Even you can put whole documents of C: drive into Paul)
Navigate to System Admin -> System Configuration -> Knowledge management -> Content Management -> Repository Manager -> File System Repository
There you can create a new directory by clicking on button New
Give the parameters as follows :-
Name : Anything you like
Description : Anything you want
Prefix (must start with /) : Probably same as your repository name like \Paul
Lookup mode : caseless
Root Directory : C:\Paul
NOTE: This is the trick. You need to give the proper path means folder path which you want use as repository)
Repository Services : Any services you want
Property Search : Managercom.sapportals.wcm.repository.manager.generic.search.SimplePropertySearchManager
Security Manager : AclSecurityManager
ACL Manager Cache : ca_cm_rep_acl
The save it
Now see whether the same repository is coming under KM Content or not, if not may be after restart it will come.
I think the above information will help you. If still you have problem, please feel free to contect me.
Regards,
Chamkaur -
Unable to create File System Repository manager
Hello,
I would like to create File System Repository manager to this path: I have mapped a certain Network drive "
main-uni-fs1\pictures$" to the Portal Machine and under this machine it appears as drive "N:\", inside it there is a picture folder which I would like to create the mapping to. I tried setting the "Root Directory" value to "N:\" and to "
main-uni-fs1\pictures$" but I keep receiving an error message at the Repository Component Monitor (see below).
10X,
RoyHello Roy,
1> Create a new path that points to the pictures directory on the system. Enter the path lik
mypc.myorg.com\pictures
Under Sys admin -> Sys Config -> KM -> Content MGT -> Global Services -> Network path
Under the user name and password, enter your username and password
username whould be entered like domainname\username
2>Then create a system in for the mypc.myorg.com server under
Sys admin -> Sys Config -> KM -> Content MGT -> Global Services -> System landscape definitions -> System -> Windows Sytem.
(Assuming u are acessing a windows sytem from a portal running on windows platform).
You need to enter system id and description . Kindly remember the system id, since it would be useful in two places while usermapping and creating the file system repository.
3>create a file system rep mgr under
Sys admin -> Sys Config -> KM -> Content MGT -> Repository Managers > File System Repository
Following properties are most important.
Name , ACL manager cache, Security manager(which you would have to set to W2kSecurity manager)
prefix(this is the folder name that you will identify your repository with) Widws landscape System (this is the sytem id of step 2) and root directory (network path of first step only in this case enter it like this //mypc.myorg.com/pictures)
4>Then under user mapping section, you will find you system (the system id of second step) , enter your name as password.
Initially when you configure your rep manager, you dont need to start ur servlet engine. If you modify any property then you need to re start ur servlet engine.
These are the steps for creating repository
If this still does not get resolved. Then kindly read the limitations of creating the file system repository manager in the link that I had posted in my earlier post.
Thanks and Regards
Pradeep Bhojak -
I am unable to create the Matser repository in ODI
Hi, I am using 10.1.3.5.0 ODi and Sql server 2008.
I have installed the ODI successfully , but when i am trying to create the Master repository i am not seeing the driver for 2008.
I have installed Microsoft SQL Server JDBC Driver 3.0 and copy the sqljdbc4.jat file into D:\OraHome_1\oracledi\drivers.
And also installed Jdk1.6. Please suggest me.
I am getting below error.
ava.sql.SQLException: No suitable driver
at java.sql.DriverManager.getDriver(DriverManager.java:264)
at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java)
at com.sunopsis.sql.SnpsConnection.a(SnpsConnection.java)
at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java)
at com.sunopsis.wizards.MasterRepositoryWizard.K(MasterRepositoryWizard.java)
at com.sunopsis.wizards.MasterRepositoryWizard.X(MasterRepositoryWizard.java)
at com.sunopsis.wizards.MasterRepositoryWizard.g(MasterRepositoryWizard.java)
at com.sunopsis.wizards.MasterRepositoryWizard.d(MasterRepositoryWizard.java)
at com.sunopsis.wizards.MasterRepositoryWizard.e(MasterRepositoryWizard.java)
at com.sunopsis.wizards.MasterRepositoryWizard$IvjEventHandler.actionPerformed(MasterRepositoryWizard.java)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6290)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6055)
at java.awt.Container.processEvent(Container.java:2039)
at java.awt.Component.dispatchEventImpl(Component.java:4653)
at java.awt.Container.dispatchEventImpl(Container.java:2097)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
at java.awt.Container.dispatchEventImpl(Container.java:2083)
at java.awt.Window.dispatchEventImpl(Window.java:2482)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:648)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:607)
at java.awt.EventQueue$1.run(EventQueue.java:605)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:621)
at java.awt.EventQueue$2.run(EventQueue.java:619)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:618)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Thanks,
Krish
Edited by: 897734 on Dec 14, 2011 4:36 AMHi Krish,
Below URL will helps you
URL: Re: Master Repository Creation
Regards,
Phanikanth -
Unable to create a single larger partition using diskpart
Hello,
I am fairly new to Windows server management.
I have a Windows Server 2008 R2 RDP machine on Amazon EC2 cloud. I have about 10 different partitions which are 8GB each. I would like to merge them all and create a single larger partition. I know diskpart generally does the trick (as per forums) but in
this case it hasn't.
I have converted three 8GB partitions into dynamic disks and I then I type the following command in diskpart:
create volume raid disk = 4,5,6
which gives me the following:
Virtual Disk Service error:
The size of the extent is less than the minimum.
I do not understand why is this happening. Would someone please be able to throw some light on this issue?
I would eventually want to add 6*1TB partitions and then merge them into a single large partition of 5TB (I got to know that 1TB will be reserved for parity).
I also tried running the following command:
create volume raid size=10000 disk = 4,5,6
and got the following:
The volume you have specified is too big for the specified disk(s).
Any help would be greatly appreciated.
CheersHi,
Command line:
Create volume raid used to create a RAID-5 volume using three or more specified dynamic disks.
http://technet.microsoft.com/pt-pt/library/cc731343(v=WS.10).aspx
Partitions does not equal to disks.
If you do not familiar with Diskpart, you can use Disk Management to perform the same tasks.
Disk Management
http://technet.microsoft.com/en-us/library/cc770943.aspx
More information:
Partitions and Volumes
http://technet.microsoft.com/en-us/library/dd163559.aspx
Understanding Disk Terminology
http://technet.microsoft.com/en-us/library/dd163557.aspx
How To Use Disk Management to Configure Dynamic Disks
http://support.microsoft.com/kb/308424/en-us
Hope this helps.
Jeremy Wu
TechNet Community Support -
Unable to create Listener in Repository
I am doing a base install of CG 5.4 onto a Windows 7 box. The install goes fine and I shutdown/startup CQ5. Upon CQ5 server startup, I see the following stacktrace:
09.04.2012 15:58:45 *ERROR* RepositoryStartupServlet: RepositoryStartupServlet initializing failed: org.apache.jackrabbit.j2ee.ServletExceptionWithCause: Error while creating repository (RepositoryStartupServlet.java, line 250)
org.apache.jackrabbit.j2ee.ServletExceptionWithCause: Error while creating repository
at org.apache.jackrabbit.j2ee.RepositoryStartupServlet.initRepository(RepositoryStartupServl et.java:415)
at org.apache.jackrabbit.j2ee.RepositoryStartupServlet.startup(RepositoryStartupServlet.java :242)
at com.day.crx.j2ee.CRXRepositoryStartupServlet.startup(CRXRepositoryStartupServlet.java:147 )
at org.apache.jackrabbit.j2ee.RepositoryStartupServlet.init(RepositoryStartupServlet.java:21 5)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at com.day.crx.j2ee.CRXRepositoryStartupServlet.init(CRXRepositoryStartupServlet.java:126)
at com.day.j2ee.servletengine.ServletRuntimeEnvironment.doStart(ServletRuntimeEnvironment.ja va:113)
at com.day.j2ee.servletengine.ServletRuntimeEnvironment.start(ServletRuntimeEnvironment.java :93)
at com.day.j2ee.servletengine.WebApplication.loadStartupServlets(WebApplication.java:702)
at com.day.j2ee.servletengine.WebApplication.start(WebApplication.java:631)
at com.day.j2ee.servletengine.ServletContainer.start(ServletContainer.java:318)
at com.day.j2ee.servletengine.ServletEngine.start(ServletEngine.java:285)
at com.day.j2ee.server.Server.start(Server.java:227)
at com.day.j2ee.server.Server.main(Server.java:607)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.day.launcher.Bootstrap.run(Bootstrap.java:118)
at com.day.crx.quickstart.Quickstart.run(Quickstart.java:680)
at com.day.crx.quickstart.Main.<init>(Main.java:675)
at com.day.crx.quickstart.Main.main(Main.java:730)
Caused by: javax.jcr.RepositoryException: Unable to register data store in cluster.
at com.day.crx.core.data.ClusterDataStore.initClustered(ClusterDataStore.java:163)
at com.day.crx.core.CRXRepositoryImpl.createClusterNode(CRXRepositoryImpl.java:832)
at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:319)
at com.day.crx.core.CRXRepositoryImpl.<init>(CRXRepositoryImpl.java:225)
at com.day.crx.core.CRXRepositoryImpl.<init>(CRXRepositoryImpl.java:267)
at com.day.crx.core.CRXRepositoryImpl.create(CRXRepositoryImpl.java:185)
at com.day.crx.j2ee.CRXRepositoryStartupServlet.createRepository(CRXRepositoryStartupServlet .java:172)
at org.apache.jackrabbit.j2ee.RepositoryStartupServlet.initRepository(RepositoryStartupServl et.java:413)
... 21 more
Caused by: java.io.IOException: Could not create a listener on any of the following ports: [8088, 8089, 8090, 8091, 8092, 8093], and could not connect to another cluster node
at com.day.crx.core.cluster.ClusterController.start(ClusterController.java:679)
at com.day.crx.core.cluster.ClusterController.register(ClusterController.java:833)
at com.day.crx.core.data.ClusterDataStore$Skeleton.register(ClusterDataStore.java:611)
at com.day.crx.core.data.ClusterDataStore.initClustered(ClusterDataStore.java:160)
... 28 more
I shutdown my Windows box, brought it back up and did a netstat. None of those ports (8088, 8089, 8090, 8091, 8092, 8093) were in use. I start up CQ5 and I still receive the the error so I don't believe it is port contention.
Thoughts on what I am doing wrong?
PerryHi Perry,
Those 2 files exists for both clustered and standalone instances. There's some good documentation on what the contents of the cluster.properties file are and how to set it up - http://dev.day.com/docs/en/cq/current/core/administering/cluster.html#Manual%20Cluster%20S etup.
Ron -
HTTP Error 401: Unauthorized on testing content repository connection
Hi,
I am facing one problem while testing connection of repository created through TCode OAC0. Its giving error "HTTP error: 401 Unauthorized". Please if anyone has solution let me know.. Reward Points will be given...
Regards
Hardikyeah it was already set on "0"
antoher problem i think. every time when i click on "CS Admin" inside the repository (OAC0) i need a username and password ( <a href="http://img404.imageshack.us/img404/1958/userzp2.jpg">click</a> ). i always use a system account who is local administrator and after that i can access the repository settings. <a href="http://img84.imageshack.us/img84/1982/csinizi2.jpg">This is my CS.ini</a>. I set the security on "0" too but always the 401. Is there a need to open antoher port beside the default 1090? Because http is working on 80 and i know that every port must be opened for that server. Or do i need antoher user for that CS.
If you need other informations, just ask!
Thanks
Regards,
Patrick -
I'm no longer able to use the Adobe feature to create PDF's from the Firefox screen.
Unable to find any information on correcting this issue.
I would not have upgraded to Firefox 8 if I knew the loss of the Adobe PDF feature would be effected.
I reinstalled the standard Adobe Acrobat X with no results...
What happened?Firefox Support - I even create a Firefox account just to agree with [email protected] I appreciate the word "Thank you for being awesome!" when I registered the account and I certainly do hope you all guys being awesome to. Please do something with all this Firefox update - add-on plugin no longer support thingy. Firefox still awesome, it's just that I can't do much wit it anymore like I used to do. Ohh yayy theres Safari..
-
Creating Point-to-Multipoint connection using Bluetooth
Hi,
I have a problem with my application. It's supposed to be a part of a Bluetooth multiplayer game responsible for data exchange between devices. I created it based on the code from
[http://www.forum.nokia.com/info/sw.nokia.com/id/2b17fb6f-b9a4-4cd8-80fd-94b8251a048e/Games_Over_Bluetooth_v1_0_en.zip.html]
The part of the code responsible for detecting devices and connecting with them works just fine both on the emulator and real devices. The data exchange works perfectly on my Netbeans 6.5.1 and WTK 2.5.2 in the default emulator, but the problems arise when try to run it on SE C905, Nokia N73 and Nokia 5530 XpressMusic (it doesn't work even between any two devices).
The data exchange should look like this:
1. Send data from clients to the server -> 2. server receives the data -> 3.Server sends combined data from all clients to each client-> 4. clients receive the combnied data -> go back to 1.
The problem on the real devices is that the connection is opened but data is not exchanged. The first piece of data is sent from the client and received by the server, but after that nothing gets received.
It gets lost somewhere... The data is exchanged in DataExchange inner class
I would be very grateful for any help
Here's my code:
Client:
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import javax.bluetooth.*;
import javax.microedition.io.*;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
* @author Zawada
public class MultiClient extends MIDlet implements CommandListener {
private Display display;
private Form clientForm;
private Command exitCommand;
private LocalDevice local_device;
private DiscoveryAgent disc_agent;
private String service_UUID;
private String player_name;
private String url;
private StreamConnectionNotifier notifier;
private StreamConnection con;
private InputStream is;
private OutputStream os;
private boolean isConnectionActive = false;
private String message = "5678";
private Thread dataExchange;
public MultiClient() {
display = Display.getDisplay(this);
clientForm = new Form("Bluetooth Client");
clientForm.append("Application started\n\n");
exitCommand = new Command("Exit", Command.EXIT, 1);
clientForm.addCommand(exitCommand);
clientForm.setCommandListener(this);
public void startApp() {
display.setCurrent(clientForm);
try {
setUpClient();
} catch (IOException ex) {
ex.printStackTrace();
public void pauseApp() {
public void destroyApp(boolean unconditional) {
isConnectionActive = false;
if (is != null & os != null & con != null) {
try {
// Multiplayer session is stopped: Disconnect the devices
// close input stream
is.close();
// close output stream
os.close();
// Close connection
con.close();
} catch (IOException ex) {
ex.printStackTrace();
notifyDestroyed();
public void commandAction(Command c, Displayable d) {
if (c == exitCommand) {
destroyApp(true);
private void setUpClient() throws IOException {
try {
// Obtain local device object
local_device = LocalDevice.getLocalDevice();
// Obtain discovery agent object
disc_agent = local_device.getDiscoveryAgent();
// Set device into limited access mode. Inquiry scan
// will listen only to LIAC.
local_device.setDiscoverable(DiscoveryAgent.GIAC);
// Do the service search on all found devices.
// Note: dont use this UUID in your own MIDlets.
// You have to create an own UUID for each MIDlet that you write:
service_UUID = "F0E0D0C0B0A000908070605040302010";
// Retrieve players name
// This could be a name that user has modified and stored to
// non-volatile memory. As default (when game is first started)
// the local friendly name could be chosen.
player_name = "Ziom";//local_device.getFriendlyName();
// Open connection, note: name is attribute ID 0x0100
url = "btspp://localhost:" + service_UUID + ";name=" + player_name;
notifier = (StreamConnectionNotifier) Connector.open(url);
// Wait on someone to connect (note: you can cancel this wait
// only if you call notifier.close() from another thread.
// This is important if you want to offer a UI for the user
// to cancel connections setup.)
con = (StreamConnection) notifier.acceptAndOpen();
// open input stream
is = con.openInputStream();
// open output stream
os = con.openOutputStream();
clientForm.append("Connection opened\n");
// Devices are connected now:
// Run the game / exchange data ...
dataExchange = new DataExchange();
dataExchange.start();
} catch (BluetoothStateException ex) {
ex.printStackTrace();
private class DataExchange extends Thread {
private byte[] sentData;
private byte[] receivedData;
public DataExchange() {
isConnectionActive = true;
public void run() {
int j = 0;
while (isConnectionActive == true) {
try {
sentData = message.getBytes();
os.write(sentData);
System.out.println("data written: " + new String(sentData));
// clientForm.append("Data sent\n");
int lengthavai = 0;
//wait till having received data from the server
while ((lengthavai = is.available()) <= 0) {
// clientForm.append("Waiting for data\n");
receivedData = new byte[lengthavai];
int length = is.read(receivedData);
System.out.println("data read: " + new String(receivedData));
clientForm.append(new String(receivedData));
} catch (IOException ex) {
clientForm.append("IO ex\n");
ex.printStackTrace();
j++;
}Server:
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Enumeration;
import java.util.Vector;
import javax.bluetooth.*;
import javax.microedition.io.Connector;
import javax.microedition.io.StreamConnection;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
* @author Zawada
public class MultiServer extends MIDlet implements CommandListener {
private Display display;
private Form serverForm;
private Command exitCommand;
private LocalDevice local_device;
private String url;
private StreamConnection[] con;
private InputStream[] is;
private OutputStream[] os;
private String message = "1234";
private boolean isConnectionActive = false;
private UUID[] u;
private int numberOfClients;
private Thread dataExchange;
public MultiServer() {
display = Display.getDisplay(this);
serverForm = new Form("Bluetooth Server");
serverForm.append("Application started\n\n");
exitCommand = new Command("Exit", Command.EXIT, 1);
serverForm.addCommand(exitCommand);
serverForm.setCommandListener(this);
public void startApp() {
display.setCurrent(serverForm);
System.out.println("5678".getBytes().length);
try {
setUpServer();
} catch (BluetoothStateException ex) {
serverForm.append("BT ex\n");
ex.printStackTrace();
} catch (InterruptedException ex) {
serverForm.append("Interr ex\n");
ex.printStackTrace();
} catch (IOException ex) {
serverForm.append("IO ex\n");
ex.printStackTrace();
public void pauseApp() {
public void destroyApp(boolean unconditional) {
isConnectionActive = false;
// Multiplayer session is stopped: Disconnect the devices
for (int i = 0; i < numberOfClients; i++) {
try {
if (is != null & os != null & con != null) {
// close input stream
is.close();
// close output stream
os[i].close();
// Close connection
con[i].close();
} catch (IOException ex) {
ex.printStackTrace();
notifyDestroyed();
public void commandAction(Command c, Displayable d) {
if (c == exitCommand) {
destroyApp(true);
private void setUpServer() throws BluetoothStateException, InterruptedException, IOException {
// Obtain local device object
local_device = LocalDevice.getLocalDevice();
// Obtain discovery agent object
DiscoveryAgent disc_agent = local_device.getDiscoveryAgent();
// Disable page scan and inquiry scan
local_device.setDiscoverable(DiscoveryAgent.NOT_DISCOVERABLE);
// create inquiry listener object
InquiryListener inq_listener = new InquiryListener();
synchronized (inq_listener) {
// start a limited access inquiry and install inquiry listener
disc_agent.startInquiry(DiscoveryAgent.GIAC, inq_listener);
serverForm.append("Inquiry started\n");
// Wait
inq_listener.wait();
serverForm.append("Inquiry ended\n");
// Do the service search on all found devices
u = new UUID[1];
// Note: dont use this UUID in your own MIDlets.
// You have to create an own UUID for each MIDlet that you write:
u[0] = new UUID("F0E0D0C0B0A000908070605040302010", false);
int attrbs[] = {0x0100};
// Retrieved service record should include player
// name (service name)
Enumeration devices = inq_listener.cached_devices.elements();
serverForm.append("Number of devices found: " + inq_listener.cached_devices.size() + "\n");
ServiceListener serv_listener = new ServiceListener();
while (devices.hasMoreElements()) {
synchronized (serv_listener) {
// on each device do a service search
disc_agent.searchServices(attrbs, u, (RemoteDevice) devices.nextElement(), serv_listener);
serverForm.append("Service inquiry started\n");
// Wait
serv_listener.wait();
serverForm.append("Service inquiry ended\n");
// Now all devices which offer the requested service (game)
// can be found in the serv_listener.FoundServiceRecord list.
// This list would now be presented to the user and user can filter
// this list/ select one or more devices to connect to.
// Or in other words: remove all devices from FoundServiceRecords
// list that you don't want to connect to.
// Here we just print all the (remote) player names
numberOfClients = serv_listener.FoundServiceRecords.size();
serverForm.append("Number of clients: " + numberOfClients +"\n");
String player_name;
for (int i = 0; i < numberOfClients; i++) {
// Retrieve player name which is contained as service name
// (0x0100) in the service record
player_name = (String) ((ServiceRecord) serv_listener.FoundServiceRecords.elementAt(i)).getAttributeValue(
0x0100).getValue();
// print name
System.out.println(player_name);
// After filtering these devices will be connected:
con = new StreamConnection[numberOfClients];
is = new InputStream[numberOfClients];
os = new OutputStream[numberOfClients];
for (int i = 0; i < numberOfClients; i++) {
// Retrieve url for one device/service
url = ((ServiceRecord) serv_listener.FoundServiceRecords.elementAt(i)).getConnectionURL(ServiceRecord.AUTHENTICATE_ENCRYPT, false);
// Open connection
con[i] = (StreamConnection) Connector.open(url);
// open input stream
is[i] = con[i].openInputStream();
// open output stream
os[i] = con[i].openOutputStream();
serverForm.append("Connection " + i + " opened\n");
// Devices are connected now:
// Run the game / exchange data ...
dataExchange = new DataExchange();
dataExchange.start(); -
Creating Peer to Peer connections using intermediate server
I want to connect two clients (via TCP/IP sockets in Java). The clients can discover each other using an intermediate server. Once the clients discover each other, there should not be any involvement of the server.
I made some study about this and found many people suggesting JXTA. But I'd like to create the protocol myself from scratch (because in future I might have to implement the same using WebSockets as well (when my client is a Browser)). Currently, my clients can be Desktop applications or mobile applications.
My questions are:
1. How will clients discover each other at the server? If the server sends the global IP address of the clients to each other, will that information be enough to create a peer-to-peer connection? What if the clients are on the same LAN network and the server is on a different WAN?
2. Client have dynamic IP address. Can their IP change all of a sudden even if it has an active socket?
3. Is peer-to-peer connection is reliable for transfer of non-continuous data (like in chat application)?
[*NOTE*: by peer-to-peer connection I mean establishing a client-server TCP/IP socket connection by making one of the client as temporary socket-server]
Thanks in advance.two clients (via TCP/IP sockets in Java). The clients can discover each other using an intermediate server.If you only have 2 clients, it's hardly worth putting a server between them; a client 'discovering' the server is as much work as one client discovering the other.
Maybe you are looking for
-
VAT account is blocked for posting.
Hi, Sap debtor invoices and credit notes raised today are all blocked with the eerror sayin account xxxxx blocked for posting. this account is a 17.5% vat code but a lot of the invoices are zero rate. The code has now been opened so the invoces can b
-
How I can change the theme using with css
How I can change the flex theme and images using with css ?
-
I have two internal drives but I think my system drive is failing as my ppc g5 tower is going to the grey restart screen at times. So I want to put a new drive in maybe 1tb. I've never done this before but I guess I will take out my second drive, put
-
Can anyone help me find my lost sms and photos?
i have recently backed up my iphone 4s, restored original settings and reinstalled my data. in the process I have lost some photos (the most important ones) and all sms. I'm gutted and have spent a lot of time unsuccessfully trying to retrieve them.
-
BBPSC04 "extended search" as default?
Dear SRM gurus! In BBPSC04 (check status) is it possible to set the "extended search" as default setting? Thanks and best regards, Henning