Call servlet via dialed connection
Hi, I want to access a servlet on an corporate (ISDN) intranet from home using a dialed (modem) connection. Is this doable? If possible, how do I point out the server in the browser? The server has no static IP-adress unfortunately.
Thanks!
Hi, I want to access a servlet on an corporate (ISDN)
intranet from home using a dialed (modem) connection.
Is this doable? If possible, how do I point out the
server in the browser? The server has no static
IP-adress unfortunately. uhh. It's rather uncommon for a server to have a dynamic ip. in this case, you could use dynamic host registration, so the server registers itself with the actual ip on a intrabet based dns server.
other posibility would be the server places it's current ip address on a webserver that has a static ip.
Or, you could use a broadcasting mechanism (protcol) to get the ip. This would require an additional server component.
But, we not just give the server a static ip?!?
Similar Messages
-
How application call servlet via https
Hi guys
Does anybody know how application call servlet via https? Is it same as
http? How can I set up trusted certification? Thanks in advance.
Regards,
Mark.I meant to give a code example in the last one, sorry.
URL u = new URL("https://mysecureURL.com");
javax.net.ssl.HttpsURLConnection conn = (javax.net.ssl.httpsURLConnection) u.openConnection();There is other good info in the JSSE forums.
Cheers,
Peter. -
I have been
troubleshooting a very strange issue with Lync clients being unable to connect
to a conference via dial-in number when the conference is hosted on a different
pool. This happens internally and there is no media gateway or SIP trunk
involved.<o:p></o:p>
Users are
unable to join a conference from Polycom CX phones and Lync 2013/2010 software clients
by dialling conference Dial-in number which is located on a different pool than
actual conference. Users are prompted to input their conference ID, however,
they are never connected to the conference (10 min silence followed by error
announcement). <o:p></o:p>
This only
happens if the dial-in number is homed on a different pool than conference.
Both pools are Lync 2013 Standard Edition running on Windows Server 2012.
Servers and clients are patched with the latest CU.<o:p></o:p>
I noticed that
when you call dial-in number’s SIP address, user will get transferred to a
conference (works ok). When you dial just a number users is never transferred
and RT Audio traffic still goes directly to a server which is hosting dial-in
number.<o:p></o:p>
After
checking Lync traces it looks like Lync client ignores the REFER message from
the FE server hosting Dial-in number and it never send an INVITE to the server
whit active conference.<o:p></o:p>
The only difference
between INVITES for working calls and calls that failed to connect to the
conference is the presence of the user=phone in TO header:<o:p></o:p>
Working
invite:<o:p></o:p>
TO:
<sip:[email protected]><o:p></o:p>
Failed invite:Please try to disable refer support for all pools.
The problem seems occur when Attendant transfer the call to another pool.
Please provide more trace file information.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Calling out via Skype Handset - connection problem...
All help gratefully received! I have Skype on iPad and on a desktop PC which both work just fine with my Skype number, loads of credit on the account, good internet connection here in Turkey. I also have Skype handsets (GE 31591 twinset) in the house and for some reason these will receive incoming calls but will not connect my outgoing calls.
I have tried a complete power down and reset but not fixed the issue.
Any ideas?
Best wishes,
ZektrekkerIt looks to me logical that this possibility would be incorporated in the SPA 3102, looking to all the other user options. Are there other (Linksys) devices that can provide this service in combination with the PSTN and SIP-line?
What would you suggest as “solution” or what does other user do to avoid this problem? It’s rather unprofessional when a client is calling that you can’t answer, because you’re on the line even you’re in the office and you can’t mention it to your client. Is there a possibility to forward manually the client on the PSTN to a mailbox or to a busy tone record? I can always put a mailbox after a few rings, so the client can’t wait too long. Is there a possibility to take the second line and leave the first on hold (asterix codes?).
For the second issue I will check it with the local regulator BIPT. Witch fields are important to adapt to local settings.
Indeed it’s an analog phone with a card reader. It’s not clear to me whether the phone is dialing a telephone number to load the card. If you put in the card, the phone ask you to put in the pin (you don’t need to call a number – but this can be done automatically). Patched on my PSTN line it worked properly. Thanks! -
Hi, can anyone tell me if the DROID X will be able to make a call FROM Europe TO the USA via a WiFi connection .... for FREE? Conceptually, I would think it would work.... but, I'm no "techie"......
jaylan222 wrote:
Hi, can anyone tell me if the DROID X will be able to make a call FROM Europe TO the USA via a WiFi connection .... for FREE? Conceptually, I would think it would work.... but, I'm no "techie"......
Hi. I will be happy to answer your question regarding making a call using a Wifi connection. There is no application that comes with the phone that will allow you to do so. All calls can only be made through our 3G network. You can also check the application market on your phone to see if you see an application that fits your needs.
Please let me know if you have any other questions.
Thanks! -
Testing Sync Servlet via Browser successfull or not?
Hi everybody,
calling the sync servlet via the test url
http://server/meSync/servlet/meSync ...
brings the following result:
&WAF_SYNC&STATUS=&Execution Time= & HeaderType = MEREPLICATION &MORE_PACKAGES_WAITING = &
According to the documentation there should be a value for execution time.
Is the test sucessfull or not?
I'm obviously asking, because I don't get my MI client working.
Thanks in advance
Greetings
AlexanderHere you are with the complete Trace.
Note that I X-ed out the Servernames.
[20050824 09:41:00:328] I [MI/API/Logging ] ***** LOG / TRACE SWITCHED ON
[20050824 09:41:00:328] I [MI/API/Logging ] ***** Mobile Engine version: MI 25 SP 13 Patch 00 Build 200507282032
[20050824 09:41:00:328] I [MI/API/Logging ] ***** Current timezone: Europe/Berlin
[20050824 09:41:00:328] I [MI ] Trace severity: Debug (90)
[20050824 09:41:00:328] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:dispatch request to '/jsp/trace/trace.jsp'
[20050824 09:41:01:484] D [MI/Core ] Set current application to 'MOBILEENGINE_JSP'
[20050824 09:41:01:484] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:doGet(...) called
[20050824 09:41:01:484] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:getEvent() done with event name = ''
[20050824 09:41:01:484] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:dispatch request to '/jsp/home/home.jsp'
[20050824 09:41:02:406] D [MI/Core ] Set current application to 'MOBILEENGINE_JSP'
[20050824 09:41:02:421] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:doGet(...) called
[20050824 09:41:02:421] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:getEvent() done with event name = ''
[20050824 09:41:02:421] P [MI/Sync ] Notify R3 called
[20050824 09:41:02:421] D [MI/Sync ] There is already a container for method WAF_REGISTRY and user A15442 in the outbound queue
[20050824 09:41:02:421] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:dispatch request to '/jsp/home/home.jsp'
[20050824 09:41:02:421] I [MI/Sync ] Synchronize with backend called, Thread=Thread-26
[20050824 09:41:02:421] I [MI/Sync ] Thread=Thread-26 took lock for synchronization.
[20050824 09:41:02:421] P [MI/Sync ] Use following gateway for synchronization: XXX:57900
[20050824 09:41:02:421] D [MI/API/Services ] UrlConnectionTest: returning instance for same host XXX
[20050824 09:41:02:421] D [MI/API/Services ] UrlConnectionTest: lastHostChecked was XXX
[20050824 09:41:02:421] D [MI/API/Services ] UrlConnectionTest: lastTimeOfCheck was 1124871068359
[20050824 09:41:02:421] D [MI/API/Services ] UrlConnectionTest: last check was 5394062 ms ago
[20050824 09:41:02:421] D [MI/API/Services ] UrlConnectionTest: try number: 1
[20050824 09:41:02:421] D [MI/API/Services ] UrlConnectionTestThread: method run() started...
[20050824 09:41:02:421] D [MI/API/Services ] C:\Programme\SAP Mobile Infrastructure\proxyauth.txt does not exist, therefore no Proxy-Authorization is set.
[20050824 09:41:03:421] D [MI/API/Services ] UrlConnectionTest: try number: 2
[20050824 09:41:04:421] D [MI/API/Services ] UrlConnectionTest: try number: 3
[20050824 09:41:05:421] D [MI/API/Services ] UrlConnectionTest: try number: 4
[20050824 09:41:06:421] D [MI/API/Services ] UrlConnectionTest: try number: 5
[20050824 09:41:07:421] D [MI/API/Services ] UrlConnectionTest: try number: 6
[20050824 09:41:08:421] D [MI/API/Services ] UrlConnectionTest: try number: 7
[20050824 09:41:09:421] D [MI/API/Services ] UrlConnectionTest: try number: 8
[20050824 09:41:10:421] D [MI/API/Services ] UrlConnectionTest: try number: 9
[20050824 09:41:11:421] D [MI/API/Services ] UrlConnectionTest: try number: 10
[20050824 09:41:12:421] D [MI/API/Services ] UrlConnectionTest: try number: 11
[20050824 09:41:12:546] D [MI/Core ] Set current application to 'MOBILEENGINE_JSP'
[20050824 09:41:12:546] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:doGet(...) called
[20050824 09:41:12:546] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:getEvent() done with event name = ''
[20050824 09:41:12:546] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:dispatch request to '/jsp/home/home.jsp'
[20050824 09:41:13:421] D [MI/API/Services ] UrlConnectionTest: try number: 12
[20050824 09:41:14:421] D [MI/API/Services ] UrlConnectionTest: it took 12000 ms to test the connection
[20050824 09:41:14:421] P [MI/API/Services ] UrlConnectionTest: Connection could not be established!!!
[20050824 09:41:14:421] W [MI/Sync ] Cannot connect to gateway
com.sap.ip.me.api.services.HttpConnectionException: URL connection test timeout
at com.sap.ip.me.api.services.IOUtils.isConnectable(IOUtils.java:664)
at com.sap.ip.me.sync.SyncManagerImpl.doConnectionTest(SyncManagerImpl.java:532)
at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend(SyncManagerImpl.java:383)
at com.sap.ip.me.sync.SyncManagerImpl.synchronizeWithBackend(SyncManagerImpl.java:285)
at com.sap.ip.me.api.sync.SyncManager.synchronizeWithBackend(SyncManager.java:79)
at com.sap.ip.me.apps.jsp.Home$SyncRunnable.run(Home.java:447)
at java.lang.Thread.run(Unknown Source)
[20050824 09:41:14:421] I [MI/Sync ] Synchronization finished, Thread=Thread-26
[20050824 09:41:22:671] D [MI/Core ] Set current application to 'MOBILEENGINE_JSP'
[20050824 09:41:22:671] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:doGet(...) called
[20050824 09:41:22:671] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:getEvent() done with event name = ''
[20050824 09:41:22:671] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:dispatch request to '/jsp/home/synclog.jsp' -
Not able to import User Profile Property via BDC Connection
I want to fill some of the user profile properties via BDC Connection. I already have created more than 50 user profiles which I imported from AD. Now, in order to import profiles properties using BDC, I performed below steps:
a) Ensured Business Data Connectivity and Secure Store are running and used account has Full permission on these services.
b) Created an external content type using SharePoint Designer and created an external list to ensure that data is available:
Set email field as identifier, which is one of the columns in SQL table and is a primary key.
Created Read Item and Read List operations on above ECT.
c) Checked the presence of above ECT in BDC service and ensured it has all necessary permissions i.e. Edit, Execute etc.
d) Configure a new synchronization connection in User profile Service by selecting the same ECT. Here I chose to connect 1:1 mapping and picked up WorkEmail property to return items.
e) Mapped one of the custom property with one of the fields of SQL Server. Here, I ensured they both have same type.
f) Ran Full Synchronize after above steps. On checked, I do not find any data in the mapped properties.
Below are the traces of LOGS:
Profile sync step BusinessConnection (stage BusinessDataCatalogFullImport) finished successfully. 8ecffe9c-6d0a-e0e8-ec25-eb7a5f1c1215
04/21/2015 12:37:00.68 OWSTIMER.EXE (0x337C) 0x02DC SharePoint Portal Server User Profiles
ac4iu Medium Profile sync step BusinessConnection (stage BusinessDataCatalogFullSync) started execution.
04/21/2015 12:37:00.68 OWSTIMER.EXE (0x337C) 0x4CCC SharePoint Foundation Topology
8xqz Medium Updating SPPersistedObject UserProfileImportJob Name=UserProfileServiceApplication_ProfileImportJob. Version: 2294209 Ensure: False, HashCode: 36728399, Id: 4f037df6-d339-4b5a-8892-ef3699c16b20, Stack: at
Microsoft.SharePoint.Administration.SPJobDefinition.Update() at Microsoft.Office.Server.UserProfiles.UserProfileImportJob.SaveStatus() at Microsoft.Office.Server.UserProfiles.UserProfileImportJob.Execute()
at Microsoft.Office.Server.Administration.UserProfileApplicationJob.Execute(SPJobState jobState) at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService,
Int32& result) at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result) 8ecffe9c-6d0a-e0e8-ec25-eb7a5f1c1215
04/21/2015 12:37:01.70 OWSTIMER.EXE (0x337C) 0x4CCC SharePoint Portal Server User Profiles
ac4iq Medium Profile sync step BusinessConnection (stage BusinessDataCatalogFullSync) finished successfully. 8ecffe9c-6d0a-e0e8-ec25-eb7a5f1c1215
04/21/2015 12:37:01.70 OWSTIMER.EXE (0x337C) 0x4CCC SharePoint Foundation Topology
8xqz Medium Updating SPPersistedObject UserProfileImportJob Name=UserProfileServiceApplication_ProfileImportJob. Version: 2294211 Ensure: False, HashCode: 36728399, Id: 4f037df6-d339-4b5a-8892-ef3699c16b20, Stack: at
Microsoft.SharePoint.Administration.SPJobDefinition.Update() at Microsoft.Office.Server.UserProfiles.UserProfileImportJob.SaveStatus() at Microsoft.Office.Server.UserProfiles.UserProfileImportJob.Execute()
at Microsoft.Office.Server.Administration.UserProfileApplicationJob.Execute(SPJobState jobState) at Microsoft.SharePoint.Administration.SPTimerJobInvokeInternal.Invoke(SPJobDefinition jd, Guid targetInstanceId, Boolean isTimerService,
Int32& result) at Microsoft.SharePoint.Administration.SPTimerJobInvoke.Invoke(TimerJobExecuteData& data, Int32& result) 8ecffe9c-6d0a-e0e8-ec25-eb7a5f1c1215
04/21/2015 12:37:02.53 OWSTIMER.EXE (0x337C) 0x319C SharePoint Foundation Monitoring
nasq Medium Entering monitored scope (Timer Job job-upgrade-sites). Parent No 9f354308-7b18-40f3-80d6-c7d0616cd9e5
04/21/2015 12:37:02.53 OWSTIMER.EXE (0x337C) 0x319C SharePoint Foundation Logging
Correlation Data xmnv Medium Name=Timer Job job-upgrade-sites a0cffe9c-7d80-e0e8-ec25-e024bd692f28
04/21/2015 12:37:02.67 OWSTIMER.EXE (0x337C) 0x319C SharePoint Foundation Monitoring
b4ly Medium Leaving Monitored Scope (Timer Job job-upgrade-sites). Execution Time=136.402252241556 a0cffe9c-7d80-e0e8-ec25-e024bd692f28
04/21/2015 12:37:04.94 w3wp.exe (0x4440) 0x4070 SharePoint Portal Server Runtime
8gp7 Medium Topology cache updated. (AppDomain: /LM/W3SVC/1712947452/ROOT-1-130740700225995467)
04/21/2015 12:37:05.00 OWSTIMER.EXE (0x337C) 0x1FA0 SharePoint Foundation Monitoring
aeh57 Medium Sql Ring buffer status eventsPerSec = ,processingTime=0,totalEventsProcessed=0,eventCount=0,droppedCount=0,memoryUsed=0
04/21/2015 12:37:05.52 w3wp.exe (0x4440) 0x3DD8 SharePoint Foundation
Topology e5mc Medium WcfSendRequest: RemoteAddress: 'http://172.20.21.163:32843/af95f58c149b4b61b13c0d0250479beb/MetadataWebService.svc'
Channel: 'Microsoft.SharePoint.Taxonomy.IMetadataWebServiceApplication' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges2' MessageId: 'urn:uuid:324f52f2-8c3a-49e3-9d2c-6119776db97b' 08d6992a-9413-4d09-b8f9-bcfb08266cc7
04/21/2015 12:37:05.52 w3wp.exe (0x4848) 0x3D98 SharePoint Foundation
Monitoring nasq Medium Entering monitored scope (ExecuteWcfServerOperation). Parent No
04/21/2015 12:37:05.52 w3wp.exe (0x4848) 0x3D98 SharePoint Foundation
Topology e5mb Medium WcfReceiveRequest: LocalAddress: 'http://ispantest.domainname.local:32843/af95f58c149b4b61b13c0d0250479beb/MetadataWebService.svc'
Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges2' MessageId: 'urn:uuid:324f52f2-8c3a-49e3-9d2c-6119776db97b' 08d6992a-9413-4d09-b8f9-bcfb08266cc7
04/21/2015 12:37:05.52 w3wp.exe (0x4848) 0x3D98 SharePoint Server
Taxonomy fuc5 Medium MetadataWebServiceApplication.GetChanges called on 'Managed Metadata Service' starting. 08d6992a-9413-4d09-b8f9-bcfb08266cc7
04/21/2015 12:37:05.53 w3wp.exe (0x4848) 0x3D98 SharePoint Server
Taxonomy fuc6 Medium MetadataWebServiceApplication.GetChanges called on 'Managed Metadata Service' completed. 08d6992a-9413-4d09-b8f9-bcfb08266cc7
04/21/2015 12:37:05.53 w3wp.exe (0x4848) 0x3D98 SharePoint Foundation
Monitoring b4ly Medium Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=2.03964470344695 08d6992a-9413-4d09-b8f9-bcfb08266cc7
04/21/2015 12:37:05.53 w3wp.exe (0x4440) 0x3DD8 SharePoint Foundation
General aipzw High An exception occurred while writing a service call usage
entry. Exception details: System.ObjectDisposedException: Safe handle has been closed at
System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean& success) at Microsoft.Win32.Win32Native.GetTokenInformation(SafeTokenHandle TokenHandle, UInt32 TokenInformationClass, SafeLocalAllocHandle TokenInformation,
UInt32 TokenInformationLength, UInt32& ReturnLength) at System.Security.Principal.WindowsIdentity.GetTokenInformation(SafeTokenHandle tokenHandle, TokenInformationClass tokenInformationClass) at System.Security.Principal.WindowsIdentity.get_User()
at System.Security.Principal.WindowsIdentity.GetName() at System.Security.Principal.WindowsIdentity.get_Name() at Microsoft.SharePoint.Utilities.SPUtili... 08d6992a-9413-4d09-b8f9-bcfb08266cc7Thanks for the very clear answer back. You're a star. Much appreciated and better to know where you stand directly. Have called the helpdesk and are willing to solve and take this one back in, although it will hurt. The macBook Pro continues to be out of reach economically, so it would need to be the white macBook...
Just wanted to check some last items before making final decisions as I am checking an alternative workaround
- my camcorder supports recording on memory stick which can then be read into iMovie without problem. Any idea if memory stick is lower in resolution as normal DV tape recording? If this is comparable I can choose to from now on switch to memory stick. When I record on the stick it is then recognised as MOV.
- is there any other (non apple made) OSX software on the market to facilitate only the USB driven capturing? Hence did any other SW supplier plug this hole? The old windows pc has proven that the camera streams images via the USB port (hence don't at all understand why iMovie cannot just support capturing via USB streaming...!!!!) and I understand it is more that iMovie doesn't support capturing images via USB, but does anybody else at least for the capturing bit?
- You read about Firewire - USB adapters/hubs/convertors. It is however never clear if it would solve this issue. Dead-end street or an option?
- I can capture my archive of old tapes on my old PC and then put them into my Mac. However the capturing SW makes one large file of it and no event is split. Any idea if on import iMovie could automatically split this into different events (based on date or start/stop?)
- final question: does iMovie when capturing video from tapebased camcorder automatically split events based on date or start/stop? Would be silly to make switch and then still find out I need to manually make the cuts.
Very grateful for your support. Just a couple of days left to make final decision... -
When trying to update ITunes on my pc using Iphone 4 verizon personal hotspot via usb connection the download fails.
I called this problem into Apple and they solved it for me. The problem is in the downloader associated with iTunes. Skip that step and go to Apple.com and download the new iTunes softwere update (Version 11.1) directly. I did this and installed it successfully. After restarting the computer iTunes recognized my phone and all was well. Then I updated and installed the ios7 update without any problems. No charge. Full cudo's to Apple!
-
How do you get your iPhone to stop connecting to face time while on a voice call? And it also does this when I'm on the phone with someone who doesn't have an iPhone. I look down at my phone while on a call and it says connecting to face time
How are you dialing these calls?
-
How do you get your iPhone to stop connecting to face time while on a voice call? And it also does this when I'm on the phone with someone who doesn't have an iPhone. I look down at my phone while on a call and it says connecting to face time
How are you dialing these calls?
-
ERROR WHILE STARTING SERVLET VIA examples SERVER
Hi all,
I am desperately trying to start a Servlet via the Examples Server. So
I compiled a servlet, copied it into the config\examples\applications\DefaultWebApp_examplesServer\WEB-INF\classes
folder, opened the web.xml present in the WEB-INF folder and entered the necessary
tags.
But after having started the examples server and having typed http://localhost:7001/quickStartServlet
in Internet Explorer I get Error 404.
Any help would be warmly appreciated.
snodx
Note: I followed the link provided by Mark SpotsWood at http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.servlet&item=3984&utag=
Panic over. The trouble was in the <url-pattern> tag. Instead of quickStartServlet
I had to type /<myservlet>/*, and then call the servlet via Internet Explorer
as http://localhost:7001/<myservlet>
TOPIC CLOSED
snodx
"snodx" <[email protected]> wrote:
>
>Hi all,
> I am desperately trying to start a Servlet via the Examples Server.
>So
>I compiled a servlet, copied it into the config\examples\applications\DefaultWebApp_examplesServer\WEB-INF\classes
>folder, opened the web.xml present in the WEB-INF folder and entered
>the necessary
>tags.
>
>But after having started the examples server and having typed http://localhost:7001/quickStartServlet
>in Internet Explorer I get Error 404.
>
>Any help would be warmly appreciated.
> snodx
>
>Note: I followed the link provided by Mark SpotsWood at http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.servlet&item=3984&utag=
-
Calling Servlet from a java prog?
Hi all,
I am calling servlet from a java prog (Java Agent in Lotus Notes) by using URL and URLConnection object. how can i trigger the Servlet By using doPost method .I have to send some parameter also.
Thanx
Muthuyou need to open a connection to the servlet. Then you must call getInputStream() and getOutputStream() and use them in any way you see fit. I was trying this before and could not get POST to work unless I openned the input stream from the servlet. Strange... but doGet worked without openning the input stream???
// open a connection....
// write to the servlet
servletConnection.getOutputStream().write("whatever");
servletConnection.getOutputStream().flush();
servletConnection.getOutputStream().close();
// grab what the servlet sends back, required to do a post.
byte [] in = new byte[100];
servletConnection.getInputStream().read(in);
servletConnection.getInputStream().close(); -
Help downloading adobe reader via dial-up
Get server timeout error message when downloading adobe reader via dial-up connection at home. how can i get a "redistributable" version to download elsewhere on laptop at faster location and transfer it to home desktop?
Moving this discussion to the Adobe Reader forum.
-
Hi All,
I'm trying to connect our SolMan development to the CEN. However when registering ccmsr within J2ee admin it gives the following errors.
Does anybody have an idea?
Output for : /usr/sap/DSM/SYS/exe/run/sapccmsr(-j2ee,-v,pf=/usr/sap/DSM/SYS/profile/DSM_DVEBMGS00_ijmdsm01)
CCMS version 20040229, 64 bit, multithreaded, Non-Unicode
compiled at Oct 28 2006 systemid 324 (IBM RS/6000 with AIX)
relno 7000
patch text patch collection 2006/4, OSS note 914721
patchno 83 intno 20050900
running on ijmdsm01 AIX 3 5 00C97C6E4C00
Logfile for : /usr/sap/DSM/SYS/exe/run/sapccmsr(-j2ee,-R,-f,/tmp/csm53771.conf,pf=/usr/sap/DSM/SYS/profile/DSM_DVEBMGS00_ijmdsm01) [Thr 01] Mon Mar 26 13:29:05 2007
INFO: CCMS agent sapccmsr working directory is /usr/sap/ccms/DSM_00/sapccmsr
INFO: CCMS agent sapccmsr config file is /usr/sap/ccms/DSM_00/sapccmsr/csmconf
INFO: Central Monitoring System is . (found in config file)
INFO: additional Central Monitoring System is . (found in config file)
INFO: found ini file /usr/sap/ccms/DSM_00/sapccmsr/sapccmsr.ini.
INFO: Checking Distributed Statistical Records Library dsrlib.o
INFO: checking version an Unicodeness of dsrlib.o
INFO: DSR: Dynamic Library dsrlib.o (version 22) successfully loaded.
INFO: DSR: Dynamic Library dsrlib successfully loaded.
INFO: DSR: Path /usr/sap/ccms/DSM_00/dsr for Distributed Statistical Records.
INFO: CCMS version 20040229, 64 bit, multithreaded, Non-Unicode compiled at Oct 28 2006 systemid 324 (IBM RS/6000 with AIX) relno 7000 patch text patch collection 2006/4, OSS note 914721 patchno 83 intno 20050900 running on ijmdsm01 AIX 3 5 00C97C6E4C00 pid 479452 profile /usr/sap/DSM/SYS/profile/DSM_DVEBMGS00_ijmdsm01
INFO: Attached to Shared Memory Key 73 (size 40000000), no pool used
INFO: Connected to Monitoring Segment segment status WARM_UP segment started at Thu Mar 22 08:58:40 2007 segment version 20040229
INFO: DSM:000:999999 connected to DSM, host ijmdsm01, System Nr. 00, traceflag
INFO: DSM release is 700 , (kernel release 700 )
ERROR: DSM:000:CSMREG calling SALS_MS_GET_LOCAL_MS_INFO via RFC failed, can not get version of DSM. RfcRc = 2, C_CALL_FAILED</b>
INFO: SLM:000:999999 connected to SLM, host rthuas50, System Nr. 10, traceflag
INFO: SLM release is 700 , (kernel release 700 )
INFO: SLM:000:CSMREG connected to SLM, host rthuas50, System Nr. 10, traceflag INFO: SLM release is 700 , (kernel release 700 ), CCMS version 20040229 INFO: RFC logon info for SLM:000:CSMREG can be updated at any time with -R option: sapccmsr -R INFO: Updated saprfc.ini in agent work directory /usr/sap/ccms/DSM_00/sapccmsr
ERROR: Registration failed: Can't get version of DSM. RfcRc = 2, C_CALL_FAILED RFC Error Info for SALS_MS_GET_LOCAL_MS_INFO message: status: EXCEPTION C_CALL_FAILED RAISED intstat: Mon Mar 26 13:29:10 2007 INFO: dsr: dsrlib unloaded.
...closing this logfile...
Registration of CCMS Customizing Destination
Error during registration of CCMS Customizing destination
Source system cannot be set to UnicodeHi,
Check these notes.
641339 - RZ20: CCMS monitoring context loses client assignment
558608 - Correction: Starting/stopping LDAP Connector via CCMS
827843 - Access Alert Analysis Methods that are Defined Locally
Feel free to revert back.
--Ragu -
Calling servlet through HttpURLConnection
hi guyz ....
I am trying to call a servlet, hosted on Tomcat/4.0.3. It is accepting two parameters. I am using the following program to call it, but it is continuously throwing exception Exception in thread "main" java.io.FileNotFoundException: http://202.141.230.246:8080/examples/servlet/AServlet. When I paste the above same url in browser, it works fine, also other servlets at the same location are working fine from my program and browser. For your convenience, the effective part of the code is given below:
URL url = new URL("http://202.141.230.246:8080/examples/servlet/JndiServlet");
URLConnection connection = (URLConnection) url.openConnection();
//connection.setRequestMethod("POST");
connection.setDoOutput(true);
PrintWriter out = new PrintWriter(connection.getOutputStream());
// encode the message
String name = "s="+URLEncoder.encode("Qusay Mahmoud");
String email = "name="+URLEncoder.encode("[email protected]");
// send the encoded message
out.println(name+"&"+email);
out.close();
BufferedReader in =
new BufferedReader(new InputStreamReader(connection.getInputStream()));
String line;
while ((line = in.readLine()) != null)
System.out.println(line);
in.close();Exception is thrown on the line where i am creating an instance of BufferedReader class.
Any help will be of great value.
Raheel.hi again .... a slight change in code fragment.
plz help !!!!
URL url = new URL("http://202.141.230.246:8080/examples/servlet/AServlet");
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.setRequestMethod("POST");
connection.setDoOutput(true);
PrintWriter out = new PrintWriter(connection.getOutputStream());
// encode the message
String name = "id="+URLEncoder.encode("Qusay Mahmoud");
String email = "name="+URLEncoder.encode("[email protected]");
// send the encoded message
out.println(name+"&"+email);
out.close();
BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
String line;
while ((line = in.readLine()) != null)
System.out.println(line);
in.close();
Maybe you are looking for
-
The application dies when I try to play a sound
Hello, I'm trying to add sounds in my app. The application dies when I try to play a sound y somes devices. Logcat throw this error in Motorola Defy: 6:40.960 20812 20812 D dalvikvm: GC_FOR_MALLOC freed 7757 objects / 547472 bytes in 43ms 6:42.030 20
-
I installed the latest iTunes update from Apple on my PC. I then received an error when launching iTunes that I the "APSDAEMON.exe was unable to locate component. ...Failed to start because MSVCR80.dll was not found". During install, I got a messa
-
Automator Find Finder Items mod date criteria
I am trying to create Automator workflow/app to delete backup files from a folder when older than 2 weeks. I have set "Not within Last 2 Weeks" criteria for mod date, create date plus last access date and I am also using a "Name begins with" criteria
-
NIS is blocking my Itunes...Help
I tried to go step by step of Lorraine M fix, but I cant seem to be able to add any files, it just says open...Help if possible?
-
On account posting for lockboxes
Friends, I have a quick question on lockboxes. We need payment from specific customers to go on to account instead of creating residual items or partial payment. The tolerance for payment advice in OBA3/4 can do the trick by setting to the highest va