Iisforward and encoded URLs
I cannot seem to get the iisproxy/iisforward combination to properly handle
encoded URL session strings.
I have been performing my tests with WebLogic Sever 5.1.0sp5, IIS 5 and
Windows 2000 (both IE and Netscape). I use the
examples.servlets.SessionServlet included with WebLogic server. It has a
link that tests encoded URL session management. With sp4 and before, the
iisproxy handled this well, so long as I included the arbitrary extension.
The forwarding works to hit the servlet the first time, but subsequent
times present me with a 404, as if the proxy decided it shouldn't forward
the request and IIS is searching its files. IIS logs confirm this.
Anyone been able to get encodeURL() calls to work through the proxy?
Jesse
Either no one uses encodedURLs or no one bothered trying this. However, I
found this behavior in both IIS 4 and IIS 5 and filed a bug report. A
change request has been made and can be tracked via ID 189897.
Jesse
Similar Messages
-
How to decoding and encoding PNG and GIF images?
I could decode and encode JPEG images using following create functions which are in com.sun.image.codec.jpeg package.
JPEGImageDecoder decoder = JPEGCodec .createJPEGDecoder(inputStream);
JPEGImageEncoder encoder = JPEGCodec .createJPEGEncoder(outputStream);
But I dont know required package and functions to decode and encode PNG and GIF images. Please help me.Is the API that hard to follow?
ImageIO.read( file/stream/url)
ImageIO.write( image, format (e.g. PNG, GIF(1), JPEG), file/stream what have you)
1) Not sure if Java supports GIF saving, it might if you install JAI, or Java 6. -
How to encode URL parameters in pl/sql?
How to encode url and its paramters in PL/SQL to call a page using html GET method? Is there any equiavlent method of java's URLEncoder.encode() method in pl/sql (in any web packages) ?
Any help/pointers highly appreciated.
P.S. : URGENT PLEASE!!!http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:371959198986
-
Hello All,
I want to encode URL in my jsp code such that when the jsp is rendered and if user sees the source code then the url should not be shown.
Is this possible ?
Thanksif user sees the source code then the url should not be shownIf html source code doesn't contain the URLs then how will browser know where to send HTTP request? It is like saying "I sent my sister a $100 bank cheque but didn't sign it because I don't want her to know who has sent it."
-
[SOLVED] Encoded URL's are Re-Encoded When Clicked
Some of our users here are copying URL's of relevant files [from one of our sites] and pasting them into Excel.
As the need arises, they refer back to the Excel document and click the link to retrieve the document.
When clicked the already-encoded URL's:
https://sub.domain/some/path/to/files/My%20Super%20Long%20File%20Name-Thats%20Already%20Encoded.pdf
Are getting encoded a second time, which result in a URL like:
https://sub.domain/some/path/to/files/My%2520Super%2520Long%2520File%2520Name-Thats%2520Already%2520Encoded.pdf
This naturally won't work because its now literally looking for a file called "My%20Super%20Long%20File%20Name-Thats%20Already%20Encoded.pdf" which of course doesn't exist.
The URL's in Excel appear normal in the cells themselves.
The editing the actual hyperlink confirms its also correct there as well.
The URL's also look normal in the formula bar.
I've reproduced this behavior on multiple company machines: Windows 7 x64 Enterprise SP1 with Office ProPlus 2010 32-bit.
I was also able to reproduce this on vanilla Windows 7 VM's in Hyper-V using Office ProPlus 2010 and 2013. Although domain joined, they're in an OU with blocked inheritance enabled and no linked GPO's.
I can't figure out where the problem is: Excel, Windows, IIS or something else?Hi,
I’ve done a test for this situation, but the url won’t change after reopening the file.
1. A pdf file in SharePoint, and the file name contains some spaces which is the same with customers.
2. Input the SharePoint URL into Excel, and each spaces has been replaced by %20
3. Then, I can open the file in IE
4. After I closed the website and excel file, I could open it in IE again and the URL didn’t change.
As you mentioned in the ticket “Are getting encoded a second time, which result in a URL like”, may I know if the re-encoding was done automatically or manually? Based on the test result, it won’t encode a second automatically.
If it is done manually, the issue should be most likely caused by the space character being encoded twice, because the space character is encoded as %20 as our two url show. However, based on your second url, it turned into %2520, Since the % character
is encoded as %25, it should be a result of a double encoded. Actually, URLs need their characters to be in a specific format, ASCII characters, so that browsers can correctly interpret and parse the data. For every ASCII character in URLs, it will be encoded
a string starting with %, and % is also an ASCII character in URLs and encoded to %25. If we double encode a URL, which results that every ASCII character in the URL will be encoded a string starting with %25, and that the URL becomes invalid. Therefore, I
suggest you name the file using
alpha-numeric
characters
only or do not encode it twice.
If it is done automatically, since you have reproduced the issue on multiple machines, could you please help check the following Excel settings in several machines to make comparisons with each other.
Excel Option>Advanced, Scroll to the General section and click Web Options, select Encoding
If it possible, would you mind sharing a test file with me to do a test from my end?
Regards,
Melon Chen
Forum Support
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please click
here -
A peculiar problem with encode url
Hi,
I have the following code snippet in jsp
<a href="<%=urlencoder.encode("cxc.jsp?P1=RWDS") %">> Rewards</a>
But when this page is requested, the oracle application server responds with response 404 stating requested url not found.we aer using oracle application server 10g release 2.
But without encoding the response is correctly displayed.
has it got to do anything with encoding? or will it be required to change the code.
But the same encoded url works perfectly fine on iplanet application server.
Thanks in advanceI was able to solve this by including the google code in an external PHP file as well. However if my template has a repeating region in it, and my contribute user adds a region from it, it breaks the code again :/
Are there any other suggestions out there?? -
A wierd problem while encoding URLs
Hi all,
I'm facing a wierd problem with the java.net.URLEncoder class. The encode function in this class is used for encoding URL based on standards like "UTF-8" etc..
I need to encode the URLs, because i have to send this information in a XML to another server.. Here's what the URLEncoder is doing if i give it the URL
http://mydomain.com:80/myServlet?_fileName=filename.mp3&_useStreaming=true
its encoding this as
http%3A%2F%2Fmydomain.com%3A80%2FmyServlet%3F_fileName%3Dfilename.mp3%26_useStreaming%3Dtrue
but, all I wanted is to encode only '&' character ( as XML misinterprets this character with schemes ).
So, my question is .. is there any way that i can selectively encode the characters in the URL?
Any help wud be appriciated in this regard. :-)I accept what you are saying.. URLEncoder encodes any string that's passed to it..
I infact have two different problems in hand.. The reason i mentioned only one above is because the solution to the first problem cud as well solve the second.. Anyway, here's the second problem ...
I'm recieving an XML from a server, where i get the URL info and i have to download the CONTENT from that URL.. Sample xml is given below
<Music>
<Singer>Tata Young</Singer>
<contentURL>http://myMusic.com/sexy naughty.mp3</contentURL>
</Music>
if you see the URL in the xml, that infact contains spaces in it.. I have my logic which checks if the given URL is a absolute URL or relative URL
if( relative URL)
I append "http://domain name:" stuff to make it absolute
else
i connect to the URL directly to get the Content
I'm using
URI i = new URI(str);
i.isAbsolute() method to determine whether its a absolute URL or not..
but this method doesn't seem to work for URLs that have spaces in them.. So, i encoded the URL and tried passing it to the method.. but it still doesn't work..
I probed into URI class itself and found out to my amazement that URI class assumes that URL contains only alpha numeric characters and few special characters like '+' , '/' , ':' etc..
Since the encoded URL has '%' character in it.. its not able to say that its a absolute URL.. Tht's the reason I asked for selective encoding.. ( say, which encodes only [space] character).. -
IISForward and IISProxy Configuration Internals/Interaction
Can someone give a detailed description of how IISForward and IISProxy interact
with IIS as ISAPI modules? We have the IIS plugins functioning properly, we would
just like a more detailed explanation on how they interact and work together when
proxying multiple virtual hosts. It seems that many people are in the dark on
this process, and that any clarification would alleviate many of the posts we
see here. I would also settle for a link to some documentation (not BEA's, it
is very poor!) on this.
Here is an excerpt from some documentation that we have written up internally
that helped us keep track of what we were doing when setting up the IIS Plugins.
Some of this content draws from BEA's documentation so we here at Servicemaster
make no claims on this content:
START OF EXCERPT:
6. Configuring IISForward
6.1 Installing iisforward.dll
Before creating the Virtual hosts in IIS, we need to create the directories that
are going to contain the DLL’s. There is going to be a one-to-one relationship
between Virtual Hosts and DLL directories. First create a directory where all
of the DLL directories will reside:
D:\WebLogicVHosts
Within this directory create the directory for each Virtual Host that will be
connecting to the WebLogic instance:
D:\WebLogicVHosts\vhost1-svmhome.com
D:\WebLogicVHosts\vhost2-svmwork.com
D:\WebLogicVHosts\vhost3-svmmemphis.com
Now copy the iisforward.dll from the directory WL_HOME/server/bin into each of
the directories you created for each of the Virtual Hosts.
6.2 Creating iisforward.ini
Create a file called iisforward.ini. Place this file in the same directories for
each of the virtual hosts that contain the iisforward.dll. This file should contain
the following entry for each virtual website defined in IIS:
vhostN=websiteName:port
websiteName:port=dll_directory/iisproxy.ini
Where:
N is an integer representing the virtual website. The first virtual website you
define should use the integer 1 and each subsequent website should increment this
number by 1.
websiteName is the name of the virtual website as registered with IIS.
port is the port number where IIS listens for HTTP requests.
dll_directory is the path to the directory you created in step 1.
For example:
vhost1=svmhome.com:7001
svmhome.com:7001=D:\WebLogicVHosts\vhost1-svmhome.com \iisproxy.ini
vhost2=svmwork.com:7002
svmwork.com:7002= D:\WebLogicVHosts\vhost2-svmhome.com \iisproxy.ini
vhost3=svmmemphis.com:7003
svmmemphis.com:7003= D:\WebLogicVHosts\vhost3-svmmemphis.com \iisproxy.ini
7. Configuring IISProxy
7.1 Installing IISProxy
Now copy the iisproxy.dll from the directory WL_HOME/server/bin into each of the
directories you created for each of the Virtual Hosts.
D:\WebLogicVHosts\vhost1-svmhome.com
D:\WebLogicVHosts\vhost2-svmwork.com
D:\WebLogicVHosts\vhost3-svmmemphis.com
7.2 Creating iisproxy.ini
The iisproxy.ini file contains name=value pairs that define configuration parameters
for the plug-in. Changes in the parameters will not go into effect until you
restart the "IIS Admin Service".
We need to create a iisproxy.ini configuration file for each of the virtual hosts.
Here is a sample iisproxy.ini file for use with a single, non-clustered WebLogic
Server. Comment lines are denoted with the "#" character.
# This file contains initialization name/value pairs
# for the IIS/WebLogic plug-in.
WebLogicHost=examplehost16
WebLogicPort=7001
ConnectTimeoutSecs=20
ConnectRetrySecs=2
Here is a sample iisproxy.ini file with clustered WebLogic Servers. Comment lines
are denoted with the "#" character.
# This file contains initialization name/value pairs
# for the IIS/WebLogic plug-in.
WebLogicCluster=examplehost07:7001,examplehost08:7001
ConnectTimeoutSecs=20
ConnectRetrySecs=2
8. Configuring IIS Virtual Hosts
8.1 Proxying by file extension
At this point we are now ready to configure the virtual hosts within IIS. First
create a new virtual website as you would normally do within IIS. Second add
the iisforward.dll file as a filter service in IIS (WebSite Properties —> ISAPI
Filters tab —> Add the iisforward dll). For each virtual host the path to the
iisforward.dll should be unique. The paths should match the ones that you created
previously. Again, there should be a unique path for each virtual website.
Example:
D:\WebLogicVHosts\vhost1-svmhome.com\iisforward.dll
D:\WebLogicVHosts\vhost2-svmwork.com\iisforward.dll
D:\WebLogicVHosts\vhost3-svmmemphis.com\iisforward.dll
On the App Mappings tab, click the Add button to add file types and configure
them to be proxied to WebLogic Server. In the dialog box, browse to find the
"iisproxy.dll" file that matches the path to the unique iisproxy.dll file for
the virtual host.
Example:
D:\WebLogicVHosts\vhost1-svmhome.com\iisproxy.dll
D:\WebLogicVHosts\vhost2-svmwork.com\iisproxy.dll
D:\WebLogicVHosts\vhost3-svmmemphis.com\iisproxy.dll
Set the Extension to the type of file that you want to proxy to WebLogic Server.
Register .wlforward as a special file type to be handled by iisproxy.dll. Deselect
the "Check that file exists" check box. Set the Method exclusions as needed
to create a secure installation.
When you finish, click the OK button to save the configuration. You can repeat
this process for each file type you want to proxy to WebLogic. When you finish
configuring file types, click the OK button to close the Properties panel.
In the URL, any path information you add after the server and port is passed directly
to WebLogic Server. For example, if you request a file from IIS with the URL:
Example:
http://svmhome.com/jspfiles/myfile.jsp
it is proxied to WebLogic Server with a URL such as
http://examplehost07:7001/jspfiles/myfile.jsp
8.2 Proxying by path
Now, within the iisproxy.dll file for each virtual host, define the property WlForwardPath
in iisproxy.ini. WlForwardPath defines the path that is proxied to WebLogic
Server.
Example:
WlForwardPath=/apps
Set the PathTrim parameter to trim off the WlForwardPath when necessary.
Example:
WlForwardPath=/apps
PathTrim=/apps
The previous trims a request from IIS to Weblogic Server. Therefore, /apps/exampleapp
is changed to /exampleapp.
If you want requests that do not contain extra path information (in other words,
requests containing only a host name), set the DefaultFileName parameter to the
name of the welcome page of the Web Application to which the request is being
proxied. The value of this parameter is appended to the URL.
If you need to debug your application, set the Debug=ON parameter in iisproxy.ini.
A c:\tmp\iisforward.log is generated containing a log of the plug-in's activity
that you can use for debugging purposes.
For each virtual host that you configure to be proxied to WebLogic, set the value
for the Application Protection option to high (isolated) as opposed to Low or
Medium. This allows separate iisforward and iisproxy DLL’s to be loaded into
each virtual hosts (dllhost.exe) memory address space.
END OF EXCERPT
Can someone at BEA verify this information or possible add to it?
TonyNice write-up.
Though, I may have found an easier way to use VirtualHost and/or Virtual
Directories with IIS without the need to use the iisforward.dll.
A lot of customers are asking about using multiple WlForwardPath to proxy to
different WebLogic instances. It is possible to use Virtual Directories to
do this.
All that you need to do is set the Application Protection to HIGH for each
Virtual Directory
and then each directory can use it's own iisproxy.dll/iisproxy.ini. Fairly
straight forward and it seems to
work.
As well, you can do Virtual Websites with each one having the application
protection set to HIGH as well. And of course they will each use their own
iisproxy.dll/iisproxy.ini. These virtual Websites can also all listen on
the
same IP/Port and if you want to proxy based on Host header, you can click on
the advanced tab and set the Host header for which this virtual website will
use.
So, all that really needs to be done is when you create the virtual
directory, make sure the
application protection is set to HIGH and change the App Mapping to point to
the new iisproxy.dll/iisproxy.ini.
If you want to proxy everything under that path, then Add another App
Mapping
that has an extension of *.
I do believe this will allow us to completely bypass the need of the
iisforward.
I have tested this with IIS5. With IIS4 it is not possible to register an
App Mapping of *(not sure why).
I hope this helps many of you.
Best regards,
Eric
"Tony Mendoza" <[email protected]> wrote in message
news:[email protected]...
>
Can someone give a detailed description of how IISForward and IISProxyinteract
with IIS as ISAPI modules? We have the IIS plugins functioning properly,we would
just like a more detailed explanation on how they interact and worktogether when
proxying multiple virtual hosts. It seems that many people are in thedark on
this process, and that any clarification would alleviate many of the postswe
see here. I would also settle for a link to some documentation (notBEA's, it
is very poor!) on this.
Here is an excerpt from some documentation that we have written upinternally
that helped us keep track of what we were doing when setting up the IISPlugins.
Some of this content draws from BEA's documentation so we here atServicemaster
make no claims on this content:
START OF EXCERPT:
6. Configuring IISForward
6.1 Installing iisforward.dll
Before creating the Virtual hosts in IIS, we need to create thedirectories that
are going to contain the DLL's. There is going to be a one-to-onerelationship
between Virtual Hosts and DLL directories. First create a directory whereall
of the DLL directories will reside:
D:\WebLogicVHosts
Within this directory create the directory for each Virtual Host that willbe
connecting to the WebLogic instance:
D:\WebLogicVHosts\vhost1-svmhome.com
D:\WebLogicVHosts\vhost2-svmwork.com
D:\WebLogicVHosts\vhost3-svmmemphis.com
Now copy the iisforward.dll from the directory WL_HOME/server/bin intoeach of
the directories you created for each of the Virtual Hosts.
6.2 Creating iisforward.ini
Create a file called iisforward.ini. Place this file in the samedirectories for
each of the virtual hosts that contain the iisforward.dll. This fileshould contain
the following entry for each virtual website defined in IIS:
vhostN=websiteName:port
websiteName:port=dll_directory/iisproxy.ini
Where:
N is an integer representing the virtual website. The first virtualwebsite you
define should use the integer 1 and each subsequent website shouldincrement this
number by 1.
websiteName is the name of the virtual website as registered with IIS.
port is the port number where IIS listens for HTTP requests.
dll_directory is the path to the directory you created in step 1.
For example:
vhost1=svmhome.com:7001
svmhome.com:7001=D:\WebLogicVHosts\vhost1-svmhome.com \iisproxy.ini
vhost2=svmwork.com:7002
svmwork.com:7002= D:\WebLogicVHosts\vhost2-svmhome.com \iisproxy.ini
vhost3=svmmemphis.com:7003
svmmemphis.com:7003= D:\WebLogicVHosts\vhost3-svmmemphis.com \iisproxy.ini
7. Configuring IISProxy
7.1 Installing IISProxy
Now copy the iisproxy.dll from the directory WL_HOME/server/bin into eachof the
directories you created for each of the Virtual Hosts.
D:\WebLogicVHosts\vhost1-svmhome.com
D:\WebLogicVHosts\vhost2-svmwork.com
D:\WebLogicVHosts\vhost3-svmmemphis.com
7.2 Creating iisproxy.ini
The iisproxy.ini file contains name=value pairs that define configurationparameters
for the plug-in. Changes in the parameters will not go into effect untilyou
restart the "IIS Admin Service".
We need to create a iisproxy.ini configuration file for each of thevirtual hosts.
Here is a sample iisproxy.ini file for use with a single, non-clusteredWebLogic
Server. Comment lines are denoted with the "#" character.
# This file contains initialization name/value pairs
# for the IIS/WebLogic plug-in.
WebLogicHost=examplehost16
WebLogicPort=7001
ConnectTimeoutSecs=20
ConnectRetrySecs=2
Here is a sample iisproxy.ini file with clustered WebLogic Servers.Comment lines
are denoted with the "#" character.
# This file contains initialization name/value pairs
# for the IIS/WebLogic plug-in.
WebLogicCluster=examplehost07:7001,examplehost08:7001
ConnectTimeoutSecs=20
ConnectRetrySecs=2
8. Configuring IIS Virtual Hosts
8.1 Proxying by file extension
At this point we are now ready to configure the virtual hosts within IIS.First
create a new virtual website as you would normally do within IIS. Secondadd
the iisforward.dll file as a filter service in IIS (WebSite Properties ->ISAPI
Filters tab -> Add the iisforward dll). For each virtual host the pathto the
iisforward.dll should be unique. The paths should match the ones that youcreated
previously. Again, there should be a unique path for each virtualwebsite.
>
Example:
D:\WebLogicVHosts\vhost1-svmhome.com\iisforward.dll
D:\WebLogicVHosts\vhost2-svmwork.com\iisforward.dll
D:\WebLogicVHosts\vhost3-svmmemphis.com\iisforward.dll
On the App Mappings tab, click the Add button to add file types andconfigure
them to be proxied to WebLogic Server. In the dialog box, browse to findthe
"iisproxy.dll" file that matches the path to the unique iisproxy.dll filefor
the virtual host.
Example:
D:\WebLogicVHosts\vhost1-svmhome.com\iisproxy.dll
D:\WebLogicVHosts\vhost2-svmwork.com\iisproxy.dll
D:\WebLogicVHosts\vhost3-svmmemphis.com\iisproxy.dll
Set the Extension to the type of file that you want to proxy to WebLogicServer.
Register .wlforward as a special file type to be handled byiisproxy.dll. Deselect
the "Check that file exists" check box. Set the Method exclusions asneeded
to create a secure installation.
When you finish, click the OK button to save the configuration. You canrepeat
this process for each file type you want to proxy to WebLogic. When youfinish
configuring file types, click the OK button to close the Properties panel.
In the URL, any path information you add after the server and port ispassed directly
to WebLogic Server. For example, if you request a file from IIS with theURL:
>
Example:
http://svmhome.com/jspfiles/myfile.jsp
it is proxied to WebLogic Server with a URL such as
http://examplehost07:7001/jspfiles/myfile.jsp
8.2 Proxying by path
Now, within the iisproxy.dll file for each virtual host, define theproperty WlForwardPath
in iisproxy.ini. WlForwardPath defines the path that is proxied toWebLogic
Server.
Example:
WlForwardPath=/apps
Set the PathTrim parameter to trim off the WlForwardPath when necessary.
Example:
WlForwardPath=/apps
PathTrim=/apps
The previous trims a request from IIS to Weblogic Server. Therefore,/apps/exampleapp
is changed to /exampleapp.
If you want requests that do not contain extra path information (in otherwords,
requests containing only a host name), set the DefaultFileName parameterto the
name of the welcome page of the Web Application to which the request isbeing
proxied. The value of this parameter is appended to the URL.
If you need to debug your application, set the Debug=ON parameter iniisproxy.ini.
A c:\tmp\iisforward.log is generated containing a log of the plug-in'sactivity
that you can use for debugging purposes.
For each virtual host that you configure to be proxied to WebLogic, setthe value
for the Application Protection option to high (isolated) as opposed to Lowor
Medium. This allows separate iisforward and iisproxy DLL's to be loadedinto
each virtual hosts (dllhost.exe) memory address space.
END OF EXCERPT
Can someone at BEA verify this information or possible add to it?
Tony -
hi experts i want use this program to understand the concept of session cookies
<HTML><HEAD><TITLE>Encoding URLs</TITLE></HEAD>
<BODY>
<B>Example encoded hyperlink: </B>
<% String link = response.encodeURL("Process.jsp");
String button = response.encodeURL("Process.jsp");
String sessionID = request.getRequestedSessionId();
out.print(link);
%>
<a href="<%=link%>">Click here</a>
<HR>
<FORM METHOD=POST ACTION="<%=button%>">
<B>Example encoded button: </B><INPUT TYPE=SUBMIT VALUE="Submit">
</FORM>
<HR>
<B>Session ID</B>
<%=sessionID%>
</BODY>
</HTML>
and thn i go to internet explorer tools tab thn privacy tab and thn in cookies section i blocked all first party and third party cookies and when i run the above code it doesnot show me the encodedurl that i take in link variable and try to display it
plz tell me where i am wronghi thankx direct me
i ll check this after when i obtain an domain name
is it possible to chek it on localmachine becaz i am yet developing my portal and i can run it only my server that is on my own machine
is there any method in which i can use my computer ip address instead localhost(127.0.0.0) -
Protecting Live Stream Encoding URL
We set up a Flash Media Server and we are trying to figure out how to protect our live encoding url. Seems like anyone with a Flash Media Encoder and who knew the location of our server could publish a live stream. Can we password protect this in any way?
Asa,
Are you able to share details of what the solution being developed by Adobe will involve, and which versions of FMS it will apply to (an update for 3.0, 3.5 or just a feature of 4.0)
Thanks,
Michael -
Using Dogpile, I search and a list of URLs comes up. I select and click on one and Firefox opens a new tab. It responds promptly with a blank screen. The Tab says "New Tab" and the URL says "about:blank". The last one came up slowly in IE and turned out to be nothing more than a large pdf. Can you help me figure out what is happening and how to fix it, please? It is happening far too often. Running the virus, etc. software has not stopped this problem. Thank you very much for your help! Hutchy
Using Dogpile, I search and a list of URLs comes up. I select and click on one and Firefox opens a new tab. It responds promptly with a blank screen. The Tab says "New Tab" and the URL says "about:blank". The last one came up slowly in IE and turned out to be nothing more than a large pdf. Can you help me figure out what is happening and how to fix it, please? It is happening far too often. Running the virus, etc. software has not stopped this problem. Thank you very much for your help! Hutchy
-
Creating a service ; What needs to be added to tnsnames.ora and JDBC url?
DB version: 11.2.0.2
OS platform : Solaris 10
We have a 2 node RAC.
DB name = mbsprd
Instance1 = mbsprd1
Instance2 = mbsprd2I want Instance 1 (mbsprd1) to be used for our OLTP application and Instance 2 (mbsprd2) to be used for another application of DSS nature.
Based on the syntax
srvctl add service -d <dbname> -s <ServiceName> -r <Preferred Instance> -a <Available Instance>I am going to create 2 services
-- Creating a service called OLTP
srvctl add service -d mbsprd -s OLTP -r mbsprd1 -a mbsprd2-- Creating a service called DSS
srvctl add service -d mbsprd -s DSS -r mbsprd2 -a mbsprd1-- Starting the services
srvctl start service -d mbsprd -s OLTP
srvctl start service -d mbsprd -s DSSI guess the above steps are enough to configure a service at the server side.
I would like to know what needs to be done at the client side.
Currently the tnsnames.ora file and JDBC url used by our clients are shown below. What needs to be added to tnsnames.ora file and jdbc URL to start using services configured above?
-- SCAN based TNS entry
mbsprd =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (COMMUNITY = tcp.world)
(PROTOCOL = TCP)(Host = p148149-scan.tpam.net) (Port = 36964))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = mbsprd)
(FAILOVER_MODE=(TYPE=SELECT)(METHOD=BASIC))
-- TNS entry based on local listener
-- Instance 1
mbsprd1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =(PROTOCOL = TCP)(HOST = hsolarp148-vip)(PORT = 36973))
(CONNECT_DATA =
(SERVICE_NAME = mbsprd)
(INSTANCE_NAME = mbsprd1)
-- Instance 2
-- TNS entry based on local listener
mbsprd2 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =(PROTOCOL = TCP)(HOST = hsolarp149-vip)(PORT = 36973))
(CONNECT_DATA =
(SERVICE_NAME = mbsprd)
(INSTANCE_NAME = mbsprd2)
)JDBC entry for RAC
jdbc:oracle:thin:@p148149-scan.tpam.net:36964:mbsprd -- Alternative version used by some clients because the above had 'some issues'
jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=p148149-scan.tpam.net) (PORT=36964))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=mbsprd)(FAILOVER_MODE =(TYPE = SELECT)(METHOD = BASIC)(RETRIES = 180)(DELAY = 10))))OLTP =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = p148149-scan.tpam.net)(PORT = your_port_number))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = OLTP)
DSS =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = p148149-scan.tpam.net)(PORT = your_port_number))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DSS)
)JDBC entry for RAC
jdbc:oracle:thin:@p148149-scan.tpam.net:36964:service_name
jdbc:oracle:thin:@new_tns_entry_description(if you would like to connect the database with particular service)
try this and let us know any issues, -
How to get anonymous guest link "View Only" and "Edit" URL using JSOM or Search API ?
Hi,
I need to get list item anonymous guest link View Only and
Edit URLs (as shown in image below) using JSOM or SharePoint 2013
Search API.
the URL will be like this - https://<site URL>/_layouts/15/guestaccess.aspx?guestaccesstoken=yRaYGmE9n
Any one has any idea how to do achieve this?
Thanks
ShakirHi Shakir,
To get the anonymous guest link “View Only”, we can use SP.ObjectSharingInformation.anonymousViewLink property in sp.js.
https://msdn.microsoft.com/en-us/library/office/jj246826.aspx
To get the anonymous guest link “Edit”, we can use SP.ObjectSharingInformation.anonymousEditLink property in sp.js.
https://msdn.microsoft.com/en-us/library/office/jj246468.aspx
We can also use REST API to get the guests links:
_api/web/Lists/getbytitle('library name')/items(item id)/GetObjectSharingInformation?$expand=SharedWithUsersCollection&retrieveAnonymousLinks=true
Thanks,
Victoria
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
SharedServices and Workspace URL's are not working in EPM System 11.1.2.2
Hello,
SharedServices and Workspace URL's are not working in EPM System 11.1.2.2
I have installed EPM system V11.1.2.2 in single server environment (MS 2008 Server R2) with following components:
* Foundation Services
* HFM
* FDM
Have used embedded Weblogic server as application web server and Oracle HTTP server as web server. The installation was successful.
While configuration,
1) I selected the option to deploy web applications SharedServices and Workspace to a single managed server. The applications got successfully deployed to EPMServer0.
2) Also, I selected to configure Oracle HTTP server as web server.
Both these steps were successful.
But SharedServices and Workspace URL's are not working. Getting 404 error.
SharedServices : http://inmum01hyp05.internal.vodafone.com:19000/interop/index.jsp
Workspace : http://inmum01hyp05.internal.vodafone.com:19000/workspace/
When I checked Weblogic admin console, EPMServer0 is in SHUTDOWN state, tried to start it but it goes in ADMIN state instead of RUNNING.
Checked EPMServer0 log at "D:\Oracle\Middleware\user_projects\domains\EPMSystem\servers\EPMServer0\logs" and found the error given at the end of this message.
Can anyone please suggest a solution for this.
####<Jun 6, 2013 11:43:20 AM IST> <Emergency> <Deployer> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499200246> <BEA-149259> <Server 'EPMServer0' in cluster 'EPMServer' is being brought up in administration state due to failed deployments.>
####<Jun 6, 2013 11:43:20 AM IST> <Info> <WebService> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499200902> <BEA-220103> <Async web service support is not fully configured. The async response web service /AsyncResponseServiceHttps for this server was not fully deployed because the JMS reliability queue was not defined/deployed: weblogic.wsee.DefaultQueue. The server will periodically retry completing the deploy for the service. This message can usually be ignored unless there are async web service applications. To completely disable async web service support, thus avoiding this message, set -Dweblogic.wsee.skip.async.response=true.>
####<Jun 6, 2013 11:43:21 AM IST> <Info> <WebService> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499201090> <BEA-220103> <Async web service support is not fully configured. The async response web service /AsyncResponseServiceJms for this server was not fully deployed because the JMS reliability queue was not defined/deployed: weblogic.wsee.DefaultQueue. The server will periodically retry completing the deploy for the service. This message can usually be ignored unless there are async web service applications. To completely disable async web service support, thus avoiding this message, set -Dweblogic.wsee.skip.async.response=true.>
####<Jun 6, 2013 11:43:21 AM IST> <Info> <WebService> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499201090> <BEA-220103> <Async web service support is not fully configured. The async response web service /AsyncResponseService for this server was not fully deployed because the JMS reliability queue was not defined/deployed: weblogic.wsee.DefaultQueue. The server will periodically retry completing the deploy for the service. This message can usually be ignored unless there are async web service applications. To completely disable async web service support, thus avoiding this message, set -Dweblogic.wsee.skip.async.response=true.>
####<Jun 6, 2013 11:43:21 AM IST> <Info> <WebService> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499201106> <BEA-220103> <Async web service support is not fully configured. The async response web service /AsyncResponseServiceSoap12Jms for this server was not fully deployed because the JMS reliability queue was not defined/deployed: weblogic.wsee.DefaultQueue. The server will periodically retry completing the deploy for the service. This message can usually be ignored unless there are async web service applications. To completely disable async web service support, thus avoiding this message, set -Dweblogic.wsee.skip.async.response=true.>
####<Jun 6, 2013 11:43:21 AM IST> <Info> <WebService> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499201121> <BEA-220103> <Async web service support is not fully configured. The async response web service /AsyncResponseServiceSoap12 for this server was not fully deployed because the JMS reliability queue was not defined/deployed: weblogic.wsee.DefaultQueue. The server will periodically retry completing the deploy for the service. This message can usually be ignored unless there are async web service applications. To completely disable async web service support, thus avoiding this message, set -Dweblogic.wsee.skip.async.response=true.>
####<Jun 6, 2013 11:43:21 AM IST> <Info> <WebService> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499201121> <BEA-220103> <Async web service support is not fully configured. The async response web service /AsyncResponseServiceSoap12Https for this server was not fully deployed because the JMS reliability queue was not defined/deployed: weblogic.wsee.DefaultQueue. The server will periodically retry completing the deploy for the service. This message can usually be ignored unless there are async web service applications. To completely disable async web service support, thus avoiding this message, set -Dweblogic.wsee.skip.async.response=true.>
####<Jun 6, 2013 11:43:21 AM IST> <Info> <WebLogicServer> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499201137> <BEA-000256> <Invoking weblogic.transaction.internal.StartupClass.main(null)>
####<Jun 6, 2013 11:43:21 AM IST> <Info> <Deployer> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499201168> <BEA-149059> <Module dms.war of application DMS Application [Version=11.1.1.1.0] is transitioning from STATE_PREPARED to STATE_ADMIN on server EPMServer0.>
####<Jun 6, 2013 11:43:21 AM IST> <Info> <Deployer> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499201168> <BEA-149060> <Module dms.war of application DMS Application [Version=11.1.1.1.0] successfully transitioned from STATE_PREPARED to STATE_ADMIN on server EPMServer0.>
####<Jun 6, 2013 11:43:22 AM IST> <Info> <Deployer> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499202402> <BEA-149059> <Module /inspection.wsil of application wsil-wls is transitioning from STATE_PREPARED to STATE_ADMIN on server EPMServer0.>
####<Jun 6, 2013 11:43:22 AM IST> <Info> <Deployer> <INMUM01HYP05> <EPMServer0> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JwO7UBi7e5V5u35EiX1Hg2Xf000000> <1370499202402> <BEA-149060> <Module /inspection.wsil of application wsil-wls successfully transitioned from STATE_PREPARED to STATE_ADMIN on server EPMServer0.>
####<Jun 6, 2013 11:44:13 AM IST> <Info> <Diagnostics> <INMUM01HYP05> <EPMServer0> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1370499253433> <BEA-320000> <The Diagnostics subsystem is initializing on Server EPMServer0.>
Thanks in advance.
TejHi John,
today's update:
* Uninstalled EPM system V11.1.2.2 completely and after rebooting the server installed EPM system V11.1.2.2 again.
* During configuration, deployed SharedServices and Workspace to single managed server EPMServer0 on Weblogic server and configured to Oracle HTTP server as web server. Configuration seems successful.
* Started EPM system.
* checked Weblogic admin console - EPMServer0 goes into ADMIN state from STARTING.
* Checked EPMServer0 logs at "D:\Oracle\Middleware\user_projects\domains\EPMSystem\servers\EPMServer0\logs" and found the error given below:
####<Jun 7, 2013 2:12:14 PM IST> <Error> <Deployer> <INMUM01HYP05> <EPMServer0> <[STANDBY] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JwTnBZV7e5V5u35EiX1HgPn0000001> <1370594534718> <BEA-149205> <*Failed to initialize the application 'SHAREDSERVICES [Version=11.1.2.0]' due to error weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: epm-hss-libraries, exact-match: false]..*
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: epm-hss-libraries, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:648)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:144)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:40)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:22)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:166)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
####<Jun 7, 2013 2:12:15 PM IST> <Warning> <J2EE> <INMUM01HYP05> <EPMServer0> <[STANDBY] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JwTnBZV7e5V5u35EiX1HgPn0000001> <1370594535124> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: epm-bpmui-libraries, referenced from: D:\Oracle\Middleware\user_projects\domains\EPMSystem\servers\EPMServer0\tmp\servers\EPMServer0\tmp\_WL_user\WORKSPACE_11.1.2.0\riys07]. Make sure the referenced optional package has been deployed as a library.>
####<Jun 7, 2013 2:12:15 PM IST> <Error> <Deployer> <INMUM01HYP05> <EPMServer0> <[STANDBY] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JwTnBZV7e5V5u35EiX1HgPn0000001> <1370594535186> <BEA-149205> *<Failed to initialize the application 'WORKSPACE [Version=11.1.2.0]' due to error weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.applcore.model, exact-match: false], [Extension-Name: xerces, exact-match: false]..*
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.applcore.model, exact-match: false], [Extension-Name: xerces, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:648)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:144)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:40)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:22)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:166)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
Can you please suggest how to overcome this error of Weblogic?
Thanks in advance,
Tej -
i want to create an external video widget with iAd to use in an iBook. I followed the steps and copied the Url and paste it in the Video pop-up menu in the Properties section of the inspector. When i select 'preview' the video doesn't play and the Url that i pasted is gone.
hope someone can help!May have something to do with whether or not the URL can be reached while building your widget. I've got a video on the web. When I enter the URL into the field for the video object and click to another field, the URL is replaced with some text indicating that it is accessing the video then updates itself to displaying just the name of the video file.
It shows just fine in preview and I can see the full path to the video when I export the widget so it should work for you.
Is the video accessible from your Mac while you're laying out your widget?
-Mark
Maybe you are looking for
-
Error while executing WD application
Hi, when im executing my WD application it is giving me error : URL <http://...> was not called. i went through t code SICF and while testing virtual host by right clicking the default_host (Test Virtual Host) it is giving me error: could not found h
-
***WINDOWS DOES NOT RECOGNIZE MY 40G IPOD!!***
Ok I can say that I've done everything on the support pages to get Windows XP to recognize my scroll wheel ipod. I've restored, reinstalled quicktime, updater and itunes and windows, completed the 5 R's, and Windows still will not acknowledge my ipod
-
Synchronisation between Microsoft Outlook 2007 and iTunes 9.1 doesn't work
Hi everybody, Since I've upgraded iTunes from 9.0 to 9.1, the synchronisation between my iPhone 3GS 3.1.3 and Microsoft Outlook 2007 (running on Windows 7) doesn't work anymore for Contacts, Calendars and Notes. I've tried several procedures (uninsta
-
Oracle 8i on NT: No more data to read from socket
I'm using the thin JDBC to connect to Oracle 8i on NT. when i try to connect i get this exception: java.sql.SQLException: No more data to read from socket at oracle.jdbc.dbaccess.DBError.check_error (DBError.java:659) at oracle.jdbc.ttc7.MAREngine.un
-
OUT OF MEMORY?????help
hi this is unusal can anyone assit..i did 3 tracks of sampletank instruments and one vocal...total usuage time 30 seconds...i tried to save what i did and got a OUT OF MEMORY..can not save....what is this..i got 2.5 ram..i am using a new g5 2.0 dual.