Problems swapping components
Hello,
Im having some problems with my applet.
I have a JTextBox, which I wish to replace with a JComboBox. Now I know that this can be easily done with something like the following code.
dateCombo4.setBounds(searchField4.getBounds());
searchFieldsPanel.remove(searchField4); searchFieldsPanel.add(getDateCombo4()); Now that works fine. But I have created alot of my GUI using Jigloo GUI editor for Eclipse. This means that there are lots of settings on the seachField4 that are not carried across to the dateCombo4
Which means that when I resize my GUI applet, it all goes pear shaped and the dateCombo4 is in the wrong place completly.
Basically im after some way of keeping most of the settings from the searchField4 or transferring them over to the dateCombo4.
Anyone got any ideas.
Sorry if its not explained very well. If you dont quite understand ill attempt to explain better.
Many thanks,
James
I don't know of any way to apply all of the attributes one JComponent to another without explicitly invoking all of the getXXX() and setXXX() methods of the respected components.
Should be easy enough to write a quick method that copies all of the relevant attributes, though.
i.e.
public static void copyAttributes(JComponent oldC, JComponent newC)
Dimension old = oldComponent.getPreferredSize();
newComponent.setPreferredSize(old);
}
Similar Messages
-
Problem removing components not a problem of revalidate
ello everybody i'm trying to make a chart made of buttons in which every button press removes the pressed button, adds a TextField saves the string that was entered and than adding it as a label of a new Button instead of the one removed. the problem with the code is when i a button it removes the last button that was added
from the bottom right corner
import javax.swing.JButton;
import java.awt.GridLayout;
import java.awt.TextField;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import javax.swing.JFrame;
public class SudokoChart{
private JFrame frm;
private JButton btn;
private TextField txt;
private String label = null;
private static final int DIMENSION = 9;
private GridLayout chart;
public class InnerHandler implements ActionListener{
public void actionPerformed(ActionEvent e){
if (e.getSource() instanceof JButton) {
btn = (JButton)e.getSource();
frm.list();
//chart.removeLayoutComponent(btn);
frm.remove(btn);
frm.validate();
txt = new TextField();
frm.add(txt);
frm.pack();
frm.setVisible(true);
txt.addKeyListener(new KeyListener(){
public void keyPressed(KeyEvent e) {
if(e.getKeyChar() == KeyEvent.VK_ENTER){
label = txt.getText();
txt.setText("");
frm.remove(txt);
frm.validate();
btn.setText(label);
frm.add(btn);
frm.validate();
frm.pack();
frm.setVisible(true);
public void keyReleased(KeyEvent arg0) {}
public void keyTyped(KeyEvent arg0) {}
public SudokoChart(){
frm = new JFrame("Sudoko Solver");
chart = new GridLayout(DIMENSION,DIMENSION);
frm.setLayout(chart);
public void launchFrame(){
boolean cont = true;
for(int row = 0; row < DIMENSION; row++){
for(int col = 0; col < DIMENSION; col++){
//compare between the action button point to array button point (not related to
//the code)
btn = new JButton("Push to Enter");
// butpoint[index] = btn;
cont = frm.add(btn).contains(btn.getLocation());
System.out.println(cont);
//butpoint[index].setLocation(btn.getLocation());
// System.out.println(butpoint[index].getLocation());
//System.out.println(btn.getLocation());
//index++;
// butpoint[index] = btn;
//System.out.println(myButton.objCnt);
//frm.add(btn,chart,myButton.objCnt);
frm.pack();
frm.setVisible(true);
btn.addActionListener(new InnerHandler());
public static void main(String args[]){
SudokoChart sc = new SudokoChart();
sc.launchFrame();It's an interesting way to go about this, but I'm not sure that I'd want to do it this way. Anyway, one way to possibly solve this problem is to use a 2D grid of JComponent that holds the JButtons, and then swap out your selected JButton for a JTextField, then remove all the JComponents from the container, and then re-add them using your GridLayout and your 2D array to add the components in the correct order.
Another way to do the same thing is to use a grid of a class that holds a JPanel that uses CardLayout that displays a JButton and on button press swaps this for a JTextField.
There are probably many ways to do what you want, and I'm not saying that either of my suggestions are best.
Edit: by the way, don't mix Swing and AWT components in the same app. Your TextFields should be JTextFields.
Edited by: Encephalopathic on Oct 16, 2009 2:39 PM -
Problem removing components from JLayeredPane
Hi all,
I have a problem showing and hiding components on a JLayeredPane. It goes Something like this:
In my application I have a button. When this button is pressed I use getLayeredPane to get the frames layered pane. I then add a JPanel containing a number of labels and buttons onto that layered pane on the Popup layer. The panel displays and funcitons correctly.
The problem comes when I try to remove the panel from the layered pane. The panel does not dissappear and I am no longer able to click on anything else in the frame!
If anyone has any ideas how to get around this or what the problem might be I'd be very greatful to hear it. Sample code follows:
* Called when the button on the frame is pressed:
* @param e
public void actionPerformed(ActionEvent e)
JLayeredPane mLayredPane = getLayeredPane();
int x = 0, y = 0;
Container c = this;
while (true)
c = c.getParent();
if (c != null)
x += c.getLocation().x;
y += c.getLocation().y;
if (c instanceof JRootPane)
break;
else
break;
mPanel.setBounds(x, y, 235, 200);
mLayredPane.add(mPanel, JLayeredPane.POPUP_LAYER);
//And when a listener fires from the panel I use
mLayredPane.remove(mPanel);
//To remove it from the layered pane and in theory return the
//app to the state it was before the panel was displayedThanks again...The problem is you only removed it within the program, without actually removing it from the display. If that makes any sense, or whether thats your problem at all.
If you are only using this line.
mLayredPane.remove(mPanel);
I think if you tell it to repaint and revalidate it should work, though i have never used LayeredPane.
mLayredPane.repaint();
mLayredPane.revalidate(); -
Screen resolution problem for components in a canvas
Hi,
I am developing a Flex application, and I am using more than
one canvases in a single page(with in application tag).
And one canvas has elements like Chart, datagrid, legent
& a label.
Width & Height I gave to canvas and all its elements
(except legend & label) is in percentages
The problem I am facing is that,
when I change the screen resolution, and
when I press F11(full screen) in IE, the all objects except
legend & label are increasing/decreasing, and in some cases
lagend & label are overlapping in the chart & data grid.
Could anybody please advise what I need to follow to
eliminate these kind of problems.
Thanks in advance.
PavanOoooooh, haha my bad, I didn't realize you were talking about
relative positioning on your app.
Here's what's happening. Your component/application is in
ABSOLUTE layout mode, so you can specify coordinates for where
controls and components should be placed. When the size of the
application changes, these coordinates are hard-coded, and they
will always display in the same place, which can case them to run
into components that have been resized to fit the new application
size. Now fixing those numbers is not easy. In fact, I don't know
of any way to make those numbers dynamic so they adjust when the
application size adjusts.
Instead, I suggest using constraints or Vbox/Hbox rather than
hardcoded coordinates. With constraints, you can specify how far
your Legend component is from the edges of the container it's in.
Or, you can use the VBox or HBox so your component is always in the
place it needs to be.
<mx:HBox width="80%" height="50%" top="10" left="10">
<mx:PieChart id="piechart1">
<mx:series>
<mx:PieSeries displayName="Series 1" field=""/>
</mx:series>
</mx:PieChart>
<mx:Legend dataProvider="{piechart1}"/>
</mx:HBox>
In this example, You can see I set top and left to 10. This
means that my HBox will be exactly 10 pixels from the top and left
side of my application (or container, or whatever it's confined
to). The Piechart and Legend fit neatly inside the HBox, and
because it's an HBox, they will be side by side horizontally.
If you need spacing between your chart and legend, you can
always use the Spacer control under Layout.
<mx:HBox width="80%" height="50%" top="10" left="10">
<mx:PieChart id="piechart1">
<mx:series>
<mx:PieSeries displayName="Series 1" field=""/>
</mx:series>
</mx:PieChart>
<mx:Spacer width="100%"/>
<mx:Legend dataProvider="{piechart1}"/>
</mx:HBox>
As you can see, the Spacer control is separating our chart
and the Legend by a width specified. Always use a percentage here,
as you'll run into problems I talked about in my previous post.
100% means the chart and the Legend will be as far away as they can
be while staying within the Hbox container. If you decreased it to
50%, they would only be half as far away.
Hope this helps.
EDIT:
One last example of a pie chart and a Legend within a canvas.
Each object has constraints to the canvas, which lets us put them
whereever we want within the canvas:
<mx:Canvas x="0" y="0" width="80%">
<mx:PieChart id="piechart1" left="10" top="10">
<mx:series>
<mx:PieSeries displayName="Series 1" field=""/>
</mx:series>
</mx:PieChart>
<mx:Legend dataProvider="{piechart1}" right="10"
bottom="10"/>
</mx:Canvas>
From this example, the chart will always line up to be 10
pixels from the top and left of our canvas. The Legend however,
will always line up to be 10 pixels from the right side and bottom
of our canvas. Adjusting the canvas size, the chart size, or the
legend size will give you the desired distance between these two
objects. -
FB (Burrito) - Swap Components in DesignView
Hi there, I have a pretty basic question but cannot seem to Google the info. Here's a common scenario (for beginners, perhaps more than pros): You start laying out your application - for example - a TabNavigator populated with an HGroup, which is populated with a number of elements. Then you realize: "oh crap, I didn't want HGroup, I wanted Panel".
My question - how do I swap the HGroup for the Panel component (in DesignView) without losing all that HGroup's content? Of course, I can switch to code and manually change the component tag, but if it's so easy to do by hand, it should be equally easy to do in DesignView. Similar to Flash IDE's Swap Symbol.
Ideally it should be a context-click. Obviously you can't swap an HBox for a Button. Right-click the offending component - select Swap Component - choose the new component from a pull-down menu of eligible components.
Anyway, has this feature not been built? Or am I just missing something that ought to be really obvious but just isn't documented very well?
Thanks!
TThis feature doesn't exist. You'd have to do this in code. You can file a feature request for Flash Builder at http://bugs.adobe.com/flex.
Jason San Jose
Software Engineer, Flex Mobile -
Problem locating components by coordinates
Hi all,
I'm converting an asp application to jsp using JDeveloper. On the asp all the components are located by coordinates, which is not the Java model. I can get a reasonable layout for most of the components using the Java model of forms & panels & tables, etc. However, I have a custom slider control which is made up of 5 pieces which need to located by coordinates relative to each other. So, is there an ADF or JSF (or other) container into which I can place these pieces using coordinates relative to the container so I can then place the container into panelGroup or Form, etc. and have the slider control look right?
Thanks very much,
Jim GreethamHi there,
I have a similar experience after upgrading from logic 7.2 to 8.
I now have no AU plus or FX available and the AU Validation program refuses to even run.
I created a new user account and the AU Val program now runs but I have identified that all my NI plugs and my Vienna plug now fail validation. I have contacted NI and VSL about this.
I have also logged a support case with Apple but they are scrathing their heads too.
This was a straight upgrade using all the default settings.
At least Logic 7 still works.
It appears that a new AU validation process is being used as the logic 7 AU VAL program has no problems with any of the plug ins.
Why I've can only run logic 8 with a new user account is also most annoying.
I suggest if you move all your plug ins to another temp folder so that the compnents folder is empty, then create a new user and logic will then run fine. You'll then have to put your plug ins back into the component folder one at a time until the thing falls over.
I suggest you try installing all your plugs minus and NI or VSL ones you have. Also there is a known bug with the TC powercore brickwall limiter - so you need to omit that one for the time being.
Good luck...
Lizardpoint -
Swapping Components with Fade Transition
Hey,
There are many places in my application where I swap one component out for another one. I was trying to achieve a fade transition instead of just having the new component appear. I got it working, but it is very slow. Any ideas of how to get up the FPS?
Whenever I want to transition the content into the container, I create a new SwappableComponent with the two arguments.
Thanks!
private static class SwappableComponent extends JPanel {
private static final float[] scales = { 1f, 1f, 1f, 0.5f };
private static final float[] offsets = new float[4];
private static final int TRANSITION_TIME = 1000;
private final int w, h;
private final JComponent container, content;
private BufferedImage fromImage, toImage, currentImage;
private long start = System.currentTimeMillis();
private boolean finished = false;
public SwappableComponent(JComponent container, JComponent content) {
this.container = container;
this.content = content;
w = container.getWidth();
h = container.getHeight();
if (w == 0 || h == 0) {
finish();
} else {
fromImage = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB);
Graphics g = fromImage.getGraphics();
container.printAll(g);
g.dispose();
toImage = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB);
g = toImage.getGraphics();
Components.setAllSizes(content, w, h);
container.removeAll();
container.add(content);
container.validate();
container.revalidate();
content.printAll(g);
g.dispose();
currentImage = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB);
this.setPreferredSize(new Dimension(w, h));
container.removeAll();
container.add(this);
container.revalidate();
updateCurrentImage(0.0f);
@Override
protected void paintComponent(Graphics g) {
g.drawImage(currentImage, 0, 0, null);
// return true if finished
public boolean tick() {
if (finished) {
return true;
long time = System.currentTimeMillis();
double percent = 1.0 * (time - start) / TRANSITION_TIME;
if (percent >= 1) {
finish();
return true;
updateCurrentImage((float) percent);
repaint();
return false;
private void updateCurrentImage(float p) {
Graphics2D g = (Graphics2D) currentImage.getGraphics();
g.setColor(Color.white);
g.fillRect(0, 0, w, h);
scales[3] = 1 - p;
RescaleOp rop = new RescaleOp(scales, offsets, null);
g.drawImage(fromImage, rop, 0, 0);
scales[3] = p;
rop = new RescaleOp(scales, offsets, null);
g.drawImage(toImage, rop, 0, 0);
g.dispose();
private void finish() {
finished = true;
SwingUtilities.invokeLater(new Runnable() {
public void run() {
container.removeAll();
container.add(content);
container.revalidate();
container.repaint();
}We can't see the behaviour you describe.
If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour. -
[reposted from Java programming forum]
Hi. I have subclassed a JTable, and made it implement Printable. If I have one of these components (with several rows and columns of data), and print it out (using a PrinterJob), it prints out fine 90% of the time.
The other times, some strange things happen. For example, some sections of the table will be missing... or it will cut off at the bottom (even though a footer will print successfully)... or just the right-most portion will print... And it's not that it's only whole table cells that are removed: sometimes the break is in the middle a cell, with the first two and a half characters of the data showing up on the page, for an entire column, etc.
This seems to happen to other subclassed swing components, as well. I'm not totally sure, but it looks like the problem is more likely to happen when there is more data on the component (i.e. more cells in a table). The same thing is happening with a SimpleChart we have subclassed (com.klg.jclass.chart.beans.SimpleChart from JClass); i.e., when there are many points on a graph.
Also, this is not restricted to any particular printer.
Does anyone know why would this happen?
Thanks,
SigurRosHi, I have the same problem, i.e. when printing a large report, sometimes it misses pages, or column dividing lines. If you find any solutions, please post it here. Thanks.
-
(URGENT) Skining problem of components (datagrid & combobox)
Hi,
I m using FLASH CS3, I used Datagrid and Combobox component from components panel, and simply add some data inside in that.
setupComboBox();
function setupComboBox():void
cb.setSize(200, 22);
cb.prompt = "Select a Credit Card";
cb.addItem( { label: "MasterCard", data:1 } );
cb.addItem( { label: "Visa", data:2 } );
cb.addItem( { label: "American Express", data:3 } );
import fl.controls.DataGrid;
import fl.controls.dataGridClasses.DataGridColumn;
import fl.data.DataProvider;
import fl.events.DataGridEvent
var dp:DataProvider = new DataProvider();
dp.addItem({col1:"item 1.A", col2:"item 1.B", col3:"item 1.C"});
dp.addItem({col1:"item 2.A", col2:"item 2.B", col3:"item 2.C"});
dp.addItem({col1:"item 3.A", col2:"item 3.B", col3:"item 3.C"});
dp.addItem({col1:"item 4.A", col2:"item 4.B", col3:"item 4.C"});
myDataGrid.addColumn("col1");
myDataGrid.addColumn("col2");
myDataGrid.addColumn("col3");
myDataGrid.dataProvider = dp;
myDataGrid.setSize(300, 200);
myDataGrid.move(10, 10);
It seems working fine.
My problem is , I want two different type of skining of two different component(DataGrid & Combobox). in the same fla.
.. e.g if datagrid have gray color skin type and combobox have black color skin type.
Can any one have any Idea?Thanks for reply..
@kennethkawamoto2
I already implemented that thing , that u suggest, The Main problem of this component is CellRenderer, what's the solution of it ?
If i apply this
cb.setStyle("upSkin", ComboBox_upSkin2);
cb.setStyle("overSkin", ComboBox_overSkin2);
cb.setStyle("downSkin", ComboBox_downSkin2);
Its change the header of Comobo box pattern, but the rest part e.g cell is remaining the same.
I tried like this also
cb.setStyle("upSkin",CellRenderer_upSkin2)
cb.setStyle("downSkin",CellRenderer_downSkin2)
cb.setStyle("overSkin",CellRenderer_overSkin2)
cb.setStyle("disabledSkin",CellRenderer_disabledSkin2)
cb.setStyle("selectedDisabledSkin",CellRenderer_selectedDisabledSkin2)
cb.setStyle("selectedUpSkin",CellRenderer_selectedUpSkin2)
cb.setStyle("selectedDownSkin",CellRenderer_selectedDownSkin2)
cb.setStyle("selectedOverSkin",CellRenderer_selectedOverSkin2)
but it gives error........
TypeError: Error #2007: Parameter child must be non-null.
at flash.display::DisplayObjectContainer/addChildAt()
at fl.controls::BaseButton/drawBackground()
at fl.controls::LabelButton/draw()
at fl.core::UIComponent/drawNow()
at fl.controls::List/drawList()
at fl.controls::List/draw()
at fl.core::UIComponent/drawNow()
at fl.controls::List/scrollToIndex()
at fl.controls::SelectableList/scrollToSelected()
at fl.controls::ComboBox/open()
at fl.controls::ComboBox/onToggleListVisibility()
When u click on combobox to open it up. The Component Assets of datagrid and combobox are the same so I am not able to apply different skin pattern of this two different component ..
Still is there any way pls let me .. -
Installation problem (swap space)
hello there ,
I have such problem when i am trying to install (oracle 10g release2-forms developer)
that when the installer begins to check the requirements to install the product it give passed for all the requirements except one failed, it's (swap space) ,the installer give me the following message : swap space 744 required 1533 << Fail.
my question is what is swap space? and how can i fix it? can it be cuased by avirus?
and when i am trying to install (release1 oracle 10g form developer) it passed the requirements but after 80% of intallation of the first CD it abort's the installation and give me the message: abnormal event has accourd please support the following files to oracle c:\Program Files\oracle\inventory\out
c:\Program Files\oracle\inventory\log
c:\Program Files\oracle\inventory\install
what is my computer problem? please heeeeeeeeeeeeelp .
thank's for all.It has to do with the virtual memory settings, those can be verified at the system advanced properties. Make sure you have declared enough space, at least the minimum required by the Oracle Universal Installer.
On the other hand, you were prompted for a file where the install log is recorded, please verify the contents of this file, further issues may have to be solved.
~ Madrid -
Hi
I made a sample chat application with following components.
simpleconnect, chat usercolor.
chat component is working, it is sending and receiving
messages.
but when i change color in the usercolor combobox. the color
is not reflected in the chat application.
why , whats the problem.
I could not understand, since one week i am struggling with
it.
if i run the sample_videoconference file it is working
properly, only when i drag new components and make a new
application , my combobox components are not responding, even
setbandwidth combobox is also not respond if at runtime i change
its selection.
i need help very urgently, already i have wasted lot of time.
thanks in advance
regards
avanthikaHi,
I got to know where the code is not executing
in the FCComboBox movieclip :
FComboBoxClass.prototype.fireChange = function()
this.lastSelected = this.getSelectedIndex();
if (!this.editable) {
this.topLabel = this.getSelectedItem();
this.fLabel_mc.drawItem(this.topLabel, true);
} else {
this.value=this.getSelectedItem().label;
this.fLabel_mc.setLabel(this.value);
this.executeCallback();
this.executeCallback() is not called in FlashPlayer 7.
so what i did is instead of above line i have directly called
the
this._parent.doChange() // now each time i change the color
in usercolor combobox it is working correctly.
but the problem is there is one more combo box for
setbandwidth,
for that i have to call doSettings(comboObj);
as these are components, for both the combo boxes the class
file is same.
is there any common code to replace " this.executeCallback();
" , so that it will execute for both .
thanks in advance
regards
avanthika -
Problem swapping any key with fn+otherkey
Steelseries keyboard layout does not fit my everyday work, I heavily depend on using the home and end keys while programming and having them as a combination of fn+pgup / fn+pgdn is a big problem for me. I want to swap the insert key with home but when I try doing this in SteelSeries Engine I get a "reserved" message instead of the home keypress.
How can i resolve this?Here is an example for you to refer:
If you want to use the function of pgdn (which is at the northeast of the keyboard) with "D" .You have to press "D" among the keyboard of SSE first. Then, you have to press "pgdn" when cursor locates in the column of "Keypresses:". Then, press the "Save" button of SSE ,which is at the southwest part of SSE. Then, you will be able to use the function of pgdn with "D".
Hope it helps.
-
How can I swap components in my app?
I have an application (Flex3) that contains a canvas. The canvas contains an HBox with 3 components - call them team1, middleSection and team2.
team1 and team2 are canvases containing several components inside of them representing 2 sports teams (home and away).
middleSection contains a button called "swap" that simply swaps team1 and team2 (like football teams change ends at the end of each quarter).
team1 and team2 are both instances of a custom Team component that extends Canvas and contains a panel, data grid, and other goodies.
Unfortunately, I can't for the life of me get them to swap.
I had hoped to do something like this:
private function doSwapTeams(event:MouseEvent):void {
var temp:Team = team1;
team1 = team2;
team2 = temp;
But no luck.
I tried getting the array of children and swapping that...again, no luck. I tried invalidating - no luck.
Any ideas?
Thanks!Hi,
Try this.Here container is the HBox
private function swap():void
var team1Index:int = container.getChildIndex(team1);
var temp1:Canvas = container.removeChild(team1) as Canvas;
var temp2:Canvas = container.removeChild(team2)as Canvas;
if(team1Index == 0)
container.addChildAt(temp2,0);
container.addChild(temp1);
else
container.addChildAt(temp1,0);
container.addChild(temp2); -
Problem deploying components (linux-jboss)
I'm trying to install Livecycle ES in Linux with jboss
The installation ends with some errors about not found files like: ps_***_jboss_files , titan_***_jboss_deploy_common_files, gw_***_deploy_common_files
Spite of this I can configure some steps using ConfigurationManager.
Even I can start jboss, deploy the EARs and use the Administration console.
But when I try to deploy the components I can show some warnings (I guess related to the previous errors):
Missing files:
- adobe-scheduler-jboss-dsc.jar
- adobe-core-compat-7to8-jboss.ear
- adobe-appscheduler-jboss-dsc.jar
- adobe-rightsmanagement-jboss-dsc.jar
- adobe-workspacepersistence-dsc.jar
Affected Solution Components:
- Adobe LiveCycle Rigths Management ES
- Adobe LiveCycle Foundation
- Adobe LiveCycle Process Management ES
Can somebody help me?
ThanksYes, configuration can be related to your WSDL problem.
- Stop your appserver instance hosting LiveCycle.
- Back up or delete your appserver logs
- Make sure the logging threshold is set to INFO or better
- Start the appserver instance
- Watch the appserver log closely and ensure there are no errors while LiveCycle is started. If there are, fix those before attempting any programming calls against LiveCycle.
Usually, DSC deployments in Linux run into trouble for the following reasons:
- the user JBoss runs as does not have read/write privileges to the folders for lc_temp or lc_global_storage or /tmp
- the filesystem(s) hosting those folders runs out of allocated diskspace.
- Jayan
Jayan Kandathil -
Problems swap and memory in j2ee
Hello,
In SAP system XI, periodically, the processes java are restarted or stopped, for problems of memory and swap.
java vm version : 1.5.0_12
Please update your JVM with last one available:
1481861 SAP JVM 5.1 Patch Collection 41 (build 5.1.057)
1442124 How to download a SAP JVM patch from the SMP
1133020 How to import a SAP JVM patch into an AS Java
We have download the SAP JVM 5.1 from SMP (SAPJVM5_28-10004309.SAR). Perhaps this is not the latest version, the version indicated could help us in solving the issue we are experiencing?
Regards.Hello Victor,
Patching the sapjvm can help ensure that the java process is running most efficiently and can in some cases avoid failures; however if the issue is caused by a lack of swap and/or physical memory, you'll need to add the needed resource. To get a better idea of the isue you should capture information from the std_server#.out and dev_server# files in the instance work directory. There we can see if you had an OutOfMemory exception and details which show if it was heap, perm, or a lack of swap space that triggered the OutOfMemoryError exception.
Regards,
Nathan
Maybe you are looking for
-
Repeated free call alert on my Lumia 520.
I want to free call alert by repeted beep in my nokia Lumia 520 Moderator's Note: Post was moved and changed the title into a subject-related title.
-
Periodically our 8.1.7.3 Oracle Database enters a "state" where a single process runs at 100 percent of one of our four cpu's. When this happens, I can not gain access to sqlplus to find out what sql is running or what is causing the problem. From se
-
Substring function not working in Analytical view
Dear All, I am trying to use substring function in my analytical view .It says valid expression during syntax check but getting activation error. thanks Sourav
-
Installed 4.5 update yesterday, had to leave office for awhile. When I got back back instalaltion was complete and tthere was an open window with message that apps could not be reinstalled and was given a file location with backup to reinstall. Befo
-
Hi Guys, We have recently purchased a Cisco ISR 2921, and on its docs it is writen that this product has a License for IOS IPS Signatrue File, but on the product Flash Memory there is no IOS IPS Sig-File. and while i try to download the sig-file