Unexpected end of file from server
Can someone confirm if this is an issue with the code being passed or if it is an issue with the applet?
It seems that I may be receiving this message when I have more than one web app open that uses java.
I am not a java developer but I am just looking for some help, tell me if more detail is needed please.
Failed to parse the response with XML stream: java.net.SocketException: Unexpected end of file from server
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at com.kronos.wfc.platform.uiframework.framework.xml.SerializationClient.getResponse(SerializationClient.java:170)
at com.kronos.wfc.platform.uiframework.applet.datamanager.RetrieveObjectsFromServer.run(RetrieveObjectsFromServer.java:172)
Caused by: java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderField(Unknown Source)
at com.kronos.wfc.platform.uiframework.framework.xml.SerializationClient.getResponse(SerializationClient.java:132)
... 1 more
UIDefaults.getUI() failed: no ComponentUI class for: javax.swing.JOptionPane[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=,preferredSize=,icon=,initialValue=,message=The application could not get data from the server.
Please log off and try again.,messageType=ERROR_MESSAGE,optionType=DEFAULT_OPTION,wantsInput=false]
java.lang.Error
at javax.swing.UIDefaults.getUIError(Unknown Source)
at javax.swing.MultiUIDefaults.getUIError(Unknown Source)
at javax.swing.UIDefaults.getUI(Unknown Source)
at javax.swing.UIManager.getUI(Unknown Source)
at javax.swing.JOptionPane.updateUI(Unknown Source)
at javax.swing.JOptionPane.<init>(Unknown Source)
at javax.swing.JOptionPane.showOptionDialog(Unknown Source)
at javax.swing.JOptionPane.showMessageDialog(Unknown Source)
at javax.swing.JOptionPane.showMessageDialog(Unknown Source)
at com.kronos.wfc.platform.uiframework.applet.baseapplet.KronosApplet.private_showErrorMessage(KronosApplet.java:3225)
at com.kronos.wfc.platform.uiframework.applet.baseapplet.KronosApplet.showErrorMessage(KronosApplet.java:3193)
at com.kronos.wfc.platform.uiframework.applet.baseapplet.KronosDataManager.showError(KronosDataManager.java:859)
at com.kronos.wfc.platform.uiframework.applet.baseapplet.KronosDataManager.processNotification(KronosDataManager.java:429)
at com.kronos.wfc.platform.uiframework.applet.baseapplet.KronosDataManager.update(KronosDataManager.java:741)
at com.kronos.wfc.platform.uiframework.applet.datamanager.ServerConnectionObject.setRetrievedObject(ServerConnectionObject.java:195)
at com.kronos.wfc.platform.uiframework.applet.datamanager.RetrieveObjectsFromServer.run(RetrieveObjectsFromServer.java:190)
System.getProperties().put("proxySet", "true");You'll have to show what else you get from the server, but the above line does nothing.
Similar Messages
-
Error while starting the server - Unexpected end of file from server|
Hi,
I am getting below error when I start my glassfish server.
SEVERE|sun-appserver2.1|com.stc.emanager.deployment.sunone.model.runtime.ServerRuntimeModel|_ThreadID=86;_ThreadName=httpWorkerThread-4048-3;_RequestID=8d1f2acd-9e4e-4e9f-a9fd-3b21e4223318;|Unexpected end of file from server|#]
I see the process is running. But, I am not able to open admin console.
could any one plz help me to resolve this issue.
Thanks in Advance,
-ManandiWelcome to the forum.
Unfortunately for you, posting only about things not working isn't going to net you assistance or answers - at most you can get sympathy but there isn't too much of that to share with everyone. You should find a forum for the particular product that is not working. If you have a problem with Glassfish, then try the Glassfish forum.
http://www.java.net/forums/glassfish/glassfish -
Quick par upload NWDS ERROR Unexpected end of file from server
Hi:
I can´t deploy my par file from NWDS, this is the error:
28.04.09 / 08:24] #ERROR LEVEL# com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1 > No Information
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:763)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:626)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:760)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:626)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:957)
at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.readResponse(DeployEngine.java:363)
at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.uploadPar(DeployEngine.java:435)
at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.deploy(DeployEngine.java:221)
at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.processUpload(SAPMPWizard.java:416)
at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.run(SAPMPWizard.java:350)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)
at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard.performFinish(SAPMPWizard.java:531)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at com.sap.portal.developmentTools.general.uploader.QuickPARUploader.run(QuickPARUploader.java:146)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
Any idea?
Thanks a lot for your time on this thread.
Rocío.Hi Rocio,
Check the proxy settings in NWDS and use JAVA RUNTIME 1.5.0_06-b05.
Please refer to the links below where similar problems have been resolved:
Cannot deploy par from NWDS
Can not download SOAP CLIENT TOOL
Another way of deploying the .par file is from System Administration -> Support -> Portal Runtime -> Administration Console.
Hope this resolves your issue.
Regards,
Seema Rane.
Edited by: Seema Rane on Apr 29, 2009 8:57 AM -
Error Unexpected end of file from server with HTTP POST
Hi everyone,
I'm coding a simple client to download some information from a local machine in my LAN.
I have to do this with an http post request.
When i try to parse the http response the program catch an exception, this one:
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(...)
the parameter is a JSON request, and of course the response is a JSON formatted.
i put the http request code:
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.URL;
public class HttpDownloaderThread extends Thread{
private String url;
private String param;
private HttpDownloadListener listener;
private HttpURLConnection connection=null;
private InputStream is;
private OutputStreamWriter wr;
public HttpDownloaderThread(String _url,String param, HttpDownloadListener _listener){
url = _url;
listener = _listener;
this.param=param;
public void run(){
try{
connection=(HttpURLConnection)new URL(url).openConnection();
connection.setRequestMethod("POST");
connection.setReadTimeout(5000);
connection.setRequestProperty("Content-Type", "application/jsonrequest");
connection.setDoOutput(true);
wr = new OutputStreamWriter(connection.getOutputStream());
wr.write(param, 0, param.length());
wr.flush();
int responseCode=0;
System.out.println();
try{
responseCode= connection.getResponseCode();
}catch(Exception e){
e.printStackTrace();
if (responseCode == HttpURLConnection.HTTP_OK){
is = connection.getInputStream();
BufferedReader rd = new BufferedReader(new InputStreamReader(is));
String line;
while ((line = rd.readLine()) != null) {
System.out.println(line);
closeHttpConnection();
listener.resourceDownloaded(url, null);
else{
closeHttpConnection();
listener.downloadFailed(url, new Exception("Http error: " + Integer.toString(responseCode)));
}catch(Exception e){
e.printStackTrace();
listener.downloadFailed(url, e);
}finally{
public void closeHttpConnection(){
if (is != null){
try{
is.close();
wr.close();
}catch (Exception e){
}finally{
is = null;
wr=null;
if (connection != null){
try{
connection.disconnect();
}catch (Exception e){
}finally{
connection = null;
}there's someone who know's why??
Thanks to everyone :)
Thomas.jole_star wrote:
this problem also happen to me,.So since you provided actually no information about your problem you are going to get exactly the same response.
Please don't hijack old threads. Start your own and provide much much much more information.
I shall lock this thread. -
Unexpected end fo file from server exception
Hi all,
When I try to run any of JWS demo application shipped with JRE, after a very long 'checking new version' message, the app ends up throwing the following exception :
JNLPException[category: Download Error : Exception: java.net.SocketException: Unexpected end of file from server : LaunchDesc: null ]
at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)
at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
at com.sun.javaws.Launcher.downloadResources(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)What's wrong ?
Thanks in advance
SetyaI am having the same problem...Seyta, did the you
find an answer?Not yet, another thread suggested that I check my proxy setting, I already do that with no luck, actually the my proxy setting at the JWS Console is the same as in my browser.
Would u please inform me if u find solution.
Thanks in advance.
Setya -
Support Assistant, Can't register plugin, Unexpected end of file from server
Hi, i have a problem with registration plugin with strange error "Unexpected end of file from server"
All resolves perfectly for both sides.I add lines with vCenter into /etc/hosts and to vCenter %windir%/system32/././hosts.
Test from Support Assistant, ip of vCenter was masked:
enrck-suppass-01:/logs # wget https://1.2.3.4 --no-check-certificate
--2013-02-05 06:08:22-- https://1.2.3.4/
Connecting to 1.2.3.4:443... connected.
WARNING: cannot verify 1.2.3.4's certificate, issued by `/O=VMware Installer':
Unable to locally verify the issuer's authority.
WARNING: certificate common name `VMware default certificate' doesn't match requested host name `1.2.3.4'.
HTTP request sent, awaiting response... 200 OK
Length: 3514 (3.4K) [text/html]
Saving to: `index.html.2'
100%[==========================================================================>] 3,514 --.-K/s in 0s
2013-02-05 06:08:22 (32.1 MB/s) - `index.html.2' saved [3514/3514]
enrck-suppass-01:/logs #
While registration process i wasn't saw any lines with my Assistant ip's into vpxd.log
Debugging level -> Trace
While registration i have:
2013-02-05 05:30:07,011 ERROR com.vmware.gss.phonehome.util.PhoneHomePluginRegister - Can't register plugin
com.sun.xml.ws.client.ClientTransportException: HTTP transport error: java.net.SocketException: Unexpected end of file from server
at com.sun.xml.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:132)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:153)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:94)
at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:116)
While registration i haven't any working firewalls and antiviruses.Additional info, for support:
enrck-supass-01:/logs # wget https://supportassistant.vmware.com
--2013-02-07 03:41:22-- https://supportassistant.vmware.com/
Connecting to 10.5.8.4:8080... connected.
Proxy request sent, awaiting response... 401 Unauthorized
Authorization failed.
enrck-supass-01:/logs # -
Bulk Insert Failure: Unexpected end of file
Hi all,
I have a Bulk Insert task which pulls data from a .csv file to SQL server table.
It works fine 99 out of 100 times, but sometimes it throws the following error in production.
"System exception: An error occurred with the following error message: "Cannot fetch a row from OLE DB provider "BULK" for linked server "(null)".The OLE DB provider "BULK" for linked server "(null)" reported an error. The provider did not give any information
about the error.Bulk load: An unexpected end of file was encountered in the data file.". "
My Client says that there was no change to the file and it runs fine the next time.Its a error which I could not reproduce in development.
I have an interface prior to this bulk insert interface to check whether the file is completely available(i.e i try to open the file and check whether its used by any other process).
I'm supposed to give an answer for why it fails sometimes. Your thoughts on this?
RajkumarThe Bulk insert task is used in SSIS package. The error Posted in my first post is what I got from SSIS..
Why don't you use Data Flow task? BULK INSERT is fast, but not much error control.
BOL quote ( http://msdn.microsoft.com/en-us/library/ms141679.aspx ) : "Error Handling in Data
When a data flow component applies a transformation to column data, extracts data from sources, or loads data into destinations, errors can occur. Errors frequently occur because of unexpected data values. For example, a data conversion fails because a column
contains a string instead of a number, an insertion into a database column fails because the data is a date and the column has a numeric data type, or an expression fails to evaluate because a column value is zero, resulting in a mathematical operation that
is not valid.
Errors typically fall into one the following categories:
Data conversion errors, which occur if a conversion results in loss of significant digits, the loss of insignificant digits, and the truncation of strings. Data conversion errors also occur if the requested conversion is not supported.
Expression evaluation errors, which occur if expressions that are evaluated at run time perform invalid operations or become syntactically incorrect because of missing or incorrect data values.
Lookup errors, which occur if a lookup operation fails to locate a match in the lookup table.
Many data flow components support error outputs, which let you control how the component handles row-level errors in both incoming and outgoing data. You specify how the component behaves when truncation or an error occurs by setting options on individual
columns in the input or output. For example, you can specify that the component should fail if customer name data is truncated, but ignore errors on another column that contains less important data."
http://msdn.microsoft.com/en-us/library/ms141679.aspx
Kalman Toth SQL SERVER & BI TRAINING -
Import-SPMetadataWebServicePartitionData : Bulk load: An unexpected end of file
hello all, i was importing term sets from farm to farm using powershell, i used the export and i got a file and on the import i got this message:
This is the command I wrote:
PS C:\Users\DaniR> Import-SPMetadataWebServicePartitionData -identity "3194
6ea-40a9-4d94-8443-92e71c6a9ad3" -serviceproxy "Managed Metadata Service" -path "c:\TermSets.bak" -overwriteexisting
I got this error :
Import-SPMetadataWebServicePartitionData : Bulk load: An unexpected end of file the data file.
The OLE DB provider "BULK" for linked server "(null)" reported an error. The povider did not give any information about the error.
any help will be good. thanks.We had the same issue. So we unzipped the cab file and had a look.
It turned out that ECMTermDescription.dat had an entry that was long in fact it went over 3 lines at had some line breaks in it as well.
We removed most of the text and tried again and it worked! Thank you Sharepoint!
something like this:
0C37852B-34D0-418E-91C6-XXXXXXXXXXXX 35622
1033 Description asfsa safsf
0C37852B-34D0-418E-91C6-XXXXXXXXXXXX 40428
1033 was importing term sets from farm to farm using powershell,
i used the export and i got a file and on the import i got this message fasdfas fasfsf
asfasfsa f asdfasdfasfs asfasfsa fsafsa fsafas flkjsfl;kj la;skfd;a sjfsalkjfasl;kjf slkajfk j asfsfsaf'
asfasf asfs ' asdfas asdf safas' asfsaf asfsaf asfasdfsaf asfas' fasfasdf asdfasfsaf dlkjoi o ipoji jiojjjiji ijijijnkjnk jhkjhkhjh iuhiooiuoiu
oiouo ugyuyguyg uygugiuhiuhih iuhihuiuhf -
Major problem with Photoshop unexpected end of file...
Every time I save a file in Photoshop, I have to save it twice per format (psd, jpg, etc...). That's because if I've ever saved the file before, I get an unexpected end of file error and the file disappears until I do a save as. I downloaded the latest update today and it claimed to have fixed major errors with Photoshop. I wonder what major errors exactly were fixed; and why not this one? As far as errors go, it's pretty effing major. It adds significant time to all of my projects and frankly, if I'm spending exorbitant amounts of money for "industry-leading" software, I expect to be able to save my work painlessly. Oh well, I guess it'll only be another couple months before I have to shell out another $1200 bucks for the CS6 right? Maybe then I'll be able to actually save my work.
p.s. CS2/3/4 did not have this issue - sweet upgrade Adobe, thanks.Again, this is not a known issue. You are the first person to bring this up without a bad disk drive, and it is probably due to something on your file server.
Yes, other people get the same error message - because they are dealing with corrupt files for one reason or another. You are getting the message because the files are corrupt, probably because of an issue with your file server.
Photoshop CS4 and earlier used the Carbon framework on MacOS. Photoshop CS5 is written to the Cocoa framework/APIs and uses different OS code paths for many things. We have seen many cases where the Cocoa APIs had problems that the Carbon APIs did not. Unfortunately, if we cannot work around those API issues, then they are up to Apple to fix.
But in this case, I doubt it is an OS API bug as such. I suspect it is a change in the way the OS APIs interact with the file server.
And cases like this are high up on the list of why we say NOT to open or save from a file server -- you can get a lot of odd, difficult to diagnose errors because of problems on the server or network. Those problems have nothing to do with the application, but may appear to because of the complexity of file servers and networking.
Some Photoshop users do open and save off a file server all the time - without problems. When we test with file servers here inside Adobe, we rarely have problems (and the rare problem was due to a bad disk on the server). But we can't guarantee that everyone's network and everyone's file server is going to work perfectly - and evidence suggests that many of them don't work perfectly.
In short: you probably have a bad file server. It is highly unlikely that this is a bug in Photoshop. -
9300i - unexpected end of file
Hi
My new Nokia 9300i comes up with the message "System - unexpected end of file" when doing some control panel functions (mainly wap and email access). If I remove the battery it goes away but then a day or two later will randomly come back. Any clues?System.getProperties().put("proxySet", "true");You'll have to show what else you get from the server, but the above line does nothing.
-
How can i download many file from server one times.
Hi,
I want to create the service to download multi-files from web server one time
from browser. It seems no way to do it. My soulition is compressing the files
to zip before download it. The problem is that when the user uncompresses the
files,full path of downloaded files are setted. Look like this:
/usr/tmp/test/file1
/usr/tmp/test/file2
/usr/tmp/test/file3
My question is :
1. Is there any way not to specify the full path of a file when
add the file to zip.
Here is the source
BufferedInputStream bis
= new BufferedInputStream(
new FileInputStream( file ) );
//if not full path . can is works?????
ZipEntry target = new ZipEntry( file.getPath() );
// zos is ZipOutputStream
zos.putNextEntry( target );
int c;
while( ( c = bis.read() ) != EOF ) {
zos.write( (byte)c );
2. Is there any way to get and change the current work directory of my server ?
Please help!!If i use file.getName(). I will lost the struct of path.
I means that,if i compress the list of files:
/usr/tmp/test1/file1
/usr/tmp/test1/file2
/usr/tmp/test2/file3
can i keep the part of path's strcut. (usr/tmp/../.. etc.)
I tried to do as this:
target = new ZipEntry( file.getPath.substring(1));
an error be reported when uncompressed the zip file.
error message:
warning [zt000002.zip]: extra 28 bytes at beginning or within Zip file (attempting to process anyway)
Error in file #1: bad Zip file offset (Error local header signature not found): 0
(attempting to re-compensate)
Extracting 20030109.xls
Error: unexpected end of file encountered
Error: invalid compressed data to inflate
Why? can i set "any" entry name?? -
Unexpected end of file has occurred. The following elements are not closed
My installation of UPK has decided to stop working with the following error;
Unexpected end of file has occurred. The following elements are not closed: Storage. Line 3, position 1.
We've uninstalled and reinstalled the application and have the same error.
Any insight into this error is apprectiated.
AVerify from Compatibility between Office 365 MP and Management Server because this issue related to error in MP that you imported. And i think you use below link which is compatible with Management server 2007 R2 cu4 not SCOM 2012 R2
http://www.systemcentercentral.com/scom-monitoring-office-365/
Also you can refer to below link
http://thoughtsonopsmgr.blogspot.com/2011/09/scom-and-office-365.html
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer". -
Hi Experts,
I have a requirement in my application, that list out the files from the server in table and also delete the file. Pls specify the code.
Regards,
Kiruba.RHi
List all the files from server
public void listServerFiles( )
//@@begin listServerFiles()
wdContext.nodeFiles().invalidate();
IPrivateExperimentView.IFilesElement element;
java.io.File file = new java.io.File( "D:\\Test");
File list[] = file.listFiles();
for( int i = 0; i < list.length; i++)
element = wdContext.createFilesElement();
element.setFileName( list[ i].getName());
wdContext.nodeFiles().addElement( element);
//@@end
Display the selected file
public void onActiondownload(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActiondownload(ServerEvent)
IWDResource resource;
String name = wdContext.currentFilesElement().getFileName();
String path = "D:\\Test\\" + name;
InputStream stream;
try {
stream = new FileInputStream(path);
resource = WDResourceFactory.createResource( stream, name,
WDWebResourceType.UNKNOWN, true);
stream.close();
wdComponentAPI.getWindowManager()
.createNonModalExternalWindow( resource.getUrl( 0), name).show();
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
Delete the selected file
public void onActiondeleteFile(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActiondeleteFile(ServerEvent)
String path = "D:\\Test\\" + wdContext.currentFilesElement().getFileName();
File file = new File( path);
file.delete();
listServerFiles();
//@@end
vinod -
Not able to read the wsdl file from server Premature EOF encounter
Hi All,
I am facing issue while accessing a web Service from server. Here is the clear view about it.
I created a simple SyncBpel process in a composite and deployed in to the server and it is working fine. Later i created a new Asyn bpel process in a composite and in the external reference i dragged a web Service and imported the wsdl url from server of the SyncBpel and wired the Asynbpel process to webserive .
Now here i am facing peculiar behavior which i am not able to trace it out.
1) For the first time when i import the url of syncBpel from the server i am not facing any error and it is working fine as expected but when i close the Jdeveloper and open it i am not able to user the web Service and it is saying as "Not able to read the wsdl file from server Premature EOF encounter"
2)When i close and open the Jdeveloper i can see the url of the wsdl which imported in webserver is changing from http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL to http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/BPELsync.wsdl
3)when I open and see the url http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL I can see the soap address as *<soap:address location="http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel!1.0*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c/bpelsync_client_ep"/>*
I don’t understand why the soap end contains “*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c” and this kind of url for soap address is coming to all the bpel process which I am deploying in the server.
I checked the in Jdeveloper where webproxy is uncheck and the server is also up but still I am facing issue of reading the error.
Can someone please help in resolving the issue.
I am using SOA 11g 11.1.1.5 and Jdeveloper 11.1.1.5
Many thanks.
Tarak
Edited by: user11896572 on Jan 17, 2012 5:22 PMHi,
Setting default from the jdeveloper -
During composite deployment from Jdeveloper (wizard driven), you will be given an option to choose the version of the composite and there will also be an option for you to choose if the composite needs to be deployed as default.
Setting default from the em console -
After deploying a composite, login to the em console and click on the composite that you want to set as default, and you will find a tab - "Set as Default". please note that this tab will not be seen, if the composite is already set as default.
Refer -
http://docs.oracle.com/cd/E12839_01/integration.1111/e10226/soacompapp_mang.htm
8.2 Managing the State of Deployed SOA Composite Applications
Thanks -
Error while reading a file from server
Mine is 9i database and 11.5.10.2 oracle apps server
I am trying to read PDF file from server, I used the below code
l_bfile:=bfilename('\u05\app\applmgr\11i\oraclecomn\admin\out\jamuna_server','o7742576.out');
if DBMS_LOB.FILEEXISTS(l_bfile) = 1 then
dbms_output.put_line( 'Exists!');
dbms_output.put_line(dbms_lob.getlength(l_bfile));
else
dbms_output.put_line( 'Not Exists!');
end if;
i used forward slashes (/) instead of backward slashes (\) too and i also made dbms_output.put_line(to_char(dbms_lob.getlength(l_bfile)));
while using dbms_log package , i got the below error .I am bit worried since I have created directory and gave sufficicent priviliges too.
Error report:
ORA-00604: error occurred at recursive SQL level 1
ORA-01460: unimplemented or unreasonable conversion requested
ORA-06512: at "SYS.DBMS_LOB", line 485
ORA-06512: at line 24
I am sure bfilename('\u05\app\applmgr\11i\oraclecomn\admin\out\jamuna_server','o7742576.out') is give BFILE which is empty.
Can you please suggest me what I can do to move further? what kind of priviliges it requires to point and read the file from server?
Please help me in this.
Thanks in advanceI suspect you are not using a directory object is the problem.
Here is the formal description of bfilename
http://download.oracle.com/docs/cd/B10501_01/server.920/a96540/functions12a.htm#SQLRF00610
Sybrand Bakker
Senior Oracle DBA
Maybe you are looking for
-
Install Adobe Photoshop Elements 11 to a new computer error
I installed Adobe Photoshop Elements 11 in my computer before. Right now I'm not using that computer anymore and want to re-install the software to a new computer. I still have the redemption code but when I entered it, the software said it was redee
-
Urgent :Deploying ADF Project
Dear All : i am deploying my project into stand alone weblogic server 10.3.2.0 and i user jdevloper 11 , i face the following problem while i am tring to tun it : unresolve application library referance , define in weblogic-application.xml [extenstio
-
Hi Friends, I have a small doubt in TC: OKKP is that in OKKP under Other Indicators there is a filed like All Currencies. Earlier it was deactivated. Now we need to activate "All Currencies" filed but it was in grey. How to activate that field? Thank
-
How get LR5 from desktop to laptop with no disc drive
How can I get my LR5 loaded on my iMac copied to my MacBook Pro which has no disc drive?
-
Where can i download a trial version of old flex 1.5 ?