Web server to download class definitions?
Hello,
There's still one thing that i do not understand about RMI.
I find on the website below the following quote "Classes definitions are typically made network accessible through a web server".
http://java.sun.com/docs/books/tutorial/rmi/overview.html
However, I have created and tested a small RMI example, and there was no need for a webserver (although, i tested my small rmi testapp both client and server on the same machine).
By the way, my small testapp was:
- an interface that extends java.rmi.remote and defines one method that returns just a string "ok".
- the implementation of that interface
- a client that calls the that remote object, and it prints "ok", without problems.
Thus, what is this kind of "webserver" then???
Why does everything works in my small testapp, without a webserver??
Or is there a webserver that i can not see??
Am I missing some information, or do i see something wrong???
Thank you.
is that maybe necessary when we have the rmi server, the rmi client and the rmi registry on three different machines?
Similar Messages
-
Tomcat Web-server uses old .class files
Hi Friends,
My Tomcat webserver uses old .class files. The problem persists even if I delete old class files. The new ones are formed but then if i again recompile, the new-old ones are used :)
Am I doing something wrong????
Please suggest!!I have experienced this problem before as well. Tomcat seems to cache compiled class files for better speed. To get Tomcat to reload class files that I've recently recompiled here is what I do:
1. Go into the Tomcat server administration area (http://localhost/admin)
2. Choose the context that is using the classes that you want to reload (from Service / Host)
3. Make sure reloadable is set to true
3. Click save, and then commit changes
Hope this helps, but if there is a better way to get Tomcat to use the most recent class files I would love to hear it! -
Error on live web server - Retrieving the COM class factory for component
I've had a good read of this forum and can't find the answer to this particular issue. Everything works fine until I upload my vb.net/crystal reports solution to my live production web server. The error I get when I try to open a Crystal Report from the web is:
Retrieving the COM class factory for component with CLSID {059AC10F-0010-4C43-8876-1FC7BEAF218B} failed due to the following error: 80070005.
It is the following line of my VB.net source code that causes the error.
Dim oRpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument
I've installed CRRuntime_12_0_mlb.msi to my Windows 2008 / IIS7 web server (This is a 64bit server).
The website works fine on a 32 bit system but on this new server I keep getting the above errors.
I've tried resinstalling the crystal reports numerous times and restarting. I've also tried installing the SP2 version of the CRRuntime and still get the same errors.
I've added read/write permissions to Windows/Temp directory for Network Service.
I've tried to manually register sacommlayer.dll which registers correctly.
The website is not compiled into a binary, the aspx.vb files are simply uploaded to the webserver and compiled on the fly by the server.
I've tried to add <identity impersonate="true" userName="MACHINENAME\administrator" password="PASSWORD" /> into the web.config file to see if this gets any further.
It does however then errors on the following VB Line.
oRpt.SetDataSource(dsSWMP)
with the error
Failed to load database information.Error in File crSitewasteManagementPlan {BEC6811A-D612-4ED6-9AF7-B0C9BED7A966}.rpt:
Failed to load database information
I've also tried opening up the C: / D: drives to the NETWORK SERVICE account with full control (temporarily) to see if I can get past the errors, however this has not worked for me.
Any other ideas to why this might not be working? Ideally I would not like to be using the identity impersonation at all.
Kind Regards
JamesDear Ludek,
I have tried manually registering the sacommlayer.dll already however this didn't make a difference.
I have checked versions of this DLL between the 2 servers and they are the same. (v12.0.0.683)
Find below the logs from process monitor for the 64 bit server.
It definitely shows where it is failing.. any suggestions to fix it?
I can email more detailed logs if you supply me with your email address.
Kind Regards
James
processes from erroring 64 bit server
00:28:46.6463180 w3wp.exe 3948 RegOpenKey HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B} SUCCESS Desired Access: Read
00:28:46.6463685 w3wp.exe 3948 RegOpenKey HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\TreatAs NAME NOT FOUND Desired Access: Query Value
00:28:46.6463935 w3wp.exe 3948 RegQueryKey HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B} BUFFER TOO SMALL Query: Name, Length: 0
00:28:46.6464137 w3wp.exe 3948 RegQueryKey HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B} SUCCESS Query: Name
00:28:46.6464472 w3wp.exe 3948 RegOpenKey HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\Progid NAME NOT FOUND Desired Access: Query Value
00:28:46.6464701 w3wp.exe 3948 RegQueryValue HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\(Default) SUCCESS Type: REG_SZ, Length: 54, Data: InProcAdapterMonitor Class
00:28:46.6464924 w3wp.exe 3948 RegQueryValue HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\(Default) SUCCESS Type: REG_SZ, Length: 54, Data: InProcAdapterMonitor Class
00:28:46.6465262 w3wp.exe 3948 RegOpenKey HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\InprocServer32 SUCCESS Desired Access: Read
00:28:46.6465561 w3wp.exe 3948 RegQueryValue HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\InprocServer32\InprocServer32 NAME NOT FOUND Length: 144
00:28:46.6465759 w3wp.exe 3948 RegQueryValue HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\InprocServer32\(Default) BUFFER OVERFLOW Length: 144
00:28:46.6465958 w3wp.exe 3948 RegQueryValue HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\InprocServer32\(Default) BUFFER OVERFLOW Length: 144
00:28:46.6466137 w3wp.exe 3948 RegQueryValue HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\InprocServer32\(Default) SUCCESS Type: REG_SZ, Length: 196, Data: C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\sacommlayer.dll
00:28:46.6466339 w3wp.exe 3948 RegQueryValue HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\InprocServer32\ThreadingModel SUCCESS Type: REG_SZ, Length: 10, Data: Both
00:28:46.6466578 w3wp.exe 3948 RegCloseKey HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\InprocServer32 SUCCESS
00:28:46.6466904 w3wp.exe 3948 RegOpenKey HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\InprocHandler32 NAME NOT FOUND Desired Access: Query Value
00:28:46.6467217 w3wp.exe 3948 RegOpenKey HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\InprocHandler NAME NOT FOUND Desired Access: Query Value
00:28:46.6467441 w3wp.exe 3948 RegCloseKey HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B} SUCCESS
00:28:46.6468194 w3wp.exe 3948 RegOpenKey HKU\S-1-5-21-3073440563-3662229771-834689312-1170_Classes\Wow6432Node NAME NOT FOUND Desired Access: Maximum Allowed
00:28:46.6468529 w3wp.exe 3948 RegOpenKey HKCR\Wow6432Node SUCCESS Desired Access: Maximum Allowed, Granted Access: Read
00:28:46.6468904 w3wp.exe 3948 RegOpenKey HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B} SUCCESS Desired Access: Read
00:28:46.6469158 w3wp.exe 3948 RegCloseKey HKCR\Wow6432Node SUCCESS
00:28:46.6469458 w3wp.exe 3948 RegOpenKey HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\TreatAs NAME NOT FOUND Desired Access: Read
00:28:46.6469678 w3wp.exe 3948 RegCloseKey HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B} SUCCESS
00:28:46.6471878 w3wp.exe 3948 QueryOpen C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\sacommlayer.dll FAST IO DISALLOWED
00:28:46.6473271 w3wp.exe 3948 CreateFile C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\sacommlayer.dll ACCESS DENIED Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
00:28:46.6476098 w3wp.exe 3948 CreateFile C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\sacommlayer.dll ACCESS DENIED Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a
00:28:46.6478526 w3wp.exe 3948 QueryOpen C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\sacommlayer.dll FAST IO DISALLOWED
00:28:46.6479856 w3wp.exe 3948 CreateFile C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\sacommlayer.dll ACCESS DENIED Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
00:28:46.6482284 w3wp.exe 3948 CreateFile C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\sacommlayer.dll ACCESS DENIED Desired Access: Read Data/List Directory, Execute/Traverse, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a
00:28:46.6484770 w3wp.exe 3948 CreateFile C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\sacommlayer.dll ACCESS DENIED Desired Access: Execute/Traverse, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a
00:28:46.6489837 w3wp.exe 3948 QueryOpen C:\Windows\SysWOW64\inetsrv\w3wp.exe.config FAST IO DISALLOWED
00:28:46.6490819 w3wp.exe 3948 CreateFile C:\Windows\SysWOW64\inetsrv\w3wp.exe.config NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
sacommlayer.dll 12.0.0.683
Edited by: sw1sher2 on Feb 18, 2010 1:55 AM -
Deleting downloaded email from iphone but not web server
I recently purchased an iphone 3gs. My wife has had an iphone 3g for over a year. I am having a problem deleting email on my 3gs. Whenever my wife downloads mail to her phone, she can delete if off her phone but leave it on the web server for our internet provider. This way we can still download all of our mail into Oulook on our home computer. Whenever I download email to my 3gs and delete it from my phone it also deletes it from our web server and either puts iit in the web server trash or on my iphone trash folder, whichever I have it set to go. How do I set up my iphone 3gs so that after I download email to my iphone 3gs, I can delete it from the iphone 3gs and not delete the web server version?
Does the email account provider for the account support accessing the account as a POP or IMAP account?
If so, it sounds like your wife is accessing the account as a POP account with the iPhone's Mail application and you are accessing the account as an IMAP account. -
How to Download a file from web server using servlets
how do we download a file from Java Web Server connecting to oracle database
it should start as soon a i click a button in my html browser
please reply as it is needed to complete my project to submited to the collageWith SQLJ you can do it.
When you look at:
http://otn.oracle.com/sample_code/tech/java/sqlj_jdbc/files/basic/basic.htm
or
http://otn.oracle.com/sample_code/tech/java/sqlj_jdbc/files/advanced/advanced.htm
There are samples for reading LONGRAW / BLOB from Database. If you want use it in servlet you have to pass the result to the responce object, set the correct mime-type and set the response.setContentLength( xx). This is for some PlugIns nessessary (pdf).
regards Dietmar -
How to publish a servlet class to web server?
background:
web server: tomcat apache 4
context path: webapp\test\
servlet path: webapp\test\WEB-INF
servlet name: HelloWorld.class
i tried to placed the servlet class file to above servlet path,
but i can't invoke the servlet by http://localhost:8080/test/HelloWorld
what should i do in order to invoke the servlet at browser?
Is a web.xml necessary a must to provided a mapping between request name and actual class name?First of all you need a *.war structure which look like this
/app-name
/app-name/WEB-INF/
/app-name/WEB-INF/lib
/app-name/WEB-INF/classes
When you have created this structure you add your servlet (HelloWorld.class) in the classes directory (Create the package structure first).
When this is done you need to map the servlet to a given uri which is done in the web.xml. An example is found below:
<servlet>
<servlet-name>hello</servlet-name>
<servlet-class>package.HelloWorld</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>hello</servlet-name>
<url-pattern>/hello/*</url-pattern>
</servlet-mapping>
Hopefully this will help :-)
best regards
Stig -
Upload and Download a JAR/JAD file to/from a Web Server
How do I upload the JAR and JAD file to the Web Server?
And once deployed on the Web Server,how can I down load this.
I have written a small MIDlet.
I would like to upload this to my Web Server(I have Apache running),and then
I would like to download this and test this,
Please can any suggest.I am testing this on Siemens m50.
AjayYou should configure your web server to send the correct mime types
for .jad and .jar extensions
Ivan -
Thunderbird was working and then for no reason it stopped downloading emails from the web server. I can access my emails in the web server okay. I have tried to remove my account and then add it again as a new account but I get a message saying that Thunderbird cannot find the email server. I have also tried to uninstall and reinstall Thunderbird but with the same result. I have also tried to remove the default mail server but have been unable to do so. How can I fix this?
I figured out a workaround.... Since I can get e-mails to populate via iSync and my other computer is running Leopard (it's a powerpc chip and can't run Snow Leopard), I added the account on the other computer and got the new account to populate into my SL machine with iSync. I don't like that I can't actually add the account directly, but at least this got me working.
-
Site Definition Web Server Login password forgotten
I have taken over managing our website from a person who left
abruptly and I do not know the password for logging into the
Dreamweaver 3 site definition Web Server Info area. Is there any
way to replace the current password without knowing what it is? Or
is there a way to find out what the current password is?This is a multi-part message in MIME format.
------=_NextPart_000_001D_01C74F59.BEE1EF30
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
http://youneedawebstore.com/ynw/panama-city-web-design-resources-password=
.shtm
If you want a shortcut, open the registry (Regedit) and
locate the =
encrypted password, then put it in the form field on the
above page
------=_NextPart_000_001D_01C74F59.BEE1EF30
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 6.00.5730.11" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial><A=20
href=3D"
http://youneedawebstore.com/ynw/panama-city-web-design-resources-=
password.shtm">
http://youneedawebstore.com/ynw/panama-city-web-design-res=
ources-password.shtm</A></FONT></DIV>
<DIV><FONT
face=3DArial></FONT> </DIV>
<DIV><FONT face=3DArial>If you want a shortcut,
open the registry =
(Regedit) and=20
locate the encrypted password, then put it in the form field
on the =
above=20
page</FONT></DIV></BODY></HTML>
------=_NextPart_000_001D_01C74F59.BEE1EF30-- -
Downloading and installing web server
I have some problems,
1. from where i may find web server for java,
2. how can i install it,
3. how will i configure it,
4. i am a beginner so please guide me for that
thanks
[email protected]Hi,
You can find Tomcat webserver(free) which is developed by apache software foundation available for download at http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.2.4/bin/ .Dowload the corresponding zip file to your operating system and extract it to a directory.
For information on how to install and configure please go through the documentation available both on the web at http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html and also available with the software bundle.
Hope this helps.
Best Regards
Gayam_Slash -
File class using URI in a web server.
How do I reference a file or directory on a web server using the File class?
For example, if the URL is http://localhost:8080/foo and I want to access the images directory, how would I do it?
This is what I've tried:
URI uri = new URI("http",null,"foo",8080,"/foo/images",null,null);
File file = new File(uri);
I am getting an exception: java.lang.IllegalArgumentException: URI scheme is not "file"
uri.toString() looks good. File just doesn't seem to like a directory within a web server. I don't think I'm going to know the absolute path when I move to the actual web server.Try to use search FTP in se37 or checkout the below FM
CALL FUNCTION 'EPS_FTP_MPUT'
EXPORTING
RFC_DESTINATION =
* FILE_MASK = ' '
* LOCAL_DIRECTORY = ' '
* REMOTE_DIRECTORY = ' '
* OVERWRITE_MODE = ' '
* TEXT_MODE = ' '
* TRANSMISSION_MONITOR = 'X'
* RECORDS_PER_TRANSFER = 10
* MONITOR_TITLE =
* MONITOR_TEXT1 =
* MONITOR_TEXT2 =
* PROGRESS_TEXT =
* IMPORTING
* LOCAL_DIRECTORY =
* REMOTE_DIRECTORY =
* LOCAL_SYSTEM_INFO =
* REMOTE_SYSTEM_INFO =
* TABLES
* FILE_LIST =
* EXCEPTIONS
* CONNECTION_FAILED = 1
* INVALID_VERSION = 2
* INVALID_ARGUMENTS = 3
* GET_DIR_LIST_FAILED = 4
* FILE_TRANSFER_FAILED = 5
* STOPPED_BY_USER = 6
* OTHERS = 7
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF. -
To Download iPlanet Web Server 6.0 SP2
Hi,
I tried to download iPlanet WS 6.0 SP2 from the following URL http://wwws.sun.com/software/download/download/5126.html from the direct connected internet machine. But i couldn't download the same. So could you please tell me http mirror sites & ftp mirror sites from where i can download iPlanet WS 6.0 SP2 for Windows Platform?
Thanks in advance,
ManiHi,
I tried to download iPlanet WS 6.0 SP2 from the
m the following URL
http://wwws.sun.com/software/download/download/5126.ht
l from the direct connected internet machine. But i
couldn't download the same. So could you please tell
me http mirror sites & ftp mirror sites from where i
can download iPlanet WS 6.0 SP2 for Windows
Platform?
Thanks in advance,
ManiHi Mani,
I also am looking for iPlanet Web Server 6.0 SP2 for Solaris. Were you succesful in finding a mirror http or frp site?
Thanks,
Vincent -
Where to download Iplanet web server?
I am looking for a download link to Sun Java System Web server (Oracle iPlanet Web server). Someone here knows the link? It has been a day and the closest link that I can get is just http://www.oracle.com/technetwork/middleware/iplanetwebserver-098726.html. However, it leads me somewhere else.
ThanksCan you be more specific? I can only find Sun versin 7.0.8.
This web site is really, really horrible. The links for iplanet download take you to jdeveloper or, they're completely broken.
thanks -
i want to download java web server,but SUN have not support free download
anyone can help meyou can down load Tomcat web server at www.apache.com
LP -
Trying to download MIDlet from a web server
Hi
I put a jad and a jar file in a web server.
I configured it to recognize jar, jad and wml.
I put there an html file and also a wml file.
I tried to write in the mobile device the address to the jad in several ways in order to download the jad and jar to the device.
I tried :
www.theAddress.com/dir/App.jad
www.theAddress.com/dir/App.html
www.theAddress.com/dir/App.wml
www.theAddress.com/dir/App
and I got :
"Error 404 - Page does not exist"
what should I do ???
waiting for an answer , Thanks in advance , TomerMaybe your phone doesn't have the correct WAP profile configurations. Can you browse to any site at all (try http://www.gamasutra.com/wireless/index.shtml or something)? If not then you should ask your network operator to send you the appropiate WAP configuration (they can usually do it by simply sending you an SMS-Push message).
Another possibility is that your account with the network operator doesn't have internet access allowed? What operator are you using? What kind of account do you have with them? Many operators have accounts that will let you browse only within the operators WAP sites, but won't let you browse the internet in general.
shmoove
Maybe you are looking for
-
Service Registry SDLC import export of services
hi , I am intrested to know how is the SDLC process work in service registry?? I have a service in my test environment and is published to service registry test environment. Now I wanted to promote the service to production enviornment and publish it
-
IChat Video Not Working - Becoming Desparate!
Hi, I have iChat 5.0.1 running on OS X 10.6.2 I have no problem getting onto iChat but I am unable to connect with video. If I initiate the video chat, it seems like it just times out. However, if I receive the invite, I get the following error messa
-
HOW TO UNLOCK AN IPOD TOUCH WHEN YOU FORGOT PASSCODE
How can I unlock my son's IPOD touch when he has forgotten his passcode?
-
Import/export properties of multiple numeric limit steps
Hello I have a question to the property loader and the import/export tool in TestStand 3.5. When I want to export the limits of a sequence with multiple numeric steps with the import/export tool, I press the Limits button to include the limits into t
-
Using sounds in flash catalyst?
Is it possible to use sound files? Example: When you click on a button, is it possible to play a sound? Thanks! OnlyNK