Weblogic RMI -- detecting the server address?
Hello,
Is there any way for an Weblogic RMI client to detect to which server it is connecting
in a clustered environment?
I have two WLS6.0sp1 servers and several RMI clients written with JFC/Swing.
I'd like to write the server address in a client's log files.
Regards,
shun
Hello,
Is there any way for an Weblogic RMI client to detect to which server it is connecting
in a clustered environment?
I have two WLS6.0sp1 servers and several RMI clients written with JFC/Swing.
I'd like to write the server address in a client's log files.
Regards,
shun
Similar Messages
-
Question
firefox has detected the server is redirecting the request for this address in a way that will never complete. This is happening in my email program with comcast but does not happen with IE e editThanks to cor-el for the suggestion given in the link. Sadly I have to report:
1) It is not a bookmark problem and it makes no difference whether I put
www.adobe.com or 192.150.18.117 in the address bar.
2) Cookies are allowed and there are no exceptions set
3) All cookies have been deleted
4) network.http.sendRefererHeader is already set to 2
That deals with the items in the linked document.
Additional information:
5) I can get into the adobe site from a clean "in memory" installation of PuppyLinux using Seamonkey using the same router and dhcp setup.
6) un-installing all Mozilla products - rebooting and re-installing makes no difference even when I remove the mozilla folder from docs&settings.
so as I said in previous post (as annonymous) not a lot makes sense.
Bear in mind that I have no problem running tracert in a command window
Tracing route to www.adobe.com [192.150.18.117] over a maximum of 30 hops:
1 11 ms 10 ms 9 ms 10.0.0.1
2 13 ms 12 ms 11 ms glo-2-dsl.as9105.net [212.74.111.191]
3 13 ms 12 ms 11 ms ge1-2-27.glo0.as9105.net [212.74.106.106]
4 14 ms 12 ms 13 ms pos0-0.bri1.as9105.net [212.74.108.162]
5 17 ms 16 ms 17 ms ge0-0-0.he-lon0.as9105.net [212.74.109.14]
6 17 ms 17 ms 16 ms 10.72.11.75
7 16 ms 17 ms 17 ms xe-0-3-0-10.lon20.ip4.tinet.net [213.200.77.177]
8 91 ms 92 ms 99 ms xe-5-1-0.was12.ip4.tinet.net [89.149.184.34]
9 92 ms 92 ms 93 ms xe-0.equinix.asbnva01.us.bb.gin.ntt.net [206.223.115.12]
10 162 ms 170 ms 162 ms as-3.r20.snjsca04.us.bb.gin.ntt.net [129.250.2.167]
11 166 ms 166 ms 165 ms ae-1.r07.snjsca04.us.bb.gin.ntt.net [129.250.5.53]
12 162 ms 163 ms 161 ms xe-0-2-0-3.r07.snjsca04.us.ce.gin.ntt.net [128.241.219.86]
13 166 ms 163 ms 161 ms 192.150.18.11
14 166 ms 166 ms 165 ms www.adobe.com [192.150.18.117]
Trace complete.
and I can ping the site.
so where now ? -
How can I edit iCal server addresses in Mountain Lion?
I keep getting an error message with my google calendar, and I heard that if I delete the extra slash at the end of the address the problem will be fixed. But the iCal account preferences take me to system preferences > accounts every time I want to edit the account.
Does anyone know where I can edit the server address?You should ask in the iCloud forum, this is for iMacs. https://discussions.apple.com/community/icloud/icloud_on_my_mac
-
The negotiation with the VPN server failed. Verify the server address and try reconnecting
Hi folks,
I am unable to connect VPN, While connecting error occurred. Can anyone advice how to solve this issue.
"The negotiation with the VPN server failed. Verify the server address and try reconnecting"
Thanks
VinothThis might help, at least from Harald's post onwards.
-
I am trying to sync calendar and contacts on the BB Z10, using icloud, what is the server address?
How Do I Get Rid Of The “Other” Data Stored On My iPad Or iPhone?
http://tinyurl.com/85w6xwn
With an iOS device, the “Other” space in iTunes is used to store things like documents, settings, caches, and a few other important items. If you sync lots of documents to apps like GoodReader, DropCopy, or anything else that reads external files, your storage use can skyrocket. With iOS 5/6/7, you can see exactly which applications are taking up the most space. Just head to Settings > General > Usage, and tap the button labeled Show All Apps. The storage section will show you the app and how much storage space it is taking up. Tap on the app name to get a description of the additional storage space being used by the app’s documents and data. You can remove the storage-hogging application and all of its data directly from this screen, or manually remove the data by opening the app. Some applications, especially those designed by Apple, will allow you to remove stored data by swiping from left to right on the item to reveal a Delete button.
Cheers, Tom -
What/where is the "server address" for the My Cloud NAS?
I recently purchased a 2TB My Cloud NAS to store my FLAC music files (many thousands of them). I'm trying to use JRiver as a media controller but I can't find a path to the files. I'm using a Macbook Air (osx 10.10.4). The controller program asks for a "server address" and I have no idea what it is or where I may find an address. The music files are in the Public folder and there is no other identiification for it as far as I know. One forum suggested the following link : http://wdc.custhelp.com/app/answers/detail/a_id/2686/~/how-to-map-a-wd-network-drive-on-a-mac This link offers several suggestions for a server address, but they are for My Book units and of course they don't work. Where, or how do I get a server address for my files on a My Cloud unit? I'm lost. I would appreciate any help. Thank you for your time. Bill
Welcome to the Community.
In most cases, the Server Address is the current path that leads to the devices and/or shared folders. This means the IP address of your unit or your device name, and depending on your system, the exact location to the share with your data. You can obtain the current IP address used by your WD My Cloud in your router and also in your NAS's admin page. -
Where is the server address and port stored that is configured in NI License Manager?
Hi,
I am trying to configure a silent installation of LabView. I have tried the specfile and put in the license code etc.. I cannot see a place there to configure a license server address.
I've run NI License Manager on a reference PC and have configured one there but how can I deploy that config to a number of PCs? How is it stored and where is it stored?
thanks
PaulLast question (I promise)
If I dont have a volume license how do I determine what my 'package' or 'family' is?
Package
Syntax: nilmUtil.exe -activate "packagename version"
Example: nilmUtil.exe -activate "LabVIEW_PDSM_PKG 8.0500"
Family
Syntax: nilmUtil.exe -family "family"
Example: nilmUtil.exe -family "LabVIEW_ADE_080600" -
Hi,
I am not able to resolve the JNDI name - ATGProductionDS
I have used CIM to create this and i am using ATG10.2 with MYSQL as my database and weblogic.
/atg/epub/file/ConfigFileSystem journaling file system started: vfs=file:/C:
/Stixs/ATG/ATG10.2/home/PublishingAgent/deploymentconfig/live/config/ journalDirectory=C:\Stixs\ATG\ATG10.2\home\PublishingAgent\deploymentc
onfig\data\config
**** Error Fri Dec 27 20:58:35 EST 2013 1388195915495 /atg/dynamo/service/jdbc/DirectJTDataSource Failed to resolve ATGProduct
ionDS javax.naming.NameNotFoundException: Unable to resolve 'ATGProductionDS'. Resolved ''; remaining name 'ATGProductionDS'
**** Error Fri Dec 27 20:58:35 EST 2013 1388195915495 /atg/dynamo/service/jdbc/DirectJTDataSource at weblogic.jndi.int
ernal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
**** Error Fri Dec 27 20:58:35 EST 2013 1388195915495 /atg/dynamo/service/jdbc/DirectJTDataSource at weblogic.jndi.int
Entries from Weblogic console -datasources
ATGBatchDS
Generic
ATGBatchDS
ATGProductionDS
Generic
ATGProductionDS
atg_production_lockserver, atg_publishing_lockserver
ATGPublishingDS
Generic
ATGPublishingDS
atg_publishing_lockserver
Please provide assistance.Hi,
if you click the "Control" tab for the ATGProductionDS datasource in the Weblogic console does it show the State as running?
Does the "Monitoring" tab for the datasource show the State as running? If you click on the "Testing" tab can you test the datasource successfully?
If you inspect the Server using the Weblogic console there is a link "View JNDI Tree" If you click the link do you see the datasource listed in the left pane?
Do you see any errors for the ATGProductionDS in the Weblogic server log and out log files? -
Hi,
When I Adding a server from the server list to the cluster , and
click 'apply' , the weblogic server will be halted. Why could it
happen and How can I solve this problem?
Furthermore,I try to shutdown the server by using the command script
- java weblogic.Admin -url http://localhost:port SHUTDOWN -username
username -password password ( e.g. java weblogic.Admin -url http://999.99.99.99:7001
SHUTDOWN -username system -password weblogic ), there is an error
message "Exception in thread 'main' java.land.NoclassDefFoundError:
weblogic/Admin" . Why?
Chris
Your CLASSPATH must include $WL_HOME/classes to startup as:
java weblogic.Admin t3://localhost:<port> SHUTDOWN <USERNAME> <PASSWORD>
Note here protocol is t3. Brian
"Joe E. Schwarz" <[email protected]> wrote:
>
>Chris,
>You gave probably forgotten to set your CLASSPATH to,
>for example
>on NT, C:\bea\wlserver6.0\lib\weblogic.jar.
>Joe
>
>"Chris" <[email protected]> wrote:
>>
>>Hi,
>>When I Adding a server from the server list to the cluster
>>, and
>>click 'apply' , the weblogic server will be halted. Why
>>could it
>>happen and How can I solve this problem?
>>Furthermore,I try to shutdown the server by using the
>>command script
>>- java weblogic.Admin -url http://localhost:port SHUTDOWN
>>-username
>>username -password password ( e.g. java weblogic.Admin
>>-url http://999.99.99.99:7001
>>SHUTDOWN -username system -password weblogic ), there
>>is an error
>>message "Exception in thread 'main' java.land.NoclassDefFoundError:
>>weblogic/Admin" . Why?
>>
>>
>>Chris
>
-
How the client to detect the server has closed the socket?
if the server closed the socket by an unnormal way, for example, closing the socket compulsively. Then the client will show the "IOException:java.net.SocketException: Connection reset" message,
how the client to avoid such an error message to the user/customer, I mean , what the client can deal with such a message?
where to put the dealing code?
try{ int receivedLength=in.read(receivedBytes);
}catch(SocketException e){
// put the code here? }
catch(IOException e){
}Do you know how to prove it---"a socket read should
always always always have a timeout";As ejp said (IMHO ...) it's his opinion and doesn't need proof. I respect his opinion, but I often write code that doesn't set this.
Instead I use 2 threads per connection, and don't care if the read thread goes to sleep, since I can still write. If you only have one thread per connection, you better ensure that the read will end in a relatively short amount of time, even if your partner decides it's time to go for lunch.
how the length of this timeout will be? That is a business decision, it all depends on the expected time between received messages and is application dependent.
is it a field of the socket?If you are using blocking mode sockets you set this with setSoTimeout. If you are using non blocking mode NIO you specify it on the select call, although the soTimeout should also work there, although I've never tried that. -
Detecting the server url dynamically
I am finding it difficult to get url of the server dynamically
I am getting it through java script using window.location.host
is it possible using javaHi,
The solution depends on the specific WL version you are using, but chances are you should be looking at the constructor of the implementation of the service provider for your specific WS. There is usually a default constructor, and a constructor that takes an URI, this second one is the one you should use to set the URI to something different than the default URI.
Regards,
LG -
RMI: constructing the server side class (Compute Engine)
I took the Sun RMI tutorial, which was very beneficial. However the understanding now of the RMI interface
from the tutorial has me to come with two new questions. When building your ComputeEngine class (inheriting from Compute which inherits from Remote) do you need to encapsulate the static main function inside ? If not how does
the ComputeEngine process continue without a run function ?
Let say on of the overriding functions in ComputeEngine is:
void doThis(Task t) throws IOExcpetion() {
MyTask mytask = (MyTask) t;
t.execute();
MyTask is a subclass of Task that has been already preinstalled. When the remote client calls the doThis function
how does mytask get the de-serialized data from the client ? Does this function need to do anything to retreive the serialized data ? Also when t.execute is implemented has the Task thread started already ? Do I have to call t.start() ? And how does the execute function survive without being in the run function ?
Thanks Michaeldo you need to encapsulate the static main function inside ? If not how does
the ComputeEngine process continue without a run function ?The main() function can be anywhere in your application.
Does this function need to do anything to retreive the serialized data ?No. It just arrives in the method as a parameter.
Also when t.execute is implemented has the Task thread started already?Probably not. It's in whatever state it is in when it's deserialized.
Do I have to call t.start() ?See above.
And how does the execute function survive without being in the run function ?I can't answer the question without knowing anything about the Task class you are using. -
What is the server address for eprint
i cant get on my . why and what am i doing wrong
I would like to assist but I need some more information. What printer do you have? Can you print from your computer using your network? What is the error message you get when you try to enable ePrint?
-
I've tried resetting the router, resetting my airport on my laptop, unplugging the router, restarting my computer, updating all my software (including from snow leopard to mountain lion) replacing the dns ip address, and restarting the browsers. It won't let me use wi-fi on any of the browsers (chrome, firefox, safari), but will allow me to use internet through the ethernet cable.
This happened earlier today when for my job I tried to clear some expired certificates and I removed the expired ones that were on my firefox (I now use chrome) and the internet crashed soon afterwards. While I was deleting the certificates, I also got the "blue screen of death" sort of thing that popped up and shut my computer down.
I have no idea what to do and my laptop is no longer under warranty. Can anybody help me?Please read this whole message and be sure you understand all of it before doing anything. Back up all data before making changes to your settings.
Write down the server addresses.
Click Cancel to close the Advanced sheet. Unlock the preference pane, if necessary, by clicking the lock icon in the lower left corner and entering your password. Open the DNS tab again and change the server addresses to the following:
8.8.8.8
8.8.4.4
That's Google DNS. Click OK, then Apply.
In Safari, select
Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
and confirm. If you’re using another browser, empty the cache. Test. Any difference?
Notes:
1. If you lose Internet access after making the above change to your network settings, delete the Google servers in the Network preference pane, then select the TCP/IP tab and click Renew DHCP Lease. That should restore the original DNS settings; otherwise restore them yourself.
2. I’m not advocating Google or anything else as a DNS provider; the server addresses are offerred merely for testing purposes. There may be privacy and technical issues involved in using that service, which you should investigate personally before you decide whether to keep the settings. Other public DNS services exist. -
Lion Server: How do I import into the central address book?
Hello
I could successfully import addresses into the local address book of my Mac Mini (using the import function of the address book application).
However, I want the addresses to be in the central, shared address book of the Lion Server. I can't find a way to import there.
Does anyone have an idea?
Thanks! MartinNever mind, I figured it out: Open the local addresses, select all, drag/drop to the desktop. Then open the server address book and drag/drop from the desktop.
Maybe you are looking for
-
How do i transfer itunes playlists and/or individual songs onto a thumb drive on my apple desktop computer -- I want to play the songs in my car which requires the thumb drive. thanks
-
Help: forcing use of proxy in j2me and getting value of gateway IP address
hi everyone, #1 Has anyone tried forcing the use of a proxy for a midlet? If so how did you do this? I was able to connect to a url through the emulator (ktoolbar) by changing the proxy settings under the edit-->preferences on ktoolbar but I want to
-
Can you change the currency formatting in a cell using Pages for iPhone?
Since my MacBook Pro is grumpy this morning, I downloaded Pages for my iPhone and then purchased the app "Inspiration Set" which contains a group of templates for use in Pages. I think the original templates were built on a Mac. I have opened up the
-
Embedding tomcat to run as a webserver
Hi, I have compiled the Embedded.java source code to work in my environment. But the code includes the Thread.sleep , without that the code will terminate. So the webserver is running only for the time x, Thread.sleep(x) The sample code is: public st
-
How do I disable IPv6, which got installed DHCP by default?
I'm showing two net0 interfaces, one IPv4 and one IPv6. I've tried using netcfg to clear ipv6-addrsrc and got told it's read-only. I tried ipadm and all I was able to do was partially corrupt the IP address, not delete the interface.