Appending a slash to a URL?
For example, when requesting "http://www.yahoo.com" I really should be requesting it with a slash at the end like "http://www.yahoo.com/". It's a directory on the server and I should treat it as such just like "http://www.yahoo.com/news" should be treated as "http://www.yahoo.com/news/". But how do I figure this out? I've looked at the values of the different URLs, different URLConnections, and different HttpURLConnections of "yahoo.com" and "yahoo.com/" sent back from the server and they are all identical. And yes I set setFollowRedirects () to false. How does Netscape know when to append a slash and when not to?
Thanks in advance,
John
Hello.
When a request for yahoo.com/news is done, the server checks for the file news (without an extension) on yahoo.com. When it sees it does not exist it returns an error. Then the browser tries the directory version, yahoo.com/news/. Either this dir exists (and it redirects to the main asp/html), or it doesn't (and it quits). Note that there can't be a file and a dir with the name news.
You're correct in stating that it's faster to type an end slash when you search for a directory, 'cause it skips the searching for a file.
I hope this was what you were asking for.
Kind regards,
Levi
Similar Messages
-
Append Extra Slash for Application Request through OHS
Hello All,
I am writing to request your help on the following blocking issue :
In my attempt to configure End-End SSL between Browser->OHS Plugin->SSL Weblogic Managed Server ,
Weblogic is giving me an incorrect response while constructing the absolute redirect.
What i mean is :
I am trying to excess an application deployed on an SSL Weblogic as :
https://adc2110491.us.oracle.com:12004/Calendar
But when i configure this through OHS, and then try to access the same application via URL :
https://adc2110491.us.oracle.com:4443/test/Calendar - This doesnt work !
Instead if i append an extra "Slash" in the URL, the application is accessible(This is a workaround and not an expected behavior) :
https://adc2110491.us.oracle.com:4443/test/Calendar/ - This works !
For such kind of configuration from OHS side, I enabled a property called "*WebLogic Plug-In Enabled*" from "WLS Managed Server -> General settings"
Please note that, in case When above mentioned Weblogic-Server is NOT SSL, this works fine.
This error is only in SSL case.
Also, Pasting the log file below for one such failed request :
+Tue Apr 9 11:47:12 2013 <1009513655332321> ================New Request: [GET /test/Calendar HTTP/1.1] =================+
Tue Apr 9 11:47:12 2013 <1009513655332321> INFO: SSL is configured
Tue Apr 9 11:47:12 2013 <1009513655332321> Using Uri /test/Calendar
Tue Apr 9 11:47:12 2013 <1009513655332321> After trimming path: '/Calendar'
Tue Apr 9 11:47:12 2013 <1009513655332321> The final request string is '/Calendar'
Tue Apr 9 11:47:12 2013 <1009513655332321> parseServerList: Socket Address hostnames 'adc2110491.us.oracle.com:12004'
+Tue Apr 9 11:47:12 2013 <1009513655332321> Host extracted from serverlist is [adc2110491.us.oracle.com]+
Tue Apr 9 11:47:12 2013 <1009513655332321> parseServerList: IP from socket Address [10.232.130.87]
Tue Apr 9 11:47:12 2013 <1009513655332321> Initializing lastIndex=0 for a list of length=1
Tue Apr 9 11:47:12 2013 <1009513655332321> getListNode: created a new server node: id='adc2110491.us.oracle.com:12004' server_name='adc2110491.us.oracle.com', port='4443'
+Tue Apr 9 11:47:12 2013 <1009513655332321> getPreferred: availcookie=[s_nr=1365505876368; ADMINCONSOLESESSION=FGY9RkfPy7xrvwn4zYR0LqfTV0vGkBjPxhjxQbQGlkhjXJ22LHXJ!1111363896; _WL_AUTHCOOKIE_ADMINCONSOLESESSION=mSkOg.X9HBLf9jgkR.PJ; JSESSIONID=l2GkRkgJczv7vjf9p2dh892WhDTvHglTHdFMppJLLCxQL1pmyJJN!-1304266397]+
Tue Apr 9 11:47:12 2013 <1009513655332321> Found cookie from cookie header: JSESSIONID=l2GkRkgJczv7vjf9p2dh892WhDTvHglTHdFMppJLLCxQL1pmyJJN!-1304266397
Tue Apr 9 11:47:12 2013 <1009513655332321> Parsing cookie JSESSIONID=l2GkRkgJczv7vjf9p2dh892WhDTvHglTHdFMppJLLCxQL1pmyJJN!-1304266397
+Tue Apr 9 11:47:12 2013 <1009513655332321> getpreferredServersFromCookie: [-1304266397]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> primaryJVMID: [-1304266397], secondaryJVMID: []+
Tue Apr 9 11:47:12 2013 <1009513655332321> No of JVMIDs found in cookie: 1
Tue Apr 9 11:47:12 2013 <1009513655332321> Number of nodes in the list: 1
Tue Apr 9 11:47:12 2013 <1009513655332321> SrvrInfo 0 with JVMID:
Tue Apr 9 11:47:12 2013 <1009513655332321> getPreferredFromCookie: Start Position is 0, listLen is 1
Tue Apr 9 11:47:12 2013 <1009513655332321> getPreferredFromCookie: Either JVMIDs not set or they are stale. Will try to get JVMIDs from WLS
Tue Apr 9 11:47:12 2013 <1009513655332321> initJVMID: Iterating SrvrList from position 0
Tue Apr 9 11:47:12 2013 <1009513655332321> ======internal request /bea_wls_internal/WLDummyInitJVMIDs======
initJVMID: Trying Host[10.232.130.87] Port[12004] SecurePort[12004] useSSL [1] ioTimeout [30] socketTimeout [2]
Tue Apr 9 11:47:12 2013 <1009513655332321> Local Port of the socket is 22159
Tue Apr 9 11:47:12 2013 <1009513655332321> Remote Host 10.232.130.87 Remote Port 12004
Tue Apr 9 11:47:12 2013 <1009513655332321> URL::sendHeaders(): meth='HEAD' file='/bea_wls_internal/WLDummyInitJVMIDs' protocol='HTTP/1.0'
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [Connection]=[Close]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [X-WebLogic-Request-ClusterInfo]=[true]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [X-WebLogic-Force-JVMID]=[unset]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [X-WebLogic-KeepAliveSecs]=[30]+
Tue Apr 9 11:47:12 2013 <1009513655332321> Need to send 167
Tue Apr 9 11:47:12 2013 <1009513655332321> SSLWrite sent 167, Error = 0
Tue Apr 9 11:47:12 2013 <1009513655332321> SSLWrite completed, sent 167
Tue Apr 9 11:47:12 2013 <1009513655332321> URL::parseHeaders: Value of parsedHeaders = [0]
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=0 toRead=4096
+Tue Apr 9 11:47:12 2013 <1009513655332321> URL::parseHeaders: CompleteStatusLine set to [HTTP/1.1 404 Not Found]+
Tue Apr 9 11:47:12 2013 <1009513655332321> URL::parseHeaders: StatusLine set to [404 Not Found]
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[Connection]=[close]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[Date]=[Tue, 09 Apr 2013 18:47:12 GMT]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[Content-Length]=[1214]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[Content-Type]=[text/html; charset=UTF-8]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[X-WebLogic-Cluster-Hash]=[yo3Df7lxCy0/YU7vJMjHoUNLu9I]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[X-Powered-By]=[Servlet/2.5 JSP/2.1]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[X-WebLogic-Cluster-List]=[-1304266397!183009879!12003!12004]+
Tue Apr 9 11:47:12 2013 <1009513655332321> parsed all headers OK
Tue Apr 9 11:47:12 2013 <1009513655332321> Parsing cluster list: -1304266397!183009879!12003!12004
Tue Apr 9 11:47:12 2013 <1009513655332321> parseJVMID: Parsing JVMID '-1304266397!183009879!12003!12004'
Tue Apr 9 11:47:12 2013 <1009513655332321> parseJVMID: Actually parsing '-1304266397!183009879!12003!12004'
Tue Apr 9 11:47:12 2013 <1009513655332321> ServerInfo struct for JVMID '-1304266397' populated, Server Details are: OrigHostInfo [10.232.130.87], isOrigHostInfoDNS [0], Host [10.232.130.87], Port [12003], SecurePort [12004]
Tue Apr 9 11:47:12 2013 <1009513655332321> Initializing lastIndex=0 for a list of length=1
+Tue Apr 9 11:47:12 2013 <1009513655332321> initJVMID: Trying to locate Primary or Secondary using SrvrInfo with JVMID [-1304266397]+
Tue Apr 9 11:47:12 2013 <1009513655332321> initJVMID: Found Primary 10.232.130.87:12003:12004
Tue Apr 9 11:47:12 2013 <1009513655332321> .....internal request /bea_wls_internal/WLDummyInitJVMIDs.....processed
Tue Apr 9 11:47:12 2013 <1009513655332321> getPreferredFromCookie: Found 1 servers
Tue Apr 9 11:47:12 2013 <1009513655332321> attempt #0 out of a max of 5
Tue Apr 9 11:47:12 2013 <1009513655332321> trying connect to PRIMARY '10.232.130.87'/12003/12004
Tue Apr 9 11:47:12 2013 <1009513655332321> getPooledConn: found a host and port/securePort match
Tue Apr 9 11:47:12 2013 <1009513655332321> getPooledConn: No more connections in the pool for Host[10.232.130.87] Port[12003] SecurePort[12004]
Tue Apr 9 11:47:12 2013 <1009513655332321> getConnection: Obtained a URL object from factory
Tue Apr 9 11:47:12 2013 <1009513655332321> getConnection: Setting SSL properties on URL object
Tue Apr 9 11:47:12 2013 <1009513655332321> Local Port of the socket is 22160
Tue Apr 9 11:47:12 2013 <1009513655332321> Remote Host 10.232.130.87 Remote Port 12004
Tue Apr 9 11:47:12 2013 <1009513655332321> created a new connection to preferred server '10.232.130.87/12004' for '/Calendar', Local port:0
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from clnt:[Host]=[adc2110491.us.oracle.com:4443]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from clnt:[User-Agent]=[Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.4) Gecko/20100101 Firefox/10.0.4]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from clnt:[Accept]=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from clnt:[Accept-Language]=[en-us,en;q=0.5]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from clnt:[Accept-Encoding]=[gzip, deflate]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from clnt:[Connection]=[keep-alive]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from clnt:[Cookie]=[s_nr=1365505876368; ADMINCONSOLESESSION=FGY9RkfPy7xrvwn4zYR0LqfTV0vGkBjPxhjxQbQGlkhjXJ22LHXJ!1111363896; _WL_AUTHCOOKIE_ADMINCONSOLESESSION=mSkOg.X9HBLf9jgkR.PJ; JSESSIONID=l2GkRkgJczv7vjf9p2dh892WhDTvHglTHdFMppJLLCxQL1pmyJJN!-1304266397]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from clnt:[ECID-Context]=[1.004qV7vEojhDsXY5HrG7yf0006Jj0000SH;kXjE1ZDLIPHHj4TPnKVB3HOR_UOPXIS]+
Tue Apr 9 11:47:12 2013 <1009513655332321> parse_header is done
Tue Apr 9 11:47:12 2013 <1009513655332321> Method is GET
Tue Apr 9 11:47:12 2013 <1009513655332321> About to call parseHeaders
Tue Apr 9 11:47:12 2013 <1009513655332321> URL::parseHeaders: Value of parsedHeaders = [0]
Tue Apr 9 11:47:12 2013 <1009513655332321> URL::sendHeaders(): meth='GET' file='/Calendar' protocol='HTTP/1.1'
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [Host]=[adc2110491.us.oracle.com:4443]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [User-Agent]=[Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.4) Gecko/20100101 Firefox/10.0.4]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [Accept]=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [Accept-Language]=[en-us,en;q=0.5]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [Accept-Encoding]=[gzip, deflate]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [Cookie]=[s_nr=1365505876368; ADMINCONSOLESESSION=FGY9RkfPy7xrvwn4zYR0LqfTV0vGkBjPxhjxQbQGlkhjXJ22LHXJ!1111363896; _WL_AUTHCOOKIE_ADMINCONSOLESESSION=mSkOg.X9HBLf9jgkR.PJ; JSESSIONID=l2GkRkgJczv7vjf9p2dh892WhDTvHglTHdFMppJLLCxQL1pmyJJN!-1304266397]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [ECID-Context]=[1.004qV7vEojhDsXY5HrG7yf0006Jj0000SH;kXjE1ZDLIPHHj4TPnKVB3HOR_UOPXIS]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [Connection]=[Keep-Alive]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [WL-Proxy-SSL]=[true]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [WL-PATH-TRIM]=[test]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [WL-Proxy-Client-IP]=[148.87.19.36]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [Proxy-Client-IP]=[148.87.19.36]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [X-Forwarded-For]=[148.87.19.36]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [X-WebLogic-KeepAliveSecs]=[30]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [X-WebLogic-Request-ClusterInfo]=[true]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [x-weblogic-cluster-hash]=[yo3Df7lxCy0/YU7vJMjHoUNLu9I]+
Tue Apr 9 11:47:12 2013 <1009513655332321> Need to send 889
Tue Apr 9 11:47:12 2013 <1009513655332321> SSLWrite sent 889, Error = 0
Tue Apr 9 11:47:12 2013 <1009513655332321> SSLWrite completed, sent 889
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=0 toRead=4096
+Tue Apr 9 11:47:12 2013 <1009513655332321> URL::parseHeaders: CompleteStatusLine set to [HTTP/1.1 302 Moved Temporarily]+
Tue Apr 9 11:47:12 2013 <1009513655332321> URL::parseHeaders: StatusLine set to [302 Moved Temporarily]
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[Date]=[Tue, 09 Apr 2013 18:47:12 GMT]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[Transfer-Encoding]=[chunked]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[Location]=[http://adc2110491.us.oracle.com:4443/test/Calendar/]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[X-Powered-By]=[Servlet/2.5 JSP/2.1]+
Tue Apr 9 11:47:12 2013 <1009513655332321> parsed all headers OK
Tue Apr 9 11:47:12 2013 <1009513655332321> done with sendRequest
Tue Apr 9 11:47:12 2013 <1009513655332321> sendResponse() : r->status = '302'
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to client (add):[Date]=[Tue, 09 Apr 2013 18:47:12 GMT]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to client (add):[Location]=[http://adc2110491.us.oracle.com:4443/test/Calendar/]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to client (add):[X-Powered-By]=[Servlet/2.5 JSP/2.1]+
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=0 toRead=4096
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill() Remaining data length 3 is less than buffer size
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=3 toRead=4093
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill() Remaining data length 2 is less than buffer size
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=5 toRead=4091
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill() Remaining data length 1 is less than buffer size
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=0 toRead=4096
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill() Remaining data length 297 is less than buffer size
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=0 toRead=4096
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill() Remaining data length 2 is less than buffer size
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=0 toRead=4096
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill() Remaining data length 3 is less than buffer size
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=3 toRead=4093
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill() Remaining data length 2 is less than buffer size
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=5 toRead=4091
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill() Remaining data length 1 is less than buffer size
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=0 toRead=4096
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill() Remaining data length 2 is less than buffer size
Tue Apr 9 11:47:12 2013 <1009513655332321> calling closeConn() with non-null URL* at 3882
Tue Apr 9 11:47:12 2013 <1009513655332321> canRecycle: conn=1 status=302 isKA=1 clen=-1 isCTE=1
Tue Apr 9 11:47:12 2013 <1009513655332321> closeConn: pooling for '10.232.130.87/12004'
Tue Apr 9 11:47:12 2013 <1009513655332321> closeConn: pooling '0'
+Tue Apr 9 11:47:12 2013 <1009513655332321> request [Calendar] processed successfully..................+Hello All,
I am writing to request your help on the following blocking issue :
In my attempt to configure End-End SSL between Browser->OHS Plugin->SSL Weblogic Managed Server ,
Weblogic is giving me an incorrect response while constructing the absolute redirect.
What i mean is :
I am trying to excess an application deployed on an SSL Weblogic as :
https://adc2110491.us.oracle.com:12004/Calendar
But when i configure this through OHS, and then try to access the same application via URL :
https://adc2110491.us.oracle.com:4443/test/Calendar - This doesnt work !
Instead if i append an extra "Slash" in the URL, the application is accessible(This is a workaround and not an expected behavior) :
https://adc2110491.us.oracle.com:4443/test/Calendar/ - This works !
For such kind of configuration from OHS side, I enabled a property called "*WebLogic Plug-In Enabled*" from "WLS Managed Server -> General settings"
Please note that, in case When above mentioned Weblogic-Server is NOT SSL, this works fine.
This error is only in SSL case.
Also, Pasting the log file below for one such failed request :
+Tue Apr 9 11:47:12 2013 <1009513655332321> ================New Request: [GET /test/Calendar HTTP/1.1] =================+
Tue Apr 9 11:47:12 2013 <1009513655332321> INFO: SSL is configured
Tue Apr 9 11:47:12 2013 <1009513655332321> Using Uri /test/Calendar
Tue Apr 9 11:47:12 2013 <1009513655332321> After trimming path: '/Calendar'
Tue Apr 9 11:47:12 2013 <1009513655332321> The final request string is '/Calendar'
Tue Apr 9 11:47:12 2013 <1009513655332321> parseServerList: Socket Address hostnames 'adc2110491.us.oracle.com:12004'
+Tue Apr 9 11:47:12 2013 <1009513655332321> Host extracted from serverlist is [adc2110491.us.oracle.com]+
Tue Apr 9 11:47:12 2013 <1009513655332321> parseServerList: IP from socket Address [10.232.130.87]
Tue Apr 9 11:47:12 2013 <1009513655332321> Initializing lastIndex=0 for a list of length=1
Tue Apr 9 11:47:12 2013 <1009513655332321> getListNode: created a new server node: id='adc2110491.us.oracle.com:12004' server_name='adc2110491.us.oracle.com', port='4443'
+Tue Apr 9 11:47:12 2013 <1009513655332321> getPreferred: availcookie=[s_nr=1365505876368; ADMINCONSOLESESSION=FGY9RkfPy7xrvwn4zYR0LqfTV0vGkBjPxhjxQbQGlkhjXJ22LHXJ!1111363896; _WL_AUTHCOOKIE_ADMINCONSOLESESSION=mSkOg.X9HBLf9jgkR.PJ; JSESSIONID=l2GkRkgJczv7vjf9p2dh892WhDTvHglTHdFMppJLLCxQL1pmyJJN!-1304266397]+
Tue Apr 9 11:47:12 2013 <1009513655332321> Found cookie from cookie header: JSESSIONID=l2GkRkgJczv7vjf9p2dh892WhDTvHglTHdFMppJLLCxQL1pmyJJN!-1304266397
Tue Apr 9 11:47:12 2013 <1009513655332321> Parsing cookie JSESSIONID=l2GkRkgJczv7vjf9p2dh892WhDTvHglTHdFMppJLLCxQL1pmyJJN!-1304266397
+Tue Apr 9 11:47:12 2013 <1009513655332321> getpreferredServersFromCookie: [-1304266397]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> primaryJVMID: [-1304266397], secondaryJVMID: []+
Tue Apr 9 11:47:12 2013 <1009513655332321> No of JVMIDs found in cookie: 1
Tue Apr 9 11:47:12 2013 <1009513655332321> Number of nodes in the list: 1
Tue Apr 9 11:47:12 2013 <1009513655332321> SrvrInfo 0 with JVMID:
Tue Apr 9 11:47:12 2013 <1009513655332321> getPreferredFromCookie: Start Position is 0, listLen is 1
Tue Apr 9 11:47:12 2013 <1009513655332321> getPreferredFromCookie: Either JVMIDs not set or they are stale. Will try to get JVMIDs from WLS
Tue Apr 9 11:47:12 2013 <1009513655332321> initJVMID: Iterating SrvrList from position 0
Tue Apr 9 11:47:12 2013 <1009513655332321> ======internal request /bea_wls_internal/WLDummyInitJVMIDs======
initJVMID: Trying Host[10.232.130.87] Port[12004] SecurePort[12004] useSSL [1] ioTimeout [30] socketTimeout [2]
Tue Apr 9 11:47:12 2013 <1009513655332321> Local Port of the socket is 22159
Tue Apr 9 11:47:12 2013 <1009513655332321> Remote Host 10.232.130.87 Remote Port 12004
Tue Apr 9 11:47:12 2013 <1009513655332321> URL::sendHeaders(): meth='HEAD' file='/bea_wls_internal/WLDummyInitJVMIDs' protocol='HTTP/1.0'
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [Connection]=[Close]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [X-WebLogic-Request-ClusterInfo]=[true]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [X-WebLogic-Force-JVMID]=[unset]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [X-WebLogic-KeepAliveSecs]=[30]+
Tue Apr 9 11:47:12 2013 <1009513655332321> Need to send 167
Tue Apr 9 11:47:12 2013 <1009513655332321> SSLWrite sent 167, Error = 0
Tue Apr 9 11:47:12 2013 <1009513655332321> SSLWrite completed, sent 167
Tue Apr 9 11:47:12 2013 <1009513655332321> URL::parseHeaders: Value of parsedHeaders = [0]
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=0 toRead=4096
+Tue Apr 9 11:47:12 2013 <1009513655332321> URL::parseHeaders: CompleteStatusLine set to [HTTP/1.1 404 Not Found]+
Tue Apr 9 11:47:12 2013 <1009513655332321> URL::parseHeaders: StatusLine set to [404 Not Found]
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[Connection]=[close]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[Date]=[Tue, 09 Apr 2013 18:47:12 GMT]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[Content-Length]=[1214]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[Content-Type]=[text/html; charset=UTF-8]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[X-WebLogic-Cluster-Hash]=[yo3Df7lxCy0/YU7vJMjHoUNLu9I]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[X-Powered-By]=[Servlet/2.5 JSP/2.1]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[X-WebLogic-Cluster-List]=[-1304266397!183009879!12003!12004]+
Tue Apr 9 11:47:12 2013 <1009513655332321> parsed all headers OK
Tue Apr 9 11:47:12 2013 <1009513655332321> Parsing cluster list: -1304266397!183009879!12003!12004
Tue Apr 9 11:47:12 2013 <1009513655332321> parseJVMID: Parsing JVMID '-1304266397!183009879!12003!12004'
Tue Apr 9 11:47:12 2013 <1009513655332321> parseJVMID: Actually parsing '-1304266397!183009879!12003!12004'
Tue Apr 9 11:47:12 2013 <1009513655332321> ServerInfo struct for JVMID '-1304266397' populated, Server Details are: OrigHostInfo [10.232.130.87], isOrigHostInfoDNS [0], Host [10.232.130.87], Port [12003], SecurePort [12004]
Tue Apr 9 11:47:12 2013 <1009513655332321> Initializing lastIndex=0 for a list of length=1
+Tue Apr 9 11:47:12 2013 <1009513655332321> initJVMID: Trying to locate Primary or Secondary using SrvrInfo with JVMID [-1304266397]+
Tue Apr 9 11:47:12 2013 <1009513655332321> initJVMID: Found Primary 10.232.130.87:12003:12004
Tue Apr 9 11:47:12 2013 <1009513655332321> .....internal request /bea_wls_internal/WLDummyInitJVMIDs.....processed
Tue Apr 9 11:47:12 2013 <1009513655332321> getPreferredFromCookie: Found 1 servers
Tue Apr 9 11:47:12 2013 <1009513655332321> attempt #0 out of a max of 5
Tue Apr 9 11:47:12 2013 <1009513655332321> trying connect to PRIMARY '10.232.130.87'/12003/12004
Tue Apr 9 11:47:12 2013 <1009513655332321> getPooledConn: found a host and port/securePort match
Tue Apr 9 11:47:12 2013 <1009513655332321> getPooledConn: No more connections in the pool for Host[10.232.130.87] Port[12003] SecurePort[12004]
Tue Apr 9 11:47:12 2013 <1009513655332321> getConnection: Obtained a URL object from factory
Tue Apr 9 11:47:12 2013 <1009513655332321> getConnection: Setting SSL properties on URL object
Tue Apr 9 11:47:12 2013 <1009513655332321> Local Port of the socket is 22160
Tue Apr 9 11:47:12 2013 <1009513655332321> Remote Host 10.232.130.87 Remote Port 12004
Tue Apr 9 11:47:12 2013 <1009513655332321> created a new connection to preferred server '10.232.130.87/12004' for '/Calendar', Local port:0
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from clnt:[Host]=[adc2110491.us.oracle.com:4443]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from clnt:[User-Agent]=[Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.4) Gecko/20100101 Firefox/10.0.4]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from clnt:[Accept]=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from clnt:[Accept-Language]=[en-us,en;q=0.5]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from clnt:[Accept-Encoding]=[gzip, deflate]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from clnt:[Connection]=[keep-alive]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from clnt:[Cookie]=[s_nr=1365505876368; ADMINCONSOLESESSION=FGY9RkfPy7xrvwn4zYR0LqfTV0vGkBjPxhjxQbQGlkhjXJ22LHXJ!1111363896; _WL_AUTHCOOKIE_ADMINCONSOLESESSION=mSkOg.X9HBLf9jgkR.PJ; JSESSIONID=l2GkRkgJczv7vjf9p2dh892WhDTvHglTHdFMppJLLCxQL1pmyJJN!-1304266397]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from clnt:[ECID-Context]=[1.004qV7vEojhDsXY5HrG7yf0006Jj0000SH;kXjE1ZDLIPHHj4TPnKVB3HOR_UOPXIS]+
Tue Apr 9 11:47:12 2013 <1009513655332321> parse_header is done
Tue Apr 9 11:47:12 2013 <1009513655332321> Method is GET
Tue Apr 9 11:47:12 2013 <1009513655332321> About to call parseHeaders
Tue Apr 9 11:47:12 2013 <1009513655332321> URL::parseHeaders: Value of parsedHeaders = [0]
Tue Apr 9 11:47:12 2013 <1009513655332321> URL::sendHeaders(): meth='GET' file='/Calendar' protocol='HTTP/1.1'
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [Host]=[adc2110491.us.oracle.com:4443]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [User-Agent]=[Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.4) Gecko/20100101 Firefox/10.0.4]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [Accept]=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [Accept-Language]=[en-us,en;q=0.5]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [Accept-Encoding]=[gzip, deflate]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [Cookie]=[s_nr=1365505876368; ADMINCONSOLESESSION=FGY9RkfPy7xrvwn4zYR0LqfTV0vGkBjPxhjxQbQGlkhjXJ22LHXJ!1111363896; _WL_AUTHCOOKIE_ADMINCONSOLESESSION=mSkOg.X9HBLf9jgkR.PJ; JSESSIONID=l2GkRkgJczv7vjf9p2dh892WhDTvHglTHdFMppJLLCxQL1pmyJJN!-1304266397]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [ECID-Context]=[1.004qV7vEojhDsXY5HrG7yf0006Jj0000SH;kXjE1ZDLIPHHj4TPnKVB3HOR_UOPXIS]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [Connection]=[Keep-Alive]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [WL-Proxy-SSL]=[true]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [WL-PATH-TRIM]=[test]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [WL-Proxy-Client-IP]=[148.87.19.36]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [Proxy-Client-IP]=[148.87.19.36]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [X-Forwarded-For]=[148.87.19.36]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [X-WebLogic-KeepAliveSecs]=[30]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [X-WebLogic-Request-ClusterInfo]=[true]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to WLS: [x-weblogic-cluster-hash]=[yo3Df7lxCy0/YU7vJMjHoUNLu9I]+
Tue Apr 9 11:47:12 2013 <1009513655332321> Need to send 889
Tue Apr 9 11:47:12 2013 <1009513655332321> SSLWrite sent 889, Error = 0
Tue Apr 9 11:47:12 2013 <1009513655332321> SSLWrite completed, sent 889
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=0 toRead=4096
+Tue Apr 9 11:47:12 2013 <1009513655332321> URL::parseHeaders: CompleteStatusLine set to [HTTP/1.1 302 Moved Temporarily]+
Tue Apr 9 11:47:12 2013 <1009513655332321> URL::parseHeaders: StatusLine set to [302 Moved Temporarily]
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[Date]=[Tue, 09 Apr 2013 18:47:12 GMT]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[Transfer-Encoding]=[chunked]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[Location]=[http://adc2110491.us.oracle.com:4443/test/Calendar/]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs from WLS:[X-Powered-By]=[Servlet/2.5 JSP/2.1]+
Tue Apr 9 11:47:12 2013 <1009513655332321> parsed all headers OK
Tue Apr 9 11:47:12 2013 <1009513655332321> done with sendRequest
Tue Apr 9 11:47:12 2013 <1009513655332321> sendResponse() : r->status = '302'
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to client (add):[Date]=[Tue, 09 Apr 2013 18:47:12 GMT]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to client (add):[Location]=[http://adc2110491.us.oracle.com:4443/test/Calendar/]+
+Tue Apr 9 11:47:12 2013 <1009513655332321> Hdrs to client (add):[X-Powered-By]=[Servlet/2.5 JSP/2.1]+
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=0 toRead=4096
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill() Remaining data length 3 is less than buffer size
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=3 toRead=4093
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill() Remaining data length 2 is less than buffer size
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=5 toRead=4091
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill() Remaining data length 1 is less than buffer size
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=0 toRead=4096
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill() Remaining data length 297 is less than buffer size
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=0 toRead=4096
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill() Remaining data length 2 is less than buffer size
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=0 toRead=4096
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill() Remaining data length 3 is less than buffer size
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=3 toRead=4093
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill() Remaining data length 2 is less than buffer size
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=5 toRead=4091
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill() Remaining data length 1 is less than buffer size
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill(): first=0 last=0 toRead=4096
Tue Apr 9 11:47:12 2013 <1009513655332321> Reader::fill() Remaining data length 2 is less than buffer size
Tue Apr 9 11:47:12 2013 <1009513655332321> calling closeConn() with non-null URL* at 3882
Tue Apr 9 11:47:12 2013 <1009513655332321> canRecycle: conn=1 status=302 isKA=1 clen=-1 isCTE=1
Tue Apr 9 11:47:12 2013 <1009513655332321> closeConn: pooling for '10.232.130.87/12004'
Tue Apr 9 11:47:12 2013 <1009513655332321> closeConn: pooling '0'
+Tue Apr 9 11:47:12 2013 <1009513655332321> request [Calendar] processed successfully..................+ -
How to replace back slash ( / ) from xml url path
Hi,
I got an xml file from other site that generate url starting
with back slash ( / ) . I want to replace that trialing slash. How
do I replace through as3.
I tried the replace() method no luck with the /
Here is what I'm tiring to do:
Look at the code
Anybody know how can i generate
http://www.domain.com/images/image1.jpgThe as3corelib contains a URI class you can use for this type
operation.
http://code.google.com/p/as3corelib/downloads/list -
Append a value to the URL and send
Hai all,
i want to send some values to the next page appending with the URL like
http://webjava-2k:8080/mydemo/keyword.faces?allow
can i do this?
If yes, then in next page how can i retrieve the value?you might not be able to send parameters thru the url
as jsf uses POST by default and there is no way (that
i know of) of changing this to a GET.Two FYIs. First, you can include parameters in the query string portion of a URL when using a POST. In straight HTML, this looks like:
<form method="POST" action="/xyz.cgi?param=abc">
<input type="text" name="param2" />
</form>Second, some clever people have figured out how to make JSF work on GET requests; try Googling if you are curious.
>
you can try the method mentioned earlierI agree with you here, the <f:param> component is the way to go. -
FF keeps appending "install/index.php" to url
I am trying to install phpBB, and set it up with MySQL and apache on Windows XP. I downloaded a troubleshooting SDK from phpBB.com to troubleshoot the installation, but every time I try to enter the folder ('''''c:\servername\phpbb3\sdk''''') Firefox keeps appending "install/index.php" so it becomes c:\servername\phpbb3\sdk\'''install\index.php''' EVERY time I try to enter the URL in parentheses. There is no "install/index.php" in the folder I am trying to access via Firefox. No matter what I do, it keeps doing it - it won't let me access the correct folder!
I am trying to install phpBB, and set it up with MySQL and apache on Windows XP. I downloaded a troubleshooting SDK from phpBB.com to troubleshoot the installation, but every time I try to enter the folder ('''''c:\servername\phpbb3\sdk''''') Firefox keeps appending "install/index.php" so it becomes c:\servername\phpbb3\sdk\'''install\index.php''' EVERY time I try to enter the URL in parentheses. There is no "install/index.php" in the folder I am trying to access via Firefox. No matter what I do, it keeps doing it - it won't let me access the correct folder!
-
How to Get Rid of the Unwanted Slash Appended by xfa.host.gotoURL?
Hello LifeCycle users,
I'm using "xfa.host.gotoURL" to call a number of URLs on the local network and I figured out that the gotoURL method automatically appends an unwanted slash to the URL. Unfortunately, with this unwanted slash the last parameter in my URLs does not work.
For example, I call an URL like this:
xfa.host.gotoURL(http://myhost?param1=NO¶m2=YES&
param3=YES, 0);
The URL passed to the browser seems to be:
http://myhost?param1=NO¶m2=YES¶m3=YES/
causing "param3" to not work anymore. Only "param1" and "param2" are evaluated on "myhost".
Is there any workaround (except adding a dummy parameter after "param3") for this?
Thanks,
MarcusYou should post your question in the Forum Comments forum,
http://forums.adobe.com/index.jspa?view=discussions -
ITS URL with two slashes when using namespace
Hi, experts!
We are experiencing a strange behavior with the generated URL of an ITS service.
The problem: We use our own namespace. Therefore, all objects get a prefix when created. Our internet service is called e.g. /BLABLA/MYCORE. When uploading MIMEs to our server, they can be accessed via this URL: http://10.10.10.10:8000/sap/public/bc/its/mimes//blabla/mycore/01/images/logo.png.
Can you see the two slashes in the URL? The funny part is that the URL works!
However, we are not sure, if this URL can lead to problems?
Do you have any ideas?
Thx, SilviaHi Oisin,
we develop in a package with our own namespace, e.g. "/blabla/". According to SAP naming conventions, the internet service must start with the same prefix. I called my internet service "/blabla/mycore".
Apparently, this name is used to create the URL for the mimes (e.g. http://10.10.10.10:8000/sap/public/bc/its/mimes//blabla/mycore/01/images/logo.png). If I would have called my service "zmycore", the URL would be http://10.10.10.10:8000/sap/public/bc/its/mimes/zmycore/01/images/logo.png.
Unfortunately, I cannot change the MIMEs URL as it is automatically generated by the system.
Regards, Silvia -
Trailing slash in meeting room url
When Breeze creates a new meeting room URL, the URL has a
trailing slash at the end of the URL . When accessing the URL, it
it necessary to include the trailing slash in the URL? Would
leaving off the trailing slash cause connection issues?No, I have never found it to matter. But you can always try
it out yourself. -
Title pretty much says it all. I'm in the process of making my application friendly to folks without cookies. The site uses a login. I'm in the process of appending Session.URLToken to every URL and form action, to track a user session without cookies (if necessary).
Do I need to place a CFLOCK around EVERY code block that contains a URL, since I'm referencing a session variable? I assume not since that would be utterly impractical (plus I'm not modifying any information)... but I thought I should check, 'cause if I'm wrong there's probably potential for all SORTS of issues here.
Thanks!
Joeno
-
We have found that when using the java.net.URL constructor that takes a context and a spec
public URL(URL context, String spec)
that the resultant url is incorrect. The docs state:
" If the spec's path component begins with a slash character "/" then the path is treated as absolute and the spec path replaces the context path.
Otherwise, the path is treated as a relative path and is appended to the context path, as described in RFC2396. Also, in this case, the path is canonicalized through the removal of directory changes made by occurences of ".." and ".". "
specifically :
"the path is canonicalized through the removal of directory changes made by occurences of ".." and ".". ""
This does not happen - for example a context of "http://mywebsite.com/support" and a spec of "../index.html" leads to a final URL of "http://mywebsite.com/../index.html" but it is supposed to be http://www.mywebsite.com/index.
the similar problem occurs with the "." operator e.g. with a context of "http://www.mywebsite.com" and a spec of "./index.html" gives a final URL of "http://www.mywebsite.com/./index.html rather than http://www.mywebsite.com/index.html
We are currently having to break down the context and the spec manually to cater for the ".." and "." operators.
Are there any specific rules that should be adhered to when creating URLs using contexts and specs? We are using a web page as the context and applying the urls of the links within the page as the spec. This is done recusively through the site.Hi,
your problem is that you forget to put a / at the end of your Url if it points to a folder instead of a file.
The URL class always appends the spec to the last folder of the given context. E.g.
context: "http://www.mypage.com/pages/index.html"
spec: "index2.html"
gives: "http://www.mypage.com/pages/index2.html"
because the context really is "http://www.mypage.com/pages/" and not the whole context URL (only a folder can be a context, not a certain file).
If you now use "http://www.mypage.com/support" as a context, the URL class does not know that "support" is a folder and tries to append your spec to "http://www.mypage.com/". If you instead use "http://www.mypage.com/support/" as a spec, everything will work fine because the last slash tell the URL class that "support" is a folder and therefore part of the context.
You last example is also correct. The Url "http://www.mywebsite.com/support" has the context "http://www.mywebsite.com/". If you try to append "../index.html" it cannot work because the context has no parent.
Andre -
Help with redirecting URL from Web Dynpro
Hi,
I have a question regarding how i can construct a URL where i would like to forward the user from a WD app based on some user interaction.
The problem is that i need to know the protocol, server & host to resend the control to ( basically append these values to a url path that i have eg: <http(s)>://<host>:<port>/<the path i have>). With NW2004s, the request object is not exposed to us anymore, so i am wondering what is the best way to construct the url.
I have gone through various posts here and the one that came closest to accomplishing what i need is the one by Valery S which recommends creating a Servlet that captures the request info that i need and then calling the WD app including the info that i need as request parameters in the calling URL.
Before i do this, i want to see if anyone has been able to solve this through another approach.
Appreciate the inputs.
Best Regards
Renchy ThomasRenchy,
Now I see you are conflicting with yourself
On one hand, if you need to redirect to the application hosted on the same server you need no protocol/server/port parameters. And you confirmed that this works for you.
On other hand, you are complaining that WD doesn't know in advance the protocol/host/port of arbitrary server you are planning to redirect to. Well, as I understand this is not API issue, this is configuration issue. You just need some configurable way to store such settings.
If this is true, then I can suggest 2 options:
1. HTTPDestination -- you are setting and configuring destination via VisualAdministrator, then from your code you are lookup destinitation by logical name and get physical URL.
2. IWDConfiguration / WDConfiguration -- you are creating settings as regular properties file, after deployment you may tweak this property file with VisualAdministrator. From code you are using WDConfiguration API to read URL or parts of URL as properties.
Valery Silaev
SaM Solutions
http://www.sam-solutions.net -
Invalid URL error when displaying Work Item Attached URL Object in UWL
Hi,
After upgraded from EP6 to EP7 the user can no longer display the attached URL object of work items in the UWL Inbox. It works fine in the SAPGUI Inbox so the URL should be okay. We found below error messages in UWL log file:
#1.5#0003BA5D298B001E0000030300003A280004314BFE992222#1180102370599#/uwl/ui#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.ui.control.UWLActionControl#C004049#43497#####SAPEngine_Application_Thread[impl:3]_0##0#0#Warning#1#com.sap.netweaver.bc.uwl.ui.control.UWLActionControl#Plain###com.sap.tc.webdynpro.services.exceptions.InvalidUrlRuntimeException: Invalid URL=HTTP://apinvoice.d51.lilly.com
gbip
gbip.asp?po=invoice=TC630400360USERID=USC076601#
#1.5#0003BA5D298B001E0000030400003A280004314BFE9986AB#1180102370625#/uwl/ui#sap.com/tcwddispwda#com.sap.netweaver.bc.uwl.ui.control.UWLActionControl#C004049#43497#####SAPEngine_Application_Thread[impl:3]_0##0#0#Warning#1#com.sap.netweaver.bc.uwl.ui.control.UWLActionControl#Plain###com.sap.netweaver.bc.uwl.UWLException: Fri May 25 10:12:50 EDT 2007
(Portal) :com.sap.tc.webdynpro.services.exceptions.InvalidUrlRuntimeException:Invalid URL=HTTP://apinvoice.d51.lilly.com
gbip
gbip.asp?po=invoice=TC630400360USERID=USC076601#
Looks like the error is related to the back slashes in the URL but it was working fine in EP6. We are going to change the back slashes to forward slashes to see it will work. We would like to know if any SDNers can provide some more detail on why this is happening and if there is other solution. Any hint will be very appreciated.
Regards,
Jiannan CheUse link attachment or add button action to UWL as possible workaround. It appears that work item text can only be displayed as-is.
-
Direct URL to open the Sales order transaction based on the Transacation ID
Hi All,
Please help me...
When i click the below link then it will navigate to the sales order transacation.
https://dev1crm...:18020/sap(bD1lbiZjPTIwMCZkPW1pbg==)/bc/bsp/sap/crm_bsp_frame/entrypoint.do?appl=CRMD_BUS2000115&blview=&analyze=X
but my requirement is, now i have to create a differnet url for different transaction ID's.
Let us consider few sales order transacation ID's :
6500000001
6500000002
6500000003
6500000004
6500000005
now i will create a hyper link to these transaction id's from the portal screen, and when ever user clicks on any of these transaction id, then i should navigate to the sales order transaction by showing the details about this transaction id.
Please do suggest me how to handle this.
Thanks in advance.
anilHi,
I got the solution,
append this string to the URL
&crm_object_id=4603D4CDF5950535E100000082974D14
4603D4CDF5950535E100000082974D14 --- Guid.
Thanks,
Anil -
CFID & CFTOKEN added to URL by CF
CF automatically appends CFID & CFTOKEN to the URL when
using <div <span with id = a variable.
They are not appended when a constant is used.
I do not want these to be displayed unless I append them
myself.
Is this a CF bug, or can I change my code somehow?
I display a variable number of rows, so using a constant is
not a solution.
And, I use client and session variables throughout my app.
Please help me. Thanks a bunch.
<cfapplication name="myApp" sessiontimeout="20"
sessionmanagement="Yes"
setclientcookies="Yes" clientmanagement="Yes">
This is BAD ...
URL with the following code:
abc/action.cfm?CFID=1851&CFTOKEN=76141078
<div id="#style#">
<span id="#style#"
onclick="location.href='abc/action.cfm'">
<table><tr><td>info</td></tr></table>
</span>
</div>
This is GOOD ...
URL with the following code: abc/action.cfm
<div id="1001">
<span id="1001"
onclick="location.href='abc/action.cfm'">
<table><tr><td>info</td></tr></table>
</span>
</div>Greetings Steve and other URLSessionFormat fans.
The remote file of a XMLHttp request (Spry) among other
things is trying to set two sessions.variables.
I have been told that if the remote file doesn't know the
session CFID & CFTOKEN the new session variables wil not be
recognized, and to avoid that I should use URLSessionFormat.
Now, my original Spry request look like this:
var request_URL
="/petitions/client/remote/authenticate.cfm?username="+uName+"&password="+uPass;
Spry.Utils.loadURL("GET", request_URL, false, authBack);
which returns values as expected but does not set the session
variables, so I combine it with URLSessionFormat, like this:
var request_URL =
'#URLSessionFormat("/petitions/client/remote/authenticate.cfm?username='+uName+'&password ='+uPass+'")#';
The variable "request_URL" will render:
"/petitions/client/remote/authenticate.cfm;jsessionid=7e301d2f98475b4d5f10?username="+uNa me+"&password="+uPass&CFID=300&CFTOKEN=11985066"
which causes Spry to catch an exception while loading the url
and the request fails altogether.
Please note the " ; " semicolumn sign between the filename
"authenticate.cfm" and "jsessionid=" which is not like
CF7.1 example
"myactionpage.cfm?jsessionid=xxxx;cfid=xxxx&cftoken=xxxxxxxx"
found in livedocs.
Is either my code, macromedia example, or both wrong?
Or maybe it needs some tweaking and fixing to replace the
semicolumn and put the question mark in the right place?
Pulling quite a few hair here. Thanks for helping. -
Jsessionid getting appended to the dsp:a tag
Hi,
We have a requirement to strip off jsession id getting generated from every url.
However, in a non-secure page (http), the link (which uses <dsp:a> tag) automatically appends the jsessionid to the url. We are not able to manually strip it out.
Is there a way we can tell ATG10 to strip out jsession id upon link creation?
Any idea is highly appreciated.I have been in contact w/ a remote user who has this same issue.
He has a rather large volume of local mail in a POP account. He recently had to migrate his data from one Macbook Pro running Snow Leopard to another so that we could send his older machine in to get repaired.
Now that he's working on the loaner with all his data migrated over, he gets this error when he tries to send mail. He cannot send any mail from within Mail.app. I'm currently having him back up his ~/Library/Mail/ and ~/Library/Mail Downloads/ and ~/Library/Preferences/com.apple.mail.plist files to an external drive before we really start messing about with anything too scary. I had him try to remove the envelope index file to "import" all the mail, but mail crashed twice at about 30% complete, so he put the old envelope index file back.
Something interesting: he has two accounts, The one which does not work is the work account which is set up for POP3 and one is a personal account which is set up using IMAP.
He just sent me a test message from the personal account and mail had no problem writing to that account's (do they have separate outboxes?) outbox.
He does have like 400,000 messages total in a variety of folders in mail, but... it was working before he used the Migration Assistant to move his data to this temporary laptop.
Maybe you are looking for
-
Error in Starting the OBI Server
Hi , i have installed OBIEE in solaris box and configured Web Logic as application server .when i tried to start the OBI server i have the following error message. [nQSError: 46116] The locale en_US.UTF-8 needs to be installed on the machine for the
-
Manually adding BOM to UTF-16LE file?
hi. i have a bash script that needs to preform something on a string from standard input, save it in a file and convert the file to UTF-16LE with BOM for further processing by another application. i use iconv to convert the text file to UTF-16LE, but
-
How can I fix getting the error 11111 when submitting a podcast to Apple?
I am starting a new podcast but when I submit the link to Apple through iTunes I get the error 11111.
-
Program to send email concerning table in SE16
Hi Everyone, I think I have a pretty simple question to ask. I'm looking to do a Number of Entries against a table in SE16, and I basically want to be able to send that number in an email to myself. Does anyone know if there's a program that already
-
Firefox 3.6.9 Photo's Not Displaying
Just went back to my site after months of not updating. Added 2 Facebook Buttons and some text on my "News & Updates" page. I hit publish and suddenly I have lost visibility of all Images as well as galleries when Viewed on Firefox 3.6.9. Test on Saf