Exception when unshelve certain shelvesets
We have been using VSO for more than a year without any problems. Since last Friday, we notice 2 things (so far) that has changed.
1) VersionControlServer.ServerItemExists method seems to throw exception, when a path could not be resolved to a specific TFS project. $/KnownProject/UnknowFile returns false, but $/UnknownProject/UnknownFile throws IllegalServerItemException. It did not before
and returned false.This broke our tools, but we could fix this easily,
2) We have an in-house build server with many workers that build our solutions. Since last Friday, the workers are unable to unshelve certain shelvesets, I could not find any pattern in the shelvesets that fail to unshelve.
The exception we saw in the log files is
Data is Null. This method or property cannot be called on Null values. ----> Microsoft.TeamFoundation.VersionControl.Client.VersionControlException: Data is Null. This method or property cannot be called on Null values. ----> System.Web.Services.Protocols.SoapException:
Data is Null. This method or property cannot be called on Null values.
--- End of inner ExceptionDetail stack trace ---
at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.HandleReply(TfsClientOperation operation, TfsMessage message, Object[]& outputs)
at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)
at Microsoft.TeamFoundation.VersionControl.Client.Repository5.Unshelve(String ...).
I tried recreating the shelvesets from scratch, refresh workspaces, force get files, and also disabling TFS proxy. Nothing seems to make a difference.
I already created a connect
ticket and in the process of getting a technical support incident for this, but it's taking too long. This issue is blocking our developers, any help/advice/suggestion would be much appreciated.
It turned out to be a bug in the patch that rolled out last week. Created a support incident, a fix was rolled out yesterday. Confirmed this issue is now fixed.
S_G
Similar Messages
-
Exception when retreiveing list from JNDI when the list updates at the same time.
Hi
I get a Exception when i am retreiving a list from the jndi:
Start server side stack trace:
com.sun.java.util.collections.ConcurrentModificationException
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(Compiled Code)
at
com.sun.java.util.collections.ConcurrentModificationException.<init>(Concurr
entModificationException.java:48)
at com.sun.java.util.collections.HashMap$HashIterator.next(Compiled
Code)
at
weblogic.jndi.toolkit.ReadOnlyMapBasedNamingStore$1.nextElement(Compiled
Code)
at weblogic.jndi.toolkit.AbstractNamingEnumeration.next(Compiled
Code)
at
weblogic.jndi.toolkit.AbstractNamingEnumeration.nextElement(Compiled Code)
at
weblogic.utils.enumerations.BatchingEnumerationBase.nextBatch(Compiled Code)
at
weblogic.utils.enumerations.BatchingEnumerationBase_WLSkel.invoke(BatchingEn
umerationBase_WLSkel.java:66)
at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(Compiled
Code)
at
weblogic.rmi.extensions.BasicRequestHandler.handleRequest(Compiled Code)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:1
5)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
End server side stack trace
It says in the documentation of the weblogic server that: if the jndi is
updated while you are retreiving the list from the server, you will only get
the old list.
And that is ok for me. But insted i get this exception that interupts the
list retreiving. And if i just catch this exception an just continue or
start again, it comes over and over.
the code that does this, is like this:
InitialContext context = new InitialContext(env);
NamingEnumeration list = context.listBindings("sid");
Vector copy = new Vector(10000,1000);
log("Initiating copy of JNDI list!");
try
while (list.hasMore())
copy.addElement(list.next());
catch (Exception e)
log("Copying interupted:" + e.toString());
How can i solve this ?
Is it a configuration of the server problem ?
Are ther other ways of retreiving the list ?
-Ståle TomtenBe carefull - you read Object two times, so if you
have only one object you will get null after second
reading, and NullPointerException as a result if you
try to do smth with null.
Wrong:
while( inputFromServlet1.readObject() != null)
Object o = inputFromServlet1.readObject();Previous man example is also wrong because you
cannot declare anything in while
Sorry for this one... I certainly must have spent too much time on these fora ;-)
Thanks for the correction, by the way...
Correct:
Object o;
while( (o = inputFromServlet1.readObject()) != null)
String str = (String)o;
System.out.println("Got Object"); -
Runtime exception when processing target-fieldmapping
Hi guys,
Mine is a scenario from ECC to MDM. I have to trigger INFORECMASS Idoc through Transaction ME18. It's working fine and I am able to see the correct output in the appropriate folder in MDM.
I gotta new requirement. Now it's triggering one Idoc for one record and we want an xml for about say 1000 records or may be even 1500 records. Using Transaction MDM_CLNT_EXTR we trigger an Idoc that has many segments, mainly over a range, and then I get the following error in SXMB_MONI
Runtime exception occurred during application mapping com/sap/xi/tf/_MM_INFRECMASS_ECC_to_MDM_; com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception when processing target-fieldmapping /ns0:MT_INFRECMASS_Receiver/INFREC_Receiv~<
This is the error that I get. The strange thing is that even now when I trigger using ME18, I am getting the correct output. Why am I getting this error when I trigger the other way around ?
Regards
Harish BabuHi Baskar,
I changed the mapping. I removed the ABS function. It's still throwing the same error. Now when I copy the payload from SXMB_MONI and test in Mapping in ESR, it's working fine. But the same source file throws error in SXMB_MONI. The xml that works in Test tab should certainly work in SXMB_MONI also, shouldn't it?
So I guess it is a different error.
Runtime exception occurred during application mapping com/sap/xi/tf/_MM_INFRECMASS_ECC_to_MDM_; com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception when processing target-fieldmapping /ns0:MT_INFRECMASS_Receiver/INFREC_Receiver
I must add that the INFREC_Receiver is the root node of the target file and I have kept it 0..unbounded and fields 0...1. But the source has many segements of the Idoc, so should I change them ?
Harish Babu -
Null Pointer Exception when working with editable tables
We are using editable tables in various places in forms that are embedded in views in our application.
A few weeks ago we have discovered that we receive an exception when first clicking into an editable cell (see below). I can't exactly pinpoint when this started happening (might have been when updating from Luna SR1 to Luna SR2 but I am not sure) but I am certain that we didn't used to have this issue in the beginning.
Is this something, others are also experiencing? Is this an issue of forms that use DISPLAY_HINT_VIEW (we don't have any editable tables in popup forms)?
!ENTRY org.eclipse.ui 4 0 2015-06-10 12:14:13.423
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at org.eclipse.jface.viewers.ColumnViewerEditor.activateCellEditor(ColumnViewerEditor.java:216)
at org.eclipse.jface.viewers.ColumnViewerEditor.handleEditorActivationEvent(ColumnViewerEditor.java:452)
at org.eclipse.jface.viewers.ColumnViewer.triggerEditorActivationEvent(ColumnViewer.java:675)
at org.eclipse.scout.rt.ui.swt.basic.table.SwtScoutTable$P_TableViewerEx.triggerEditorActivationEvent(SwtScoutTable.java:1019)
at org.eclipse.jface.viewers.ColumnViewer.handleMouseDown(ColumnViewer.java:650)
at org.eclipse.jface.viewers.ColumnViewer.access$0(ColumnViewer.java:646)
at org.eclipse.jface.viewers.ColumnViewer$1.mouseDown(ColumnViewer.java:95)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:192)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at ch.sbb.cisi.angebot.scout.client.ui.swt.application.Application.startSecure(Application.java:45)
at ch.sbb.cisi.angebot.scout.client.ui.swt.application.Application$1.run(Application.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at ch.sbb.cisi.angebot.scout.client.ui.swt.application.Application.start(Application.java:34)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)I experienced the same issue with editable boolean cells.
Left mouse click events produce the mentioned Exception, which causes the mouse down event to be lost. The mouse up event is still fired though, thereby it's possible that the value of another cell in the same row is updated as the contextColum, which is set by the mouse down event, hasn't been updated.
Right mouse click events work as expected. -
Dear Experts,
i am getting the below error when i was giving * (Star) to view all the items in DB
[Microsoft][SQL Server Native Client 11.0][SQL Server]The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator. 'Items' (OITM) (OITM)
As i was searching individually it is working fine
can any one help me how to find this..
Regards,
Meghanath.SDear Nithi Anandham,
i am not having any query while finding all the items in item master data i am giving find mode and in item code i was trying to type *(Star) and enter while typing enter the above issue i was facing..
Regards,
Meghanath -
hi Experts,
while running SQL Query i am getting an error as
The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator. for the query
select T1. Dscription,T1.docEntry,T1.Quantity,T1.Price ,
T2.LineText
from OQUT T0 INNER JOIN QUT1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN
QUT10 T2 ON T1.DocEntry = T2.DocEntry where T1.DocEntry='590'
group by T1. Dscription,T1.docEntry,T1.Quantity,T1.Price
,T2.LineText
how to resolve the issueDear Meghanath,
Please use the following query, Hope your purpose will serve.
select T1. Dscription,T1.docEntry,T1.Quantity,T1.Price ,
CAST(T2.LineText as nvarchar (MAX))[LineText]
from OQUT T0 INNER JOIN QUT1 T1 ON T0.DocEntry = T1.DocEntry LEFT OUTER JOIN
QUT10 T2 ON T1.DocEntry = T2.DocEntry --where T1.DocEntry='590'
group by T1. Dscription,T1.docEntry,T1.Quantity,T1.Price
,CAST(T2.LineText as nvarchar (MAX))
Regards,
Amit -
Need help. I am running a 27 in imac with 16 gigs of ram. Photoshop runs really fast, except when opening files. It takes 5-10 minutes to open even a small file of 1 meg. I cleaned and validated all the fonts and removed all questionable fonts. Reset preferences and still have problem. Slow to open and in force quit "Photoshop not responding" At this point should I uninstall and start over.
What are the performance Preferences?
-
WPF report viewer throws exception when print button clicked when hosted on winform
When hosted in a winform app the wpf report viewer control throws an exception when the print button is clicked.
All the other buttons appear to work, any ideas on a work round?
I have created a sample VS 2013 solution that shows this issue
As I can't even attach a renamed zip file it can be downloaded directly from here: http://1drv.ms/QxUrZo
The reason I am attempting to use this control is that the standard reportviewer causes occasional errors in citrix enviroments causing the citrix session to lock up. This appears to be a relatively common issue and the usual issue of both sides (citrix & crystal) blaming the other for the cause and me the developer needs to find a work round.
I've 'bodged' in an additional button on our app to export a loaded report to file as pdf then print it but this should not be the permanent resolution.
BTW glad to see the x64 dynamic parameter issue has been fixed at last, think I reported this over two years ago and again ended up having to work round it.Hi Ludek
A sample project that loads a simple report is available from here: http://1drv.ms/QxUrZo
The project is called WPFReportHost
This loads a simple report when run then you can test the basic functionality of the viewer and all will work until you press the print button and then you get the application crash.
Have to improve my search technique when I googled for other people having this issue I didnt' find the link.
We've noticed the WPF viewer loads considerably faster and has better functionality than the winform viewer and hope that it might solve the citrix preview issue (yet to be tested).
So as a work round we've hidden the default print button added our own and call the report print directly as per below:
using (PrintDialog dialog = new PrintDialog())
dialog.AllowCurrentPage = true;
dialog.AllowSelection = true;
dialog.AllowSomePages = true;
dialog.AllowPrintToFile = true;
if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK) {
reportDocument.PrintToPrinter(
dialog.PrinterSettings,
new System.Drawing.Printing.PageSettings(dialog.PrinterSettings);
false);
Would be nice to have a fix -
NO_PERMISSION Exception when calling secured EJB-methods
In WL6.1, I have an Ejb with secured methods. The (Swing) client application accesses the Ejb through rmi-iiop using the JDK1.3.1 Orb.
Unfortunately, it seems that the caller identity (which was supplied in the InitialContext lookup) is not propagated
to the server: any call to a secured method
fails with a CORBA NO_PERMISSION Exception.
Non secured methods work fine.
Using the t3 protocol the program also works fine, but that would require
the 25Mb weblogic.jar on all clients,
which is unattainable for us.
Any ideas how this situation can be corrected?
-Allard SiemelinkI am still getting the NO_PERMISSION Exception when using "weblogic.jndi.WLInitialContextFactory".
We use Sun's JRE, version 1.3.1_01.
Am I forgetting something?
My code is as follows:
InitialContext context = null;
try {
Hashtable ht = new Hashtable();
ht.put(InitialContext.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
ht.put(InitialContext.PROVIDER_URL, "iiop://localhost:80");
ht.put(InitialContext.SECURITY_PRINCIPAL, "system");
ht.put(InitialContext.SECURITY_CREDENTIALS, "system_password");
context = new InitialContext(ht);
Object objHome = context.lookup(EJB_NAME);
MyHome myHome = (MyHome)PortableRemoteObject.narrow(objHome, MyHome.class);
MyRemote myRemote = myHome.create();
//NEXT LINE Crashes when method is secured:
myRemote.securedMethod();
finally {
if (context!=null) context.close();
Andy Piper <[email protected]> wrote:
Allard Siemelink <[email protected]> writes:
In WL6.1, I have an Ejb with secured methods. The (Swing) client applicationaccesses the Ejb through rmi-iiop using the JDK1.3.1 Orb.
Unfortunately, it seems that the caller identity (which was suppliedin the InitialContext lookup) is not propagated
to the server: any call to a secured method
fails with a CORBA NO_PERMISSION Exception.Make sure you are using WLInitialContextFactory and not
CNCtxFactory. Only the former will give you security.
andy -
How to catch exception when have max connection pool
hi,
i have define in oracle user that i could have max 10 sessions at the same time.
I have jdbc datasource & connection pool defined at glassfish server(JSF application).
now, if in application is too many queries to the database then i have error: nullpointer exception - becouse when i try to do:
con = Database.createConnection(); - it generates nullpointer exception becouse there isn't free connection pool
i try to catch exception like this:
public List getrep_dws_wnioski_wstrzymane_graph() { int i = 0; try { con = Database.createConnection(); ps = (Statement) con.createStatement(); rs = ps.executeQuery("select data, klasa, ile_dni_wstrzymana, ile_wnioskow from stg1230.dwsww_wstrzymane_dws8 order by data, klasa, ile_dni_wstrzymana, ile_wnioskow"); while(rs.next()){ rep_dws_wnioski_wstrzymane_graph.add(i,new get_rep_dws_wnioski_wstrzymane_graph(rs.getString(1),rs.getString(2),rs.getString(3),rs.getString(4))); i++; } } catch (NamingException e) { e.printStackTrace(); } catch (SQLException e) { e.printStackTrace(); } catch (NullPointerException e) { e.printStackTrace(); throw new NoConnectionException(); // catch null 1 } finally { try { con.close(); } catch (SQLException e) { e.printStackTrace(); } catch (NullPointerException e) { e.printStackTrace(); throw new NoConnectionException(); // catch null 2 } } return rep_dws_wnioski_wstrzymane_graph; }
but at line:
con.close();
i have nullpointerexception
and
at line
throw new NoConnectionException(); // catch null 2
i have: caused by exception.NoConnectionException
what's wrong with my exception class? how to resolve it?
public class NoConnectionException extends RuntimeException{ public NoConnectionException(String msg, Throwable cause){ super(msg, cause); } public NoConnectionException(){ super(); } }
at web.xml i have defined:
<error-page> <exception-type>exception.NoConnectionException</exception-type> <location>/NoConnectionExceptionPage.jsp</location> </error-page>thanks,
i did it and i have error:
java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: ORA-02391: exceeded simultaneous SESSIONS_PER_USER limit
at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:115)
at logic.Database.createConnection(Database.java:37): conn = ds.getConnection();
public class Database {
public static Connection createConnection() throws NamingException,
SQLException {
Connection conn = null;
try{
Context ctx = new InitialContext();
if (ctx == null) {
throw new NamingException("No initial context");
DataSource ds = (DataSource) ctx.lookup("jdbc/OracleReports");
if (ds == null) {
throw new NamingException("No data source");
conn = ds.getConnection(); // here's exception when max connections to database
if (conn == null) {
throw new SQLException("No database connection");
} catch (NamingException e) {
e.printStackTrace();
throw new NoConnectionException();
} catch (SQLException e) {
e.printStackTrace();
throw new NoConnectionException();
catch (NullPointerException e) {
e.printStackTrace();
throw new NoConnectionException(); // obsluga bledy na wypadek jesli braknie wolnych polaczen do bazy
return conn;
}and at my ealier code i have error:
at logic.GetDataOracle.getrep_dws_wnioski_wstrzymane_graph(GetDataOracle.java:192)
at line: con = Database.createConnection();
in code:
public List getrep_dws_wnioski_wstrzymane_graph() {
int i = 0;
try {
con = Database.createConnection();
ps = (Statement) con.createStatement();
rs = ps.executeQuery("select data, klasa, ile_dni_wstrzymana, ile_wnioskow from stg1230.dwsww_wstrzymane_dws8 order by data, klasa, ile_dni_wstrzymana, ile_wnioskow");
while(rs.next()){
rep_dws_wnioski_wstrzymane_graph.add(i,new get_rep_dws_wnioski_wstrzymane_graph(rs.getString(1),rs.getString(2),rs.getString(3),rs.getString(4)));
i++;
} catch (NamingException e) {
e.printStackTrace();
} catch (SQLException e) {
e.printStackTrace();
} catch (NullPointerException e) {
e.printStackTrace();
throw new NoConnectionException();
} finally {
try {
if(con != null)
con.close();
} catch (SQLException e) {
e.printStackTrace();
} catch (NullPointerException e) {
e.printStackTrace();
throw new NoConnectionException();
return rep_dws_wnioski_wstrzymane_graph;
}so what's wrong?
i have limit max sessions 10 at oracle so i set at my connection pool 5 connections as max. But when i get max 5 sesssins and try to execute next query then i can't catch exception.. -
i just recently upgraded my itouch from 4.1 to ios 5, and updated to itunes 10.5. but when i synced my music files,ebooks and other apps, all is working except when im trying to sync my video files. it says, canot be synced as cannot be played on this ipod. but those are the same files that i have when i was using the old 4.1 version and its syncing just fine.. the itunes advanced tab "create iphone or ipod version" is not working either so i cant convert it to be xferred and synced. what can i do to have my video files synced?
i had the same problem but i just got a new video converter and made it convert videos to ipod/iphone format and then put them into itunes. i would suggest GOM encoder as the encoder can convert them and then once they're finished converting, put them automatically into your itunes for you. from there you can just sync them to your ipod.
-
I have a iMac, Yosemite 10.10 and my toshiba external hard drive is not being recognized, except when I eject it!. I have the preferences checked to show icons and have looked in the utilities folder..nothing. I have also changed ports. ??
A few things to try:
1-Repair permissions and restart your computer.
2-Zap the PRAM
3-Use Software Update/App Store to update your OS to OS 10.10.3. Also, update everything SU/AS has to offer for your computer. When done, repair permissions and restart your computer. -
Class not found exception when launching opencounterslogger.bat
PORTAL_HOME=D:\bea\alui\ptportal\10.3.0
Expected PORTAL_HOME=D:\bea\alui\ptportal\10.3.0
claspath is D:\bea\alui\ptportal\10.3.0\lib\java\jakarta-oro-2.0.7.jar;D:\bea\alui\ptportal\10.3.0\lib\java\openfoundation.jar;D:\bea\alui\ptportal\10.3.0\lib\java\openlog-framework.jar;D:\bea\alui\ptportal\10.3.0\lib\java\openconfig.jar;D:\bea\alui\ptportal\10.3.0\lib\java\openkernel.jar;D:\bea\alui\ptportal\1
0.3.0\lib\java\pmb.jar;D:\bea\alui\ptportal\10.3.0\lib\java\opencounters.jar
Exception in thread "Main Thread" java.lang.NoClassDefFoundError: com/plumtree/openkernel/impl/counters/adaptor/logger/PTRemoteCounterLoggerMain
Press any key to continue . . .
The class PTRemoteCounterLoggerMain is not in any of the jars in the classpath. Also opencountersconsole.bat is not to be seen is the installationHi Mark,
I have seen your two posts and there are something you need to notice:
Where the ClassNotFound exception you got? From deployment tool or
application server kjs process?
Of course, you need not to add supporting classes to each ejb jars or ears.
1. If you use deployment tool to package your application, I'm sure you'll
fail to resovle your classes without supporting classes added to jars.
Please select Edit->Preference,in Classpath entry, enter the supporting
classes(packaged to jar files) location. This should work.
2. After deploy to ias, please edit the registry using kregedit which you
described in your posts.
Regards,
Johnson
"Mark Priest" <[email protected]> wrote in message
news:9s6h33$[email protected]..
When I deploy EJBs to the iPlanet app server I find that I need to include
all supporting classes in each ejb jar file. According to the
Administrator's manual I should be able to modify the kjs classpath bydoing
the following:
On Windows
a.. Open iPlanet Registry Editor.
(See About iPlanet Registry Editor)
b.. Open the following key:
SOFTWARE\iPlanet\Application Server\6.0\Java\
c.. Modify the class path and restart the server for the change to take
effect.
However, when I add my supporting classes to a jar in this directory Istill
get a class not found exception when I run the deployment tool.
Adding the classes to each EJB jar is redundant and introduces lots of
problems. How should I configure iPlanet so I only need to put my
supporting classes in one place?
Thanks,
Mark -
Preview crashes consistently when opening certain PDFs
Preview crashes consistently when opening certain PDFs. I have Adobe Acrobat Professional and it is able to read the PDFs. Preview declares that "Couldn’t open the file. It may be corrupt or a file format that Preview doesn’t recognize." and crashes. It is less than graceful. I also have noticed that every time it crashes, I lose 40MB of disk space.
Other than individually marking "bad" files as acrobat files are there any solutions to this poor behavior by preview.
I also need to know how to recover the disk space. I have no idea where the files are being created. I checked /cores, but no joy.
Powerbook G4 12" 1.5GHz 1.25GB Mac OS X (10.4.3)Hi,
Try deleting the Preview and Sidebar preference files.
Open a Finder window. Select your Home folder in the Sidebar on the left. Now open the Library folder then the Preferences folder.
Move the com.apple.Preview.plist and the com.apple.sidebarlists.plist files from the Preferences folder to the Trash.
See if that makes a difference.
Carolyn -
Exception when trying to acess a jsf application
Im using eclipse 3.3 , tomcat 5.5.2x
index.jsp
========
<html>
<body>
<jsp:forward page="faces/ourJsf/enterAge.jsp" />
</body>
</html>
============
enterAge.jsp
=========
<%@ page contentType="text/html; charset=Cp1252" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Cp1252"/>
<title>Dog's Life</title>
</head>
<body>
<f:view>
<h:form>
<h:outputText value="Enter your age please"/>
<h:inputText value="#{dog.age}" />
<h:commandButton value="Calculate Dog Years" action="#{dog.calcYears}" />
</h:form>
</f:view>
</body>
</html>
=========
faces-config.xml
==========
<?xml version="1.0"?>
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<faces-config>
<managed-bean>
<managed-bean-name>dog</managed-bean-name>
<managed-bean-class>beans.DogBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<navigation-rule>
<from-view-id>/ourJsf/enterAge.jsp</from-view-id>
</navigation-rule>
<navigation-rule>
<from-view-id>/ourJsf/enterAge.jsp</from-view-id>
<navigation-case>
<from-outcome>success</from-outcome>
<to-view-id>/ourJsf/result.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>failure</from-outcome>
<to-view-id>/ourJsf/error.jsp</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>
================
a portion of my web.xml
=============
<!-- Extensions Filter -->
<filter>
<filter-name>extensionsFilter</filter-name>
<filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
<init-param>
<param-name>uploadMaxFileSize</param-name>
<param-value>100m</param-value>
<description>Set the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
</description>
</init-param>
<init-param>
<param-name>uploadThresholdSize</param-name>
<param-value>100k</param-value>
<description>Set the threshold size - files
below this limit are stored in memory, files above
this limit are stored on disk.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
</description>
</init-param>
<!-- <init-param>
<param-name>uploadRepositoryPath</param-name>
<param-value>/temp</param-value>
<description>Set the path where the intermediary files will be stored.
</description>
</init-param>-->
</filter>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>extensionsFilter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
<!-- Faces Servlet -->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<!-- Faces Servlet Mapping -->
<!-- virtual path mapping -->
<!-- virtual path mapping (uncommented by LG )-->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<!-- extension mapping -->
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<!-- Welcome files -->
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
</web-app>
=============
i'm getting an exception when i call my application :
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:476)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:371)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
javax.servlet.ServletException
javax.faces.webapp.FacesServlet.service(FacesServlet.java:156)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:661)
org.apache.jsp.index_jsp._jspService(index_jsp.java:46)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.NullPointerException
org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreTreeStructure(JspStateManagerImpl.java:240)
org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:283)
org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:255)
org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:141)
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691)
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:661)
org.apache.jsp.index_jsp._jspService(index_jsp.java:46)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.23 logs.
Apache Tomcat/5.5.23
Thank yoiu guys for helping me : this my very first jsf applicationHello,
Like you said it was the problem with url.
The webservice I used is actually running on the local machine (where the NetWeaver developer studio is installed); so in the url I had specified localhost. But I deployed the application on another server(SAP J2EE Engine). That is why it didn't work. On changing the url as required, the application is working fine.
Thanks !
Regards,
Loveline.
Maybe you are looking for
-
Converting Images to CMYK for Print Publication
When in my workflow should I be converting images to CMYK for print publication? Currently, I shoot RAW photographs with my DSLR in Adobe RGB, import the images into Photoshop for manipulation and then convert the final, sized image to CMYK before pl
-
JNDI environment properties for EJB in deployment descriptor
Is it possible to deploy an EJB on weblogic 6.0 such that the EJBHome object is bound using JNDI to a different JNDI server such as ldap server instead of the weblogic server by specifying JNDI env. properties like PROVIDER_URL, INITIAL_CONTEXT_FACTO
-
My wallpaper won't change on Mac Book Pro Retina
I change my wallpaper in system preferences and when I reboot it comes back with the same photo every time....a high resolution one.
-
when i want to set up icloud on my iphone, it tells "can not sign in maximum number of free acounts have been activated on this iphone" what can i do now?!
-
Hi , I am facing an issue when I am performing ldap search. I added some attributes to sunManagedOrganization object class.I modfied the corresponding access manager service. When I don't give the hostname and portnumber - ldapsearch -D "uid=amadmin,