How to view the sapscript result without directing to Printer
Hi All,
I am new to ABAP. can any one tell me how to view the sapscript output without redirecting to the printer from an abap program.
Help would be appriciated.
Thanks,
hima
There are several ways you can view the output of the SAPscript, without redirecting it to the printer.
1. You can directly view the output using Menu --> Utilities --> Printing Test --> give the default printer as LP01 and click Print Preview button, that should give you the print preview of the SAP Script.
2. You can execute the the driver program, if it is a custom program (Z program) then execute the program, it will give you an option of selecting printer,, give the printer as LP01 and select print preview.
lets say you are trying to view the purchase order "Zmedruck", the driver program for the same can be found using the transaction code NACE. or else you can execute the transaction code ME23N, There you will find a button called "Print Preview" Click that to preview your SAP Script. Menu --> GoTo --> Print Preview.
Similarly you will find options to view your sap script in almost all the standard transactions where you are using your SAP Script.
If you need further information,, give me a mail at [email protected]
if found useful, don't forget to reward points.
Thanks-
Shrikant
Similar Messages
-
How to display the search result without reloading the whole page
HI,
I have separate fragments for Search Box to enter keyword and Search Result to display the result. Also I have different sections within the page to put these fragments. So how could I display the results without reloading the whole page.
Also if I have next button in my search result area, how could I display the search results in next page without reloading all other sections present in our page. Please let me know if any service or idoc function present such that result could be shown in search result section without reloading whole page.
Please let me know how to restrict page reload for every action within a page.
Thanks,
Ramesh
Edited by: Ramesh_Est on May 27, 2010 3:14 AM
Edited by: Ramesh_Est on May 27, 2010 8:39 PMThis is default behaviour of the template of your space. You can create a new page template and than you can create a region for the search results.
Or you can create a custom taskflow were you use the webcenter taskflows to search for the space.
Take a look at this white paper:
Extending webcenter spaces: http://www.oracle.com/technology/products/webcenter/pdf/owcs_r11_extend_spaces_wp.pdf
and this one:
Customizing site templates: http://www.oracle.com/technology/products/webcenter/pdf/owcs_ps1_site_template_wp.pdf
Edited by: Yannick.O on 13-Apr-2010 02:32 -
How to view the report instance without going thru the infoviwe in webi
all,
when you run a publication with a destination on infoview .. then as the end user who want to see the report i do have to go to the publication to see the report, is there a way to go directly to the report without passing thru the publication ?
thanks
PhilippeYou can use the SDK for viewing webi documents, but first you have to get the logon token (username, password, authentication).
You can see it for example in the CMC -> view
In order to get more information:
https://www.sdn.sap.com/irj/boc/sdklibrary
and there download the Viewers Java SDK, you will find there some examples. -
How to view the login log in window NPS after login cisco switch and without SQL server database
how to view the login log in window NPS after login cisco switch and without SQL server database
in summary
there is only log with event id 4400
A LDAP connection with domain controller XCPAWS20.cyberport.noc for domain NOC2 is established.Hi adil,
For your issue, you can create a custom security token service (STS) and then set up a trust relationship between a SharePoint 2010 farm and the custom STS.
For more information, you can refer to the articles:
http://forums.asp.net/t/1335229.aspx?Sharing+Authentication+Ticket+Between+ASP+NET+and+Sharepoint
https://msdn.microsoft.com/en-us/library/office/ff955607(v=office.14).aspx
http://www.paraesthesia.com/archive/2011/02/01/working-with-windows-identity-foundation-in-asp-net-mvc.aspx/
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Hi All,
How to view the change immediately after a java file that is used in jsp is modified
without restarting server or redeploy?
Moreover, it is better to keep the original session.
Any suggestion is appreciated.
Kammau
Hi,
In order to have a new version of a java class, the current classloader must be
deleted and a new one created. This is what redeployment does. I believe that
this is more of an issue with Sun's implementation of classloaders. You could
ask BEA support (719.232.7878) and see if they have any plans to periodically
check jar files to see if java class file timestamps and destroy and re-create
classloaders on the fly.
1) You will still have to accept the performance hit of destroying classloaders
and creating new ones. There isn't any way around that.
2) I would think you would want to have more explicit control in production and
integration anyway.
You can redeploy applications from the command line (script) file not just the
console.
Hope this helps,
pat
"Kammau" <[email protected]> wrote:
>
>Hi All,
>How to view the change immediately after a java file that is used in
>jsp is modified
>without restarting server or redeploy?
>Moreover, it is better to keep the original session.
>Any suggestion is appreciated.
>
>Kammau
-
How to view the sql query?
hi,
how to view the sql query formed from the xml structure in the receiver jdbc?You can view SAP Note at
http://service.sap.com/notes
But you require SMP login ID for this which you should get from your company. The content of the notes are as follows:
Reason and Prerequisites
You are looking for additional parameter settings. There are two possible reasons why a feature is available via the "additional parameters" table in the "advanced mode" section of the configuration, but not as documented parameter in the configuration UI itself:
Category 1: The parameter has been introduced for a patch or a SP upgrade where no UI upgrade and/or documentation upgrade was possible. In this case, the parameter will be moved to the UI and the documentation as soon as possible. The parameter in the "additional parameters" table will be deprecated after this move, but still be working. The parameter belongs to the supported adapter functionality and can be used in all, also productive, scenarios.
Category 2. The parameter has been introduced for testing purposes, proof-of-concept scenarios, as workaround or as pre-released functionality. In this case, the parameter may or may not be moved to the UI and documentation, and the functionality may be changed, replaced or removed. For this parameter category there is no guaranteed support and usage in productive scenarios is not supported.
When you want to use a parameter documented here, please be aware to which category it belongs!
Solution
The following list shows all available parameters of category 1 or 2. Please note:
Parameter names are always case-sensitive! Parameter values may be case-sensitive, this is documented for each parameter.
Parameter names and values as documented below must be used always without quotaton marks ("), if not explicitly stated otherwise.
The default value of a parameter is always chosen that it does not change the standard functionality
JDBC Receiver Adapter Parameters
1. Parameter name: "logSQLStatement"
Parameter type: boolean
Parameter value: true for any string value, false only for empty string
Parameter value default: false (empty String)
Available with: SP9
Category: 2
Description:
When implementing a scenario with the JDBC receiver adapter, it may be helpful to see which SQL statement is generated by the JDBC adapter from the XI message content for error analysis. Before SP9, this can only be found in the trace of the JDBC adapter if trace level DEBUG is activated. With SP9, the generated SQL statement will be shown in the details page (audit protocol) of the message monitor for each message directly.
This should be used only during the test phase and not in productive scenarios.
Regards,
Prateek -
How to view the changes immediately after a jsp is modified?
Hi All,
How can I modify a JSP and view the changes immediately
without packing a war and deploying again.
The JSP may reference a tag library.
And also, I don't want to register the compiled jsp class
as servlet class in web.xml because there are hundreds of
jsp files.
Then, how can I do this to save the development time.
Any suggestion is appreciated.
Thanks!!!
Kammau
Hi Kammau,
the next thing you should do is:
- create a standard EAR (jar, not "exploded"), with application.xml,
manifest entries, etc.
- try to deploy. If you can't deploy this way, you still have some
problems which have nothing to do with the jsp-reload-thing. Solve them
first. (You can ask us, of course)
- if it works, try to deploy the EAR "exploded" with "exploded" WAR in it.
- if that works, try the jsp-reload.
Good luck,
Philip
Kammau wrote:
> Hi All,
> I try to deploy my jars (local ejbs) and my jsps separately.
>
> I have tried two ways, but all fail.
> 1. I create a app directory under my server directory (same as DefaultWebApp),
> and put all the jars and the war (exploded) under the directory. Then I add the
> script in the config.xml likes:
> <Application Deployed="true" Name="myApp" Path=".\config\mydomain\applications\myApp">
> <EJBComponent Name="myJar1.jar" Targets="myserver" URI="myJar1.jar"/>
> <EJBComponent Name="myJar1.jar" Targets="myserver" URI="myJar2.jar"/>
> <WebAppComponent Name="war" Targets="myserver" URI="war"/>
> </Application>
>
> //myJar1.jar and myJar2.jar are my jars and I put all jsps under the war directory.
>
> Unfortunately, it fails.
> I found the weblogic tried to deploy the jars and war, but both of jars and war
> can not be deployed.
>
> 2. I put the jars into a ear and I also create the
> app directory under my server directory (same as DefaultWebApp), and put the
> war (exploded) under the directory. Then I add the script in the config.xml likes:
> <Application Deployed="true" Name="myApp" Path=".\config\mydomain\applications\myApp">
> <WebAppComponent Name="war" Targets="myserver" URI="war"/>
> </Application>
>
> Unfortunately, it fails.
> In this case, I can deploy the jars, but when the weblogic tried to deploy the
> wars, it can not find the jndi names of my jars.
-
How to view the table at the application level
Dear All,
How to view the table in the Data Dictionary at the application level, If a table is created at the database level by using CREATE statement.
code/
create table zmard as select * from sapone.mard where 1 = 2
/code
I would like to view the table above, which is created at the Oracle database level in the Data Dictionary.
can anyone guess the solution.
Best wishes
MaheshHi
U should create a program using SQL native in order to select and show the data.
By SE11 or directly in the program u can define a structure like your table:
DATA: BEGIN OF W_ZMARD,
FIELD,
END OF W_ZMARD.
EXEC.
OPEN CURSO FOR SELECT * FROM ZMARD
ENDEXEC.
DO.
EXEC.
FETCH NEXT CURSOR INTO :W_ZMARD
ENDEXEC.
IF SY-SUBRC <> 0.
EXIT.
ENDIF.
WRITE: / W_ZMARD-FIELD,
ENDDO.
EXEC.
CLOSE CURSOR
ENDEXEC.
I don't know if it's possible to create a view in SE11, because it's needs a table just defined in SE11, u can create a new view ZMARD based on MARD but I don't believe it'll use your table.
Max -
How to modify the search results of the GUI for subscribing to calendars
How to modify the search results of the GUI for subscribing to calendars
Note:
<OL>
<LI>The following information applies only to iPlanet Calendar Server 5.0
Patch 3.
<LI>All of the cases for which the XSLT changes will work have not been
verified.
<LI>The following is only an example of an XSLT customization.
</OL>
The example below shows a sample customization of the
search_for_calendars
dialog. This customization will result in the Display Name being included as
part of the search results in the GUI, which would normally show just the
calendar ID. It will render the returned calendars in the following format:
<P>
Display Name - <I>description</I>
<P>
Normally, the format would be as follows:
<P>
Calendar-ID - <I>description</I>
<P>
</A>
The example consists of the following two files:
<P>
<OL>
<LI>search_for_calendars_common.xsl
(the entire XSLT file)
<P>
<LI>diffctx.txt
(the context sensitive diff patch file,
which basically shows only the changes that need to be made)
</OL>
<P>
<HR>
</A><B>
search_for_calendars_common.xsl</B>
<?xml version="1.0" ?>
<!DOCTYPE xsl:stylesheet (View Source for full doctype...)>
- <!--
set the output properties
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"
result-ns="http://www.w3.org/TR/REC-html40">
-->
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
- <!-- set the output properties
-->
<xsl:output method="html" encoding="ISO-8859-1" />
<xsl:include href="data/common.xsl" />
<xsl:include href="data/i18n.xsl" />
<xsl:include href="data/date_format.xsl" />
<xsl:include href="data/dialog_tabs.xsl" />
- <xsl:template match="/">
<xsl:apply-templates select="calendar" />
</xsl:template>
- <xsl:template match="calendar">
- <xsl:choose>
- <xsl:when test="@top='true'">
- <xsl:variable name="Frame1">
<xsl:value-of select="frame[1]" />
</xsl:variable>
- <xsl:variable name="Frame2">
<xsl:value-of select="frame[2]" />
</xsl:variable>
- <xsl:variable name="Frame3">
<xsl:value-of select="frame[3]" />
</xsl:variable>
- <xsl:variable name="tab_value">
<xsl:value-of select="@tab" />
</xsl:variable>
- <HTML>
- <HEAD>
<xsl:call-template name="contextJavascript" />
<TITLE>Calendars Search: Calendar Express - iPlanet</TITLE>
</HEAD>
- <FRAMESET border="0" frameborder="0" rows="77,*,71">
<FRAME name="tab" marginheight="0" marginwidth="0" scrolling="no"
scrollbars="no" src="{$Frame1}" />
<FRAME name="main" frameborder="0" src="{$Frame2}" />
<FRAME name="button" marginheight="0" marginwidth="0" scrolling="no"
scrollbars="no" frameborder="0" src="{$Frame3}" />
</FRAMESET>
</HTML>
</xsl:when>
- <xsl:when test="@view='searchProperties'">
- <xsl:for-each select="group">
- <xsl:if test="@name='searchProperties'">
<xsl:call-template name="search_toolbar" />
</xsl:if>
</xsl:for-each>
</xsl:when>
- <xsl:when test="@view='main'">
- <xsl:for-each select="group">
- <xsl:if test="@name='main'">
<xsl:call-template name="main" />
</xsl:if>
</xsl:for-each>
</xsl:when>
- <xsl:when test="@view='button'">
- <xsl:for-each select="group">
- <xsl:if test="@name='button'">
<xsl:call-template name="button_root" />
</xsl:if>
</xsl:for-each>
</xsl:when>
- <xsl:otherwise>
- <html>
What's this view? (search_for_cals.xsl) -
<xsl:value-of select="@view" />
</html>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
- <xsl:template name="search_toolbar">
- <HTML>
<xsl:call-template name="emit_frame_head_tag" />
- <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
marginwidth="0" marginheight="0" onload="window.focus()">
- <FORM>
- <xsl:attribute name="action">
<xsl:value-of select="./formdata@action" />
</xsl:attribute>
<xsl:attribute name="name">form</xsl:attribute>
<xsl:attribute name="onSubmit">document.forms[0]['find'].click(); return false;
</xsl:attribute>
<xsl:apply-templates select="formdata" />
- <CENTER>
- <TABLE border="0" cellpadding="2" cellspacing="0" width="100%" height="100%">
- <TR>
- <TD align="center">
- <TABLE border="0" cellpadding="3" cellspacing="1">
- <TR>
- <TD colspan="4">
<FONT size="{$font_size_big_2}" face="{$font_name}">Find all calendars where
the calendar</FONT>
</TD>
</TR>
- <TR>
- <TD valign="baseline">
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <SELECT name="which">
<OPTION value="name;calid">name or ID</OPTION>
<OPTION value="name">name</OPTION>
<OPTION value="primaryOwner">primary owner</OPTION>
<OPTION value="calid">ID</OPTION>
</SELECT>
</FONT>
</TD>
- <TD valign="baseline">
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <SELECT name="how">
<OPTION value="0">contains</OPTION>
<OPTION value="1">begins with</OPTION>
</SELECT>
</FONT>
</TD>
- <TD valign="baseline">
<INPUT type="text" name="what" />
</TD>
- <TD valign="baseline">
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <INPUT type="button" name="find" value="Find">
- <xsl:attribute name="onClick">
<xsl:value-of select="./button[@name='find']" />
</xsl:attribute>
</INPUT>
</FONT>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</CENTER>
</FORM>
</BODY>
</HTML>
</xsl:template>
- <xsl:template name="main">
- <HTML>
<xsl:call-template name="emit_frame_head_tag" />
- <BODY bgcolor="{$bgcolor_background}" background="imx/tdbg.gif"
marginwidth="0" marginheight="0">
- <FORM name="form" method="post">
- <xsl:attribute name="action">
<xsl:value-of select="./formdata@action" />
</xsl:attribute>
<xsl:attribute name="name">form</xsl:attribute>
<xsl:apply-templates select="formdata" />
<INPUT type="hidden" name="how" value="0" />
<INPUT type="hidden" name="which" value="name;calid" />
<INPUT type="hidden" name="what" value=" />
<INPUT type="hidden" name="selectedGroup" />
- <xsl:if test="(./calsearchresults/nomatch)">
- <!-- print no match found
-->
&nbsp;
&nbsp;
No Match Found
</xsl:if>
- <xsl:for-each select="./calsearchresults/searchresultcal">
- <P>
&nbsp;
&nbsp;
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <FONT size="{$font_size_big}" face="{$font_name}">
Owner:
<xsl:value-of select="@owner" />
<FONT size="{$font_size_big}" face="{$font_name}" color="{$bgcolor_wend_mid}">|
</FONT>
Calendar ID:
<xsl:value-of select="@id" />
<BR />
</FONT>
- <FONT size="{$font_size_big_2}" face="{$font_name}">
- <xsl:choose>
- <xsl:when test="@subscribed='false'">
&nbsp;
&nbsp;
- <INPUT type="checkbox" name="calendar">
- <xsl:attribute name="value">
<xsl:value-of select="@name" />
</xsl:attribute>
</INPUT>
&nbsp;
&nbsp;
- <A target="_blank">
- <xsl:attribute name="href">
<xsl:value-of select="@viewCommand" />
</xsl:attribute>
<xsl:value-of select="@name" />
</A>
</xsl:when>
- <xsl:otherwise>
&nbsp;
&nbsp;
- <A target="_blank">
- <xsl:attribute name="href">
<xsl:value-of select="@viewCommand" />
</xsl:attribute>
<xsl:value-of select="@name" />
</A>
&nbsp;
(Subscribed)
</xsl:otherwise>
</xsl:choose>
- <xsl:if test="string-length(@description) > 0">
&nbsp;
&nbsp;
- <FONT size="{$font_size_big}" face="{$font_name}">
<xsl:value-of select="@description" />
</FONT>
</xsl:if>
</FONT>
</FONT>
</P>
</xsl:for-each>
</FORM>
</BODY>
</HTML>
</xsl:template>
</xsl:stylesheet>
<P>
<A HREF="#back">Back</A>
<P>
<HR>
</A>
<B>diffctx.txt</B>
Index: search_for_calendars_common.xsl
===================================================================
RCS file: /m/src/ns/server/msg/calendar/core/html/search_for_calendars_common.xsl,v
retrieving revision 1.1.2.14
diff -c -r1.1.2.14 search_for_calendars_common.xsl
*** search_for_calendars_common.xsl 2000/12/12 23:10:43 1.1.2.14
--- search_for_calendars_common.xsl 2001/03/15 23:55:19
*** 182,188 ****
&nbsp; &nbsp;
<INPUT type="checkbox" name="calendar">
<xsl:attribute name="value">
! <xsl:value-of select="@id"/>
</xsl:attribute>
</INPUT>
&nbsp; &nbsp;
--- 182,188 ----
&nbsp; &nbsp;
<INPUT type="checkbox" name="calendar">
<xsl:attribute name="value">
! <xsl:value-of select="@name"/>
</xsl:attribute>
</INPUT>
&nbsp; &nbsp;
*** 190,196 ****
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@id"/>
</A>
</xsl:when>
<xsl:otherwise>
--- 190,196 ----
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@name"/>
</A>
</xsl:when>
<xsl:otherwise>
*** 199,205 ****
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@id"/>
</A>
&nbsp;(Subscribed)
</xsl:otherwise>
--- 199,205 ----
<xsl:attribute name="href">
<xsl:value-of select="@viewCommand"/>
</xsl:attribute>
! <xsl:value-of select="@name"/>
</A>
&nbsp;(Subscribed)
</xsl:otherwise>
<P>
<A HREF="#back">Back</A>Maybe on the Google API s page?
-
How to view the DDL script prior to object deployment in OWB 10g R2?
How to view the DDL script prior to object deployment in OWB 10g R2?
Here is what I' looking for: in 10gR2, let's say I've built dimension X, but it's not deployed yet. I've selected one of the deployment options, let's say: "Deploy to Catalog only". Now, I'd like to see a DDL script that will be executed at the deployment time. Where can I find this script? What screen? What menu?
Thanks,
vrViewing the Scripts
After you have generated scripts for your target objects, you can open the scripts and
view the code. Warehouse Builder generates the following types of scripts:
■ DDL scripts: Creates or drops database objects.
■ SQL*Loader control files: Extracts and transports data from file sources.
■ ABAP scripts: Extracts and loads data from SAP systems.
To view the generated scripts:
1. From the Generation Results window, select an object in the navigation tree on the
left of the Generation Results dialog.
2. Select the Scripts tab on the right of this dialog.
The Scripts tab contains a list of the generated scripts for the object you selected.
3. Select a specific script and click the View Code button.
Regards,
Marcos -
How to view the process template of the instance
Some of the workflow tools ( for ex: MQ Workflow) provide a way to see the design of the process template graphically. When an instance is created out of the process template, user can see the process stops of the instance graphically. While one could see on EM Flow trace of the instance, it only shows the steps so far completed. I am unable to know what stop I am at in the complete flow of the process map. May be I am missing something, but if you can point me in right direction how to view the stages of a process instance ( completed and yet to be completed) I rellay appreciate.
What about this?
SELECT pid
FROM v$session s, v$process p
WHERE p.addr = s.paddr
AND s.sid = :sid; -- replace :sid with your session idRegards.
Al -
How to have the Chat history without the Exchange server?
How to have the Chat history without the Exchange server?
Hi,
You can try Archiving server. Archiving is the storing of IM and conferencing data in an SQL backend database. This data is not instantly readable / searchable. The Lync users are not able to read it directly. The admin can export the data using Lync powershell
and then convert it into a readable format.
Kent Huang
TechNet Community Support -
[SOLVED] How to view the *exact* name of the currently running kernel?
Perhaps this question will seem dumb, but here goes : I have two kernels installed :
[ruben@arch ~]$ yaourt -Q linux
core/linux 3.2.9-1 (base)
[ruben@arch ~]$ yaourt -Q linux-ck-kx
repo-ck/linux-ck-kx 3.2.11-1 (ck-kx)
Grub’s menu.lst is configured to boot linux-ck-kx :
# general configuration:
timeout 5
default 2
color light-blue/black light-cyan/blue
# (0) Arch Linux
title Arch Linux
root (hd0,0)
kernel /boot/vmlinuz26 root=/dev/disk/by-label/archroot ro
initrd /boot/kernel26.img
# (1) Arch Linux Fallback
title Arch Linux Fallback
root (hd0,0)
kernel /boot/vmlinuz26 root=/dev/disk/by-label/archroot ro
initrd /boot/kernel26-fallback.img
# (2) Arch Linux CK-KX
title Arch Linux CK-KX
root (hd0,0)
kernel /boot/vmlinuz-linux-ck root=/dev/disk/by-label/archroot ro
initrd /boot/initramfs-linux-ck.img
# (3) Arch Linux CK-KX Fallback
title Arch Linux CK-KX Fallback
root (hd0,0)
kernel /boot/vmlinuz-linux-ck root=/dev/disk/by-label/archroot ro
initrd /boot/initramfs-linux-ck-fallback.img
And yet, I see no mention of *-ck-kx when issuing this comand :
[ruben@arch ~]$ uname -a
Linux arch 3.2.9-1-ARCH #1 SMP PREEMPT Thu Mar 1 09:31:13 CET 2012 x86_64 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux
It does not matter whether I change the default kernel line in /boot/grub/menu.lst : I can set it to “ 0 ” or “ 2 ” and reboot, and the output of “ uname -a ” will always be exactly the same as above ; no mention of *ck-kx even though I know it is running.
I searched the web on how to view the name of the running kernel, all results I found said to use uname, so is there another command I am missing here ? Or is it normal that both my kernels yield the same uname output ?
Just curious, because I was playing around with kexec, and when doing “ fake ” reboots, I was alternating between the normal ARCH-kernel and the ck-kx*kernel, and I wanted to be sure that it actually worked, so I checked everytime with uname, and since I saw no difference in the outputs, I assumed kexec wasn’t working like it should, so I did a “ real ” reboot, but same uname outputs… So I must be missing something…
Here are the kexec commands I used, just to be sure I am doing this properly :
[ruben@arch ~]$ sudo kexec -l --append="`cat /proc/cmdline`" --initrd=/boot/initramfs-linux-ck.img /boot/vmlinuz-linux-ck
[ruben@arch ~]$ sudo init 6
and :
[ruben@arch ~]$ sudo kexec -l --append="`cat /proc/cmdline`" --initrd=/boot/initramfs-linux.img /boot/vmlinuz-linux
[ruben@arch ~]$ sudo init 6
Thoughts ?
Last edited by Montague (2012-03-15 22:00:02)litemotiv wrote:
Hmm worksforme:
$ uname -r
3.2.11-1-ck
One question for you litemotiv : do you have two kernels currently installed on your system, like I do, or did you uninstall the ARCH-kernel ? I ask because I might try this :
$ sudo pacman -Rns linux
and reboot, and see what happens…
But before I do that, might as well try to debug it ;
t1nk3r3r wrote:I would point the finger at GRUB, or something occuring near boot-time.
https://wiki.archlinux.org/index.php/Boot_Debugging
So I tried the “ Heavy Debug ” option, rebooted, then issued “ dmesg > dmesg.txt ” ; here are the first few lines of that file :
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.2.9-1-ARCH (tobias@T-POWA-LX) (gcc version 4.6.2 20120120 (prerelease) (GCC) ) #1 SMP PREEMPT Thu Mar 1 09:31:13 CET 2012
[ 0.000000] Command line: root=/dev/disk/by-label/archroot ro
and the complete dmesg output is here. I am no expert at reading debuggin output, but from the above, it seems like the default ARCH-kernel is being booted, even though my menu.lst hasn’t changed from my previous post (exept for the debugging options) :
# general configuration:
timeout 5
default 0
color light-blue/black light-cyan/blue
# (0) Arch Linux CK-KX
title Arch Linux CK-KX
root (hd0,0)
kernel /boot/vmlinuz-linux-ck root=/dev/disk/by-label/archroot ro rootdelay=5 panic=10 debug ignore_loglevel
initrd /boot/initramfs-linux-ck.img
# (1) Arch Linux CK-KX Fallback
title Arch Linux CK-KX Fallback
root (hd0,0)
kernel /boot/vmlinuz-linux-ck root=/dev/disk/by-label/archroot ro
initrd /boot/initramfs-linux-ck-fallback.img
I want the ck-kernel to boot, what it going on here ? Any more thoughts ? -
OOM PermGen... How to view the content of permgen
I have a pretty big java application running on windows and linux (redhat) using JBoss as the application server.
The application has been running for a long time without issues and now, with the end of a new release of our software, under heavy load, we are running out of perm gen space.
What I would like to see is a tool that lets me view the content of the perm gen space so I can determine why we are using so much memory.
I am aware of jmap -permstat (on linux only) that should let you view some info about permgem but for me, jmap connects to the java process and never comes back. I tried a profiler (jprofiler) and again, I can't find info about what is occupying the permgen memory space.
Can someone suggest tools, or methods to get to the content of the permgen space so I can determine what our issue is?
Here are our startup options; as you can see it has been tuned quite a bit for maximum performance for our usage patterns.
I would appreciate any help chasing down this issue.
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_02-b05, mixed mode)
-Xms8000m
-Xmx8000m
-Xss256k
-XX:PermSize=256m
-XX:MaxPermSize=256m
-Xmaxjitcodesize96m
-XX:+UseParNewGC
-XX:+HandlePromotionFailure
-XX:ParallelGCThreads=16
-XX:GCHeapFreeLimit=10
-XX:NewRatio=3
-XX:SurvivorRatio=2
-XX:InitialSurvivorRatio=2
-XX:MinSurvivorRatio=2
-XX:GCTimeRatio=19
-XX:MaxTenuringThreshold=128
-XX:TargetSurvivorRatio=90
-XX:+ClassUnloading
-XX:ErrorFile=hs_err_<pid>.log
-XX:HeapDumpPath=java_<pid>.hprof
-XX:-HeapDumpOnOutOfMemoryErrorjklopkjl wrote:
Hi i am using oracle 10g .How to view the content of the stored procedure or trigger ?
query ALL_SOURCE
SQL> desc all_source
Name Null? Type
OWNER VARCHAR2(30)
NAME VARCHAR2(30)
TYPE VARCHAR2(12)
LINE NUMBER
TEXT VARCHAR2(4000) -
How to view the first and the last frame of a clip or a selected range in the time line?
How to view the first and the last frame of a clip directly or in a selected range in the time line ? Up arrow and down arrow keys changes only between the first frame of the consecutive clips. Even ; and ' does the same. I mean what is the shortcut keys for first to last and last to first frame of a clip? Help please.
SELECT PurOrderNum,
OrderDate
FROM
SELECT PurOrderNum,
OrderDate,
MAX(OrderDate) OVER (PARTITION BY DATEDIFF(mm,0,OrderDate)) AS MaxDate,
MIN(OrderDate) OVER (PARTITION BY DATEDIFF(mm,0,OrderDate)) AS MinDate
FROM Purchasing.PurOrder
WHERE OrderDate >= '2013-02-28'
AND OrderDate <= '2014-12-29'
)t
WHERE OrderDate = MaxDate
OR OrderDate = MinDate
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page
Maybe you are looking for
-
Need help in module Pool programming.
Dear gurus I'm stuck in a step of Module Pool program Steps i used for enhancement in XK01. 1) i appended a structure in table LFA1 having two fields A and B. 2) then i went to IMG-> Logistic -> Business Partner-> Vendor -> Adoption of Customer's O
-
Add an extra line in the output xml file
Dear All My scenarios is idoc to xml file.For the resultant xml file i have to append a line <?Test Line?> after <?xml version="1.0" encoding="UTF-8" ?> while passing it to legacy system ? How generate such a xml file in xi? Any help would be appr
-
User-id / Roles assigned in Solution Manager system
Hi Friends, I need an information regarding following: User-id / Roles assigned in SOLMAN Dev system SM59 Destinations in Solman dev system & user-id/pwd used for connecting to Satellite systems User-id/ Roles assigned in Satellite systems
-
Adobe Captivate 7 crops right hand side of the selection window
Just installed a new copy of adobe captivate on a brand new laptop and have found that it is cropping/cutting off the right hand side of my selection. If i snap to the application window of choice, it is selcting the correct area. After i have fini
-
I have all my media content (.avi and .jpeg) managed by iPhoto in its database which is kept on an external drive. I created about 20 projects in iMovie'09, edited and exported the projects using QT for my Apple TV into another folder on the same ext