Parallel nodes can't enclose in client request Nodes
Hi,
I have a parallel node in my JPD.
I want to add a clientRequest-Response node which will take a input xml and will return an response xml. But having a parallel node its not allwoing to have a single clientrequest-response node. It works only if I add 2 saperate ( 1 client request node and 1 client response node( calkback).
But when I try to call the clientrequest node from my webservice it has a return type as void. but i need it to be responsedocument?
How can we solve this problem?
<b>ERROR: MyProcess.jpd:84: 'parallel' nodes cannot be enclosed within 'clientRequest' nodes.
ERROR: 1 error(s), 0 warning(s).</b>
This question has been moved to
<pre> weblogic.developer.interest.integration group
http://forums.bea.com/bea/thread.jspa?threadID=600010081&tstart=0
</pre>
Similar Messages
-
How can I have my servlet accept 100 concurrent client requests?
My servlet extends HttpServlet so it is multithreaded. Then I have written a java
client which starts 100 concurrent threads that try to contact the servlet.
There are always lots of threads which are refused by the Weblogic Server 6.0.
They get a 'Connection refused' exception. Sometimes there are 50 refused connections,
sometimes there are 0 refused connections (not very often), sometimes there are
80 refused connections (usually).
I have checked the 'Servlet' documentation and the 'J2EE Design Considerations
for Weblogic Server' which recommends not to exceede the execute thread count
number of 15. I have not changed that value, I do not even know if it still exists
in Weblogic 6.0 as the document refers to the 5.0 version.
Does anybody know how to solve this problem? How can I have the client requests
waiting rather than being refused? Of course the main goal is to serve all the
client requests, not to refuse.
This is the code that the client thread uses to contact the servlet:
URL url = new URL("http://localhost:7001/examplesWebApp/myServlet");
URLConnection conn = url.openConnection();
conn.setDoInput(true);
conn.setDoOutput(true);
DataOutputStream os = new DataOutputStream(conn.getOutputStream());
os.writeBytes()
os.writeBytes()
Thanks for your time,
David
The key is
KKEY_LOCALMACHINE\SYSTEM\CurrentControlSet\Services\TCPIP\Parameters
There you may need add a value "MaxUserPort" as REG_DWORD (5000 is default), also
change "TcpTimedWaitDelay" to small number (30 is minimum). You may have trouble
to find them. Just add them.
You can also use Microsoft Web Application Stress Tool to test your Weblogic applications.
As a free test tool, it is really powerful, although not so flexible.
I guess you write your own test tool with java.net.URLConnection. I am not sure
about the power of this class. In my case, I wrote my stress test tools with Java
Socket. I can test application on Weblogic 6 with 1000 threads with my own tool
and Microsoft tool, depending on memory and CPU of the machines I use. I run my
tests on both Windows 2000 professional and Solaris.
Check your CPU and memory usage with task manager.
On the other hand, you should check log message on Weblogic 6. Try to turn on
HTTP debug by add the following in your config.xml in tag <Server>.
<ServerDebug DebugHttp="true" DebugURLResolution="true"
JDBCConn="true" JDBCSQL="true" ListenThreadDebug="true" Name="myserver"/>
"David Ruana" <[email protected]> wrote:
>
>Xiang, I really appreciate your help. I changed my Weblogic server configuration
>from the console but I still experience the same problems.
>
>I start my 100 threads, and from about the 20th onward all them get the
>'Connection
>refused' exception in the URLConnection::getOutputStream() function,
>always after
>a successful URLConnection::openConnetion().
>
>My system is Windows 2000 Professional (Spanish version). I tried to
>check the
>open client socket descriptor limit but I was not able to find the TCPIP/MAXUSERPORT
>in the registry. Do you know how is this entry called in Windows 2000?
>
>At this point I am not sure whether my problems are related to the Weblogic
>server
>or to the operative system. I will keep trying... I would appreciate
>any other
>suggestion.
>
>Thank you very much.
>
>
>
>"Xiang Rao" <[email protected]> wrote:
>>
>>It is better to use Weblogic 6 console to configure Weblogic server.
>>In the console,
>>there is tab Servers->myServer->Congiguration->Tuning, you can find
>execute
>>length
>>and backlog.
>>
>>If you use Windows as test client, note Windows have a 5000 open client
>>socket
>>descriptors limit. You need change Windows Registry (TCPIP/MAXUSERPORT)
>>to change
>>this parameter.
>>
>>On the other hand, during test, you should monitor your test via Weblogic
>>console
>>(myServer->Monitoring->Performance), here you can see the change of
>wait
>>queue.
>>If the queue keeps increaing, you are in trouble.
>>
>>Since you know how to use MBean, try to write customized (servlet, for
>>example)
>>to collect the following data: opened socket number, open socket number,
>>opened
>>session number and open session number. The two "open" numbers will
>give
>>you some
>>clue. Also record your CPU and memory usage.
>>
>>BTW, what is the output you get from your test in terms of number of
>>requests
>>per second, response time and number of bytes downloaded/uplodaed per
>>second?
>>Are your test client and Weblogic running on the same machine?
>>
>>
>>
>>"David Ruana" <[email protected]> wrote:
>>>
>>>By the way, this is a piece of the config.xml file where you can see
>>>my Server
>>>configuration. It is the configuration which is installed in the examplesServer
>>>in the free evaluation of Weblogic 6.0. I only modified the AcceptBacklog
>>>value,
>>>and added the ThreadPoolSize="15" line which was missing (I copied
>from
>>>the petstoreServer).
>>>
>>> <Server AcceptBacklog="1000" AdministrationPort="0" ClusterWeight="1"
>>> ConsoleInputEnabled="false" DGCIdlePeriodsUntilTimeout="2"
>>> DefaultProtocol="t3" DefaultSecureProtocol="t3s"
>>> HttpdEnabled="true" JavaCompiler="C:\bea\jdk130/bin/javac"
>>> ListenPort="7001" Name="examplesServer" NativeIOEnabled="true"
>>> ThreadPoolSize="15"
>>> SocketReaderTimeoutMaxMillis="10"
>>> TransactionLogFilePrefix="config/examples/logs/"
>>> TunnelingClientPingSecs="45" TunnelingClientTimeoutSecs="40"
>>>XMLRegistry="examplesXMLRegistry">
>>> <ServerDebug Name="examplesServer"/>
>>> <WebServer DefaultWebApp="DefaultWebApp_examplesServer"
>>> LogFileName="./config/examples/logs/access.log"
>>> LoggingEnabled="true" Name="examplesServer"/>
>>> <Log FileName="./config/examples/logs/weblogic.log" Name="examplesServer"/>
>>> <KernelDebug Name="examplesServer"/>
>>> <SSL Enabled="true" ListenPort="7002" Name="examplesServer"
>>> PeerValidationEnforced="0"
>>> ServerCertificateChainFileName="./config/examples/ca.pem"
>>> ServerCertificateFileName="./config/examples/democert.pem"
>>> ServerKeyFileName="./config/examples/demokey.pem" TrustedCAFileName="./config/examples/ca.pem"/>
>>> </Server>
>>>
>>>
>>>
>>>
>>>
>>>"Xiang Rao" <[email protected]> wrote:
>>>>
>>>>You only need to change Weblogic HTTP configuration. Give the server
>>>>a big socket
>>>>Backlog number. Since you test with 100 threads, you can think 1000
>>>to
>>>>5000, i.e.,
>>>>1000 to 5000 requests will be in queue before got served. Aslo, you
>>>might
>>>>need
>>>>to change your OS TCP/IP settings (both test clients and servers),
>>such
>>>>as maximum
>>>>number of sockets and timeout value(so closed sockets will release
>>socket
>>>>descriptors
>>>>immediately).
>>>>
>>>>On the other hand, the number of executive threads can be much larger
>>>>than 15
>>>>(50-200 is a normal number), depending on the features of your application.
>>>>You
>>>>can try your stress test tools to find a reasonable number by analyzing
>>>>the relationships
>>>>among (throughtput, response time, number of executive threads, etc).
>>>>
>>>>
>>>>"David Ruana" <[email protected]> wrote:
>>>>>
>>>>>My servlet extends HttpServlet so it is multithreaded. Then I have
>>>written
>>>>>a java
>>>>>client which starts 100 concurrent threads that try to contact the
>>>servlet.
>>>>>
>>>>>There are always lots of threads which are refused by the Weblogic
>>>Server
>>>>>6.0.
>>>>>They get a 'Connection refused' exception. Sometimes there are 50
>>refused
>>>>>connections,
>>>>>sometimes there are 0 refused connections (not very often), sometimes
>>>>>there are
>>>>>80 refused connections (usually).
>>>>>
>>>>>I have checked the 'Servlet' documentation and the 'J2EE Design Considerations
>>>>>for Weblogic Server' which recommends not to exceede the execute
>thread
>>>>>count
>>>>>number of 15. I have not changed that value, I do not even know if
>>>it
>>>>>still exists
>>>>>in Weblogic 6.0 as the document refers to the 5.0 version.
>>>>>
>>>>>Does anybody know how to solve this problem? How can I have the client
>>>>>requests
>>>>>waiting rather than being refused? Of course the main goal is to
>serve
>>>>>all the
>>>>>client requests, not to refuse.
>>>>>
>>>>>This is the code that the client thread uses to contact the servlet:
>>>>>
>>>>>URL url = new URL("http://localhost:7001/examplesWebApp/myServlet");
>>>>>URLConnection conn = url.openConnection();
>>>>>conn.setDoInput(true);
>>>>>conn.setDoOutput(true);
>>>>>
>>>>>DataOutputStream os = new DataOutputStream(conn.getOutputStream());
>>>>>os.writeBytes()
>>>>>os.writeBytes()
>>>>>...
>>>>>
>>>>>Thanks for your time,
>>>>>David
>>>>>
>>>>
>>>
>>
>
-
Method names on "Client Request with Return" nodes
I wasn't sure whether this question would be better here, or in the "integration"
group. The traffic there is somewhat lighter than in here, so perhaps someone
is more likely to read it here :) .
I have two questions about the "method name" in a "Client Request with Return"
node in a Java Process Definition. Apparently the method name is exposed in the
WSDL. I can sort of understand what this method name is used for in the "request"
node, but I fail to understand what the method name corresponds to in the "reply/response"
node of the pair of two nodes. Why does this need to expose a method name in
the WSDL when the point of the node is just to send back a response to the original
request?
Second, in the "Guide to Building Business Processes" document, in the section
titled "Naming the Methods on Client Request with Return Nodes" (page 3-14 in
my copy), the last sentence says "The name must be a valid Java class name".
Is this true? That confuses me.What do you think is happening here? Specifically if a socket is a connected and a new one comes in. What then?
private void listen() {
try {
clientSocket = serverSocket.accept();
} catch (IOException e) {
e.printStackTrace();
} -
JDeveloper 11.1.2.1.0 Can't edit subversion client config
I'd like to change the subversion client config to enable auto-props but can't find an option to do this in JDeveloper. Tools->Preferences...->Versioning->Subversion->General only appears to have an option for modifying the server parameters. Anybody know how I can change the subversion client config through JDev?
Makes sense. Editing the svn 'servers' file through JDev displays it's path at the top of editor:
C:\Documents and Settings\BLACKADR\Application Data\JDeveloper\system11.1.2.1.38.60.81\o.jdeveloper.subversion
and I can see that there is also a default 'config' file in this same folder so I guess this must be the one JDev will pick up. Will think about raising an enhancement request for an Edit "Client config" option in the JDev Preferences dialog. Thanks for your help. -
Socket Adapter Request-Reply ~ Error occured in processing client request ~
Dear Friends,
Need your help in resolving a Issue regarding Socket Adapter Request/Reply.
We have a requirement to recieve Message from a External Vendor using Socket based communication,to achieve this Created a Process which has Socket Adapter Inbound Synchronous Request-Reply. I have also created a sample Outbound Service to test and it was able to send & Receive Message Sucessfuly .
When i try to Recieve a Message from the External Vendor on Port 8008 in this I am unable to receive the message(No Bpel Instance Created) message coming to the SOA Server, in the logs I can see Below Error-
Socket Adapter ClientProcessor:run() Error occured in processing client request
Socket Schema Translation Error.
Error while trying to translate from native.
Please ensure that the schemas are set up with native annotations and comply with the output XML. Contact Oracle support if error is not fixable.
Pls. find my Input XSD Below-
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
xmlns:tns="http://TargetNamespace.com/InboundService"
targetNamespace="http://TargetNamespace.com/InboundService"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
nxsd:version="NXSD"
nxsd:stream="chars"
nxsd:encoding="US-ASCII"
>
<xsd:element name="R1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="C1" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy=""" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
Sample Incoming Message-
<?xml version="1.0" encoding="UTF-8"?>
<ExitRequest>
<ExitRequestID>1234</ExitRequestID>
<Timestamp>28-11-2012 01:19:11</Timestamp>
<ActiveTagData>23456</ActiveTagData>
<DriverID>5555</DriverID>
<LicensePlate>6546</LicensePlate>
<DriverName> Sujit Nair</DriverName>
<DriverDOB>06-06-2012</DriverDOB>
<DriverEmployer>Testing</DriverEmployer>
<DriverSex>Male</DriverSex>
<DriverLang>ENGLISH</DriverLang>
<DriverNationality>TEST</DriverNationality>
<LaneID>Gate Testing</LaneID>
<CardReaderID>07700</CardReaderID>
</ExitRequest>
Can anyone pls. help me on this , still not able to understand what I am doing wrong. Pls. let me know if any other details required.
Thanks,
Sujit NairHi,
You don't need a NSXD (Native Format Builder) to receive a message that is XML already, and the NXSD you listed above has nothing to do with the sample incoming message. So, no surprises it is complaining "Error while trying to translate from native.".
You have to fix the incoming message element on the Socket Adapter.
Cheers,
Vlad -
If server certificate expired, can that give my client SSLHandshakeExceptio
If a servers certificate has expired, can that give my client a SSLHandshakeException?
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetApple would not fix the camera they would replace the whole iPhone. If the iPhone has no physical or liquid damage and no unauthorised modifications or repairs then you will get a replacement free of charge under the warranty.
-
Exception --- Value can not be converted to requested type.Error Code: 0
Inside my query, I try to use function,like
Expression formattedRegDateCol = regDateCol.getFunction("to_char", "YYYY/MM/DD");
sometimes query works fine and sometimes got following exception, can anyone here help me out..
Internal Exception: java.sql.SQLException: [BEA][Oracle JDBC Driver]Value can not be converted to requested type.Error Code: 0
Call:SELECT COUNT(*), to_char(REG_DATE, 'YYYY/MM/DD') FROM SYSTEM_DETAIL WHERE ((REG_DATE BETWEEN {ts '2008-08-10 00:00:00.0'} AND {ts '2008-09-30 23:59:59.0'}) AND (GEOGRAPHIC_ID = 104)) GROUP BY to_char(REG_DATE, 'YYYY/MM/DD') ORDER BY to_char(REG_DATE, 'YYYY/MM/DD') ASC
Query:ReportQuery(com.cad.registration.RegistrationDetailImpl)
at com.cad.report.data.DocumentReturnedDataGenImpl.loadData(DocumentReturnedDataGenImpl.java:130)
at com.cad.report.data.AbstractDataGen.getReport(AbstractDataGen.java:96)
at com.cad.report.command.ProcessReportRequestOnMessage.run(ProcessReportRequestOnMessage.java:74)
at com.cad.registration.command.AbstractCommand.execute(AbstractCommand.java:106)
at com.cad.flow.core.Run.run(Unknown Source)
at com.cad.flow.core.WorkflowComponent.run(Unknown Source)
at com.cad.flow.ejbs.WorkflowManagerBean.execute(WorkflowManagerBean.java:238)
at com.cad.flow.ejbs.WorkflowManagerBean.execute(WorkflowManagerBean.java:135)
at com.cad.flow.ejbs.WorkflowManager_uh667k_EOImpl.execute(WorkflowManager_uh667k_EOImpl.java:132)
at com.cad.flow.ejbs.WorkflowManager_uh667k_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:335)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)
at com.cad.flow.ejbs.WorkflowManager_uh667k_EOImpl_1001_WLStub.execute(Unknown Source)
at com.cad.util.WorkflowProxy.runWorkflow(WorkflowProxy.java:128)
at com.cad.kbd.messenger.listener.mdb.ReportRequestMDB.onMessage(ReportRequestMDB.java:84)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4072)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:3964)
at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4490)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070620)): oracle.toplink.exceptions.DatabaseException
Internal Exception: java.sql.SQLException: [BEA][Oracle JDBC Driver]Value can not be converted to requested type.Error Code: 0
Call:SELECT COUNT(*), to_char(REG_DATE, 'YYYY/MM/DD') FROM SYSTEM_DETAIL WHERE ((REG_DATE BETWEEN {ts '2008-08-10 00:00:00.0'} AND {ts '2008-09-30 23:59:59.0'}) AND (GEOGRAPHIC_ID = 104)) GROUP BY to_char(REG_DATE, 'YYYY/MM/DD') ORDER BY to_char(REG_DATE, 'YYYY/MM/DD') ASC
Query:ReportQuery(com.cad.registration.RegistrationDetailImpl)
at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:282)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.getObject(DatabaseAccessor.java:988)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.fetchRow(DatabaseAccessor.java:780)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:562)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:441)
at oracle.toplink.threetier.ServerSession.executeCall(ServerSession.java:457)
at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:117)
at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:103)
at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:174)
at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.selectAllRows(DatasourceCallQueryMechanism.java:481)
at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:825)
at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllReportQueryRows(ExpressionQueryMechanism.java:791)
at oracle.toplink.queryframework.ReportQuery.executeDatabaseQuery(ReportQuery.java:518)
at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:620)
at oracle.toplink.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:779)
at oracle.toplink.queryframework.ReadAllQuery.execute(ReadAllQuery.java:451)
at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:2089)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:993)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:965)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:878)
at com.cad.persistence.toplink.TopLinkPersistenceBrokerImpl.executeQuery(TopLinkPersistenceBrokerImpl.java:420)
at com.cad.report.data.DocumentSys.getSummitedDocumentNumber(DocumentSys.java:332)
at com.cad.report.data.DocumentSys.loadData(DocumentSys.java:110)
... 24 more
Caused by: java.sql.SQLException: [BEA][Oracle JDBC Driver]Value can not be converted to requested type.
at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
at weblogic.jdbc.base.BaseData.getTimestamp(Unknown Source)
at weblogic.jdbc.base.BaseResultSet.getTimestamp(Unknown Source)
at weblogic.jdbc.wrapper.ResultSet_weblogic_jdbc_base_BaseResultSet.getTimestamp(Unknown Source)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.getObjectThroughOptimizedDataConversion(DatabaseAccessor.java:1038)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.getObject(DatabaseAccessor.java:942)
... 45 moreHere is my code
ExpressionBuilder builder = new ExpressionBuilder();
ReportQuery query = new ReportQuery(RegistrationDetailImpl.class, builder);
query.addArgument("startTime");
query.addArgument("endTime");
query.addArgument("lro");
Expression lroCol = builder.get("lro");
Expression regDateCol = builder.get(
QueryConstants.RegistrationDetailQueryConstants.REGISTRATION_NUMBER_COL).get(
QueryConstants.RegistrationDetailQueryConstants.REGISTRATION_DATE_COL);
Expression formattedRegDateCol = regDateCol.getFunction("to_char", "YYYY/MM/DD");
Expression timeExp = regDateCol.between(builder.getParameter("startTime"), builder
.getParameter("endTime"));
Expression lroExp = lroCol.equal(builder.getParameter("lro"));
query.setSelectionCriteria(timeExp.and(lroExp));
query.addCount();
query.addAttribute("regDate", formattedRegDateCol);
query.addGrouping(formattedRegDateCol);
query.addOrdering(formattedRegDateCol.ascending());
descriptor.getDescriptorQueryManager().addQuery("testquery", query); -
Restrict client request to site by IP address. If the request is?
Hi all,
I have a requirement like as follows.
Requirement:
Restrict client request to site by IP address. If the request is from specific IP address. I mean here standard bloack address (Eg: 127.0.0.1,default subnet mask...)
I am looking for alread predefined method from java libs....Can please any one help on this issue.
regards
prasad.nadendlaUse a SecurityManager and a .policy file that only grants SocketPermissions for the required hosts.
-
Can GED 125 support chat request?
I am working on Cisco ICM for call routing, which comes as part of UCCE stack. I am aware that GED 125 is the protocol for communication between VR PG and ICM whereas GED 145 is the protocol used for communication between MR PG and ICM. I have a customised chat server which can accept chat requests from web page and can also establish connection to the agents, but, however, I want to leverage the ICM for identifying the right agent. I am curious to develop "click to chat" functionality by levereging GED 125 as I dont have a MR PG in my environment. I am planning to develop a wrapper(server socket program) for GED 125 which will talk to VR PG whenever the chat requests comes from my chat server, which will then invoke the ICM script and return the label to the VR PG. Could someone please advise whether chat requests can be serviced through GED 125 or can it be done only via GED 145?
Thanks,
SukanyaHi,
did you already research the mentioned protocols?
GED-125 is the IVR PG protocol.
GED-145 is the Application Gateway protocol.
You are a server, listening for and replying to client requests (the client is ICM, or rather, the ICM Router Application Gateway subprocess in case of GED-145 and the VRU PG PIM subprocess in case of GED-145).
Based on what you wrote, GED-125 is the protocol you need to use.
G. -
WebLogic is not responding to client request under heavy load
Under heavy loading, our WLS 6.0 SP2 will be not be responding to client requests
after some time, say, 1 hour. From the administration console, the request throughput
is 0 while request waiting accumulates to over 1,000. Even the clients stop making
request to the server, the request waiting will not drop. It seems that WLS blocked
on some threads and unable to serve the requests (see attached thread dump for
details).
Our configuration is as follow:
OS: SunOS 5.7
Database: MS SQL Server 7.0 running on NT4 Enterprise Edition.
(JDBC Driver is the one bundled with WLS 6.0)
We know that using 'DriverManager.getConnection()' can cause deadlock in number
of cases but we have gone through all the code but all of our Database connections
are obtained through datasource. And the connection is closed properly in finally
block.
Moreover, the application is originally running on WLS 4.51 but no problem is
encountered.
Does any expert know what the problem and solution are?
Thanks!
[session.log]It appears that some threads were possibly blocked at some jDriver calls
initially (ExecuteThread 0,10,15,23 of the default thread pool). WLS JTA
subsequently timed out and rolled back the transactions asynchronously. The
first rollback attempt was blocked at the jDriver level (ExecuteThread 18 of
the default thread pool). Each subsequent rollback retry blocks an
additional execute thread (due to a JTA bug that is fixed in WLS 6.1, but
not 6.0 SPs) - ExecuteThread 1-9,11-26 of the default thread pool.
Eventually, the server ran out of execute threads and became unresponsive.
It is unclear that whether the initial blocking of threads by the jDriver is
a jDriver issue or an application issue. Please report to BEA support at
[email protected] for further assistance.
Regards,
Priscilla
Gary Mok <[email protected]> wrote in message
news:[email protected]..
>
Under heavy loading, our WLS 6.0 SP2 will be not be responding to clientrequests
after some time, say, 1 hour. From the administration console, the requestthroughput
is 0 while request waiting accumulates to over 1,000. Even the clientsstop making
request to the server, the request waiting will not drop. It seems thatWLS blocked
on some threads and unable to serve the requests (see attached thread dumpfor
details).
Our configuration is as follow:
OS: SunOS 5.7
Database: MS SQL Server 7.0 running on NT4 Enterprise Edition.
(JDBC Driver is the one bundled with WLS 6.0)
We know that using 'DriverManager.getConnection()' can cause deadlock innumber
of cases but we have gone through all the code but all of our Databaseconnections
are obtained through datasource. And the connection is closed properly infinally
block.
Moreover, the application is originally running on WLS 4.51 but no problemis
encountered.
Does any expert know what the problem and solution are?
Thanks! -
Controllers not re-directing client requests to ISE
Please find attached a simple BYOD/ISE document I uploaded to kick start my new Wireless setup. Its all configured on my ISE sever and Controller as per doc.
My setup:
3600 AP's
Internal 5508 Controller
DMZ 5508 Controller (acts as a DHCP server for wireless clients)
Controllers have established connectivity (mobility acnhors), as a client I can connect fine to my new SSID get a DHCP IP address back from DMZ WLC and at the moment can connect out to the Internet fine (using no WLAN Security as a test). So this part is working.
I have now followed the document configured ISE, enabled AAA on the Internal WLC only and used the AAA override setting on WLAN as in the attached document.
I connect to SSID expecting to be redirected to my ISE Guest Portal, nothing happens other than connecting to Internet WebPages.
My question is, if I have followed this document correctly why is the Internal WLC not redirecting client requests to ISE, is this because my mobility anchors need to be re-configured, perhaps the AAA/ISE config needs to be applied to my DMZ WLC not internal WLC?
I would prefer the Internal WLC to redirect the login to ISE, doesn't make sense to traverse through the DMZ Firewall onto DMZ WLC back into the Internal Network again to the ISE to authenticate.
Or am I missing something additionally to this document to make sure clients are directed to the ISE Guest portal login.After you configure web authentication, if the feature does not work as expected, complete these troubleshooting steps:
Check if the client gets an IP address. If not, users can uncheck DHCP Required on the WLAN and give the wireless client a static IP address. This assumes association with the access point. Refer to the IP addressing issues section of Troubleshooting Client Issues in the Cisco Unified Wireless Network for troubleshooting DHCP related issues.
On WLC versions earlier than 3.2.150.10, you must manually enter https://1.1.1.1/login.html in order to navigate to the web authentication window.
The next step in the process is DNS resolution of the URL in the web browser. When a WLAN client connects to a WLAN configured for web authentication, the client obtains an IP address from the DHCP server. The user opens a web browser and enters a website address. The client then performs the DNS resolution to obtain the IP address of the website. Now, when the client tries to reach the website, the WLC intercepts the HTTP Get session of the client and redirects the user to the web authentication login page.
Therefore, ensure that the client is able to perform DNS resolution for the redirection to work. On Windows, choose Start > Run, enter CMD in order to open a command window, and do a “nslookup www.cisco.com" and see if the IP address comes back.
On Macs/Linux: open a terminal window and do a “nslookup www.cisco.com" and see if the IP address comes back.
If you believe the client is not getting DNS resolution, you can either:
Enter either the IP address of the URL (for example, http://www.cisco.com is http://198.133.219.25)
Try to directly reach the controller's webauth page with https:///login.html. Typically this is http://1.1.1.1/login.html.
Does entering this URL bring up the web page? If yes, it is most likely a DNS problem. It might also be a certificate problem. The controller, by default, uses a self-signed certificate and most web browsers warn against using them.
For web authentication using customized web page, ensure that the HTML code for the customized web page is appropriate.
You can download a sample Web Authentication script from Cisco Software Downloads. For example, for the 4400 controllers, choose Products > Wireless > Wireless LAN Controller > Standalone Controllers > Cisco 4400 Series Wireless LAN Controllers > Cisco 4404 Wireless LAN Controller > Software on Chassis > Wireless Lan Controller Web Authentication Bundle-1.0.1 and download the webauth_bundle.zip file.
These parameters are added to the URL when the user's Internet browser is redirected to the customized login page:
ap_mac—The MAC address of the access point to which the wireless user is associated.
switch_url—The URL of the controller to which the user credentials should be posted.
redirect—The URL to which the user is redirected after authentication is successful.
statusCode—The status code returned from the controller's web authentication server.
wlan—The WLAN SSID to which the wireless user is associated.
These are the available status codes:
Status Code 1: "You are already logged in. No further action is required on your part."
Status Code 2: "You are not configured to authenticate against web portal. No further action is required on your part."
Status Code 3: "The username specified cannot be used at this time. Perhaps the username is already logged into the system?"
Status Code 4: "You have been excluded."
Status Code 5: "The User Name and Password combination you have entered is invalid. Please try again."
All the files and pictures that need to appear on the Customized web page should be bundled into a .tar file before uploading to the WLC. Ensure that one of the files included in the tar bundle is login.html. You receive this error message if you do not include the login.html file:
Refer to the Guidelines for Customized Web Authentication section of Wireless LAN Controller Web Authentication Configuration Example for more information on how to create a customized web authentication window.
Note: Files that are large and files that have long names will result in an extraction error. It is recommended that pictures are in .jpg format.
Internet Explorer 6.0 SP1 or later is the browser recommended for the use of web authentication. Other browsers may or may not work.
Ensure that the Scripting option is not blocked on the client browser as the customized web page on the WLC is basically an HTML script. On IE 6.0, this is disabled by default for security purposes.
Note: The Pop Up blocker needs to be disabled on the browser if you have configured any Pop Up messages for the user.
Note: If you browse to an https site, redirection does not work. Refer to Cisco bug ID CSCar04580 (registered customers only) for more information.
If you have a host name configured for the virtual interface of the WLC, make sure that the DNS resolution is available for the host name of the virtual interface.
Note: Navigate to the Controller > Interfaces menu from the WLC GUI in order to assign a DNS hostname to the virtual interface.
Sometimes the firewall installed on the client computer blocks the web authentication login page. Disable the firewall before you try to access the login page. The firewall can be enabled again once the web authentication is completed.
Topology/solution firewall can be placed between the client and web-auth server, which depends on the network. As for each network design/solution implemented, the end user should make sure these ports are allowed on the network firewall.
Protocol Port
HTTP/HTTPS Traffic
TCP port 80/443
CAPWAP Data/Control Traffic
UDP port 5247/5246
LWAPP Data/Control Traffic (before rel 5.0)
UDP port 12222/12223
EOIP packets
IP protocol 97
Mobility
UDP port 16666 (non secured) UDP port 16667 (secured IPSEC tunnel)
For web authentication to occur, the client should first associate to the appropriate WLAN on the WLC. Navigate to the Monitor > Clients menu on the WLC GUI in order to see if the client is associated to the WLC. Check if the client has a valid IP address.
Disable the Proxy Settings on the client browser until web authentication is completed.
The default web authentication method is PAP. Ensure that PAP authentication is allowed on the RADIUS server for this to work. In order to check the status of client authentication, check the debugs and log messages from the RADIUS server. You can use the debug aaa all command on the WLC to view the debugs from the RADIUS server.
Update the hardware driver on the computer to the latest code from manufacturer's website.
Verify settings in the supplicant (program on laptop).
When you use the Windows Zero Config supplicant built into Windows:
Verify user has latest patches installed.
Run debugs on supplicant.
On the client, turn on the EAPOL (WPA+WPA2) and RASTLS logs from a command window, Start > Run > CMD:
netsh ras set tracing eapol enable
netsh ras set tracing rastls enable
In order to disable the logs, run the same command but replace enable with disable. For XP, all logs will be located in C:\Windows\tracing.
If you still have no login web page, collect and analyze this output from a single client:
debug client
debug dhcp message enable
debug aaa all enable
debug dot1x aaa enable
debug mobility handoff enable
If the issue is not resolved after you complete these steps, collect these debugs and use the TAC Service Request Tool (registered customers only) in order to open a Service Request.
debug pm ssh-appgw enable
debug pm ssh-tcp enable
debug pm rules enable
debug emweb server enable
debug pm ssh-engine enable packet -
Hi all,
i'm using OWSM for build a request soap in ws-security mode.
Executing the request, i have this response:
"<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:p="http://schemas.oblix.com/ws/2003/08/Faults">p:Client.UndeliverableFault</faultcode><faultstring>Cannot perform client request</faultstring><detail/></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>"
Any help how to resolve p:Client.UndeliverableFault issue
ThanksHi,
i resolved the problem!! In practice, i was wrong to set url of the endpoint In the Configure Messenger Step for New Service page.
Now, as response, i have:
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode xmlns:jboss-wsse="http://www.jboss.com/jbossws/ws-security">jboss-wsse:InternalError</faultcode><faultstring>An internal WS-Security error occurred. See log for details</faultstring></env:Fault></env:Body></env:Envelope>
how i can resolve the problem?
Thanks
The message is build in this mode:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="#######################################">
<soap:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soap:mustUnderstand="1">
<wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" wsu:Id="#######################################">
</wsse:BinarySecurityToken>
<dsig:Signature xmlns="http://www.w3.org/2000/09/xmldsig#" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
<dsig:SignedInfo>
<dsig:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<dsig:Reference URI="#######################################">
<dsig:Transforms>
<dsig:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<dsig:DigestValue>#######################################</dsig:DigestValue>
</dsig:Reference>
<dsig:Reference URI="#######################################">
<dsig:Transforms>
<dsig:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<dsig:DigestValue>#######################################</dsig:DigestValue>
</dsig:Reference>
</dsig:SignedInfo>
<dsig:SignatureValue>
</dsig:SignatureValue>
<dsig:KeyInfo>
<wsse:SecurityTokenReference xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="#######################################">
<wsse:Reference URI="#######################################"/>
</wsse:SecurityTokenReference>
</dsig:KeyInfo>
</dsig:Signature>
<wsu:Timestamp xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="#######################################">
<wsu:Created>2012-06-27T08:45:33Z</wsu:Created>
</wsu:Timestamp>
</wsse:Security>
</soap:Header>
<soap:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="#######################################">
<ns:hello>
<arg0>string</arg0>
</ns:hello>
</soap:Body>
</soap:Envelope>
There are some difference.
How i can modify the build of soap message??
Thanks
Edited by: Eremita383 on 27-giu-2012 1.52 -
A client requests Mpeg2 intra, 50Mb/s how do I make it?
All I have is the clients request. The Clip is currently ProRes 422.
I think it has something to do with I-Frames and GOP stuff, but don't know exactly what I need to do. I have no specifications for which container they want. I assume QT will be fine.
I don't think they want elements but a file that includes audio. I am not sure what they want to do with it and have no opportunity to ask.
Any Ideas?Can't be sure without exact information because MPEG-2 is the basis for a ton of formats, some HD, some not. You might be able to make it with Compressor, or you might need something like Episode. It's possible they want an m2t file, which is a common format for satellite delivery.
-
Client Request/Response Context
I'm new to Weblogic Integration and have a question regarding client response action.
I've seen an example of a quick workflow where the webpage calls the process
and gets a response back. In essence the workflow is synchronous.
Now I want to include a long running process, using Worklists and involving many
different actors. During the worklist task acceptance I want to get some feedback
from the user. My questions is what context does the Client Request/Response
execute in. The example in the docs shows the worklist application. Is this
absolutely required? How about a client response to a portlet.
Thanks,
noahOne of the Certification mandates logging the remote client IP AND PORT for each log-event.
I cannot pass these from GUI client because the user may
be on a private network. This calls for capturing the IP and PORT at GUI server end.
Capturing remote IP is simple as SOAP library exposes the request object from which the IP can be obtained.
The dificult part is to capture port. I addressed this problem by introducing a
new Tomcat Service Engine, CSMServiceEngine. This engine has access to the underneath socket using which
i obtain the client port and pass it across to SOAP layer as a x-csm-client-port HTTP theader.
I have a custom SOAP provider, CSMSoapSPI, which obtains the port using the above x-header and the
client IP from its request object. THese are done only for 'login' task and hence i published a new
SOAP service: LoginCommand.
But bcoz of upgradation of tomcat from 4.0 to 5.0.28 the invoke method in the StandardEngine(which was initially extended by class i posted) is made final with JDK 1.5 and i can no longer use the StandardEngine. Hence i tried with the Valve class.But with no luck.
Hope this answers ur question -
Can I setup groupwise client to use alternate outgoing email server?
hello,
our gateway email server is having problems sending out. Can I configure
groupwise client to send out directly to ATT email servers instead of our
gateway?
ATT is smtp.att.yahoo.com but requires login/password and SSL. it has to
be set to run on port 465.
Thanks,
Oskar
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/> our gateway email server is having problems sending out. Can I configure
> groupwise client to send out directly to ATT email servers instead of our
> gateway?
> ATT is smtp.att.yahoo.com but requires login/password and SSL. it has to
> be set to run on port 465.
Only if you set up a separate POP3 or IMAP4 account in your GW client.
As for your problems with GW. Please ask in the GroupWise groups. Most GW
problems are easily fixed.
- Anders Gustafsson (Sysop)
The Aaland Islands (N60 E20)
Discover the new Novell forums at http://forums.novell.com
Novell does not monitor these forums officially.
Enhancement requests for all Novell products may be made at
http://support.novell.com/enhancement
Maybe you are looking for
-
Local Area Network File Sharing Help Needed Please!
Hello I've got a question. I'm trying to set up two Macs that are connected to the same router so that we can share files between each one. Is there a way to do this so that there's only ONE specific folder that each computer has access to on the oth
-
Hi, I am new to webdynpro ABAP, please someone help me in how to close the extenal window, from the application running on the external window. I am actually creating a URL for a webdynpro component and I am running it on the external window, now I w
-
Hi, I did restore the iPhone software because my calendar events didn't notified me any longer. Hopefully that problem is gone. But I've found another bug. I told iTunes to use the backup after the software restore but several things aren't the way t
-
I am not able to open my Shared ITunes library on my Macbook Pro
I was able to listen music from a shared library on another mac at my house. i used to be able to open it with ease, but now I click on the library to open it, but it will only stay loading. Please help. Thanks.
-
Light leaking from lower left corner
Just got my iphone 4, and there's a light leak in the lower left corner of the display. It's only noticeable when the surrounding area is black, as when booting up. Anyone else have this issue?