How to install custom taglibs?
This is driving me crazy. I'm building a JSP application and I'm trying to use the custom tag libraries jstl.jar and standard.jar. I've installed Tomcat vesrion 4 vesrion 27. I can make a reference to the sql.tld, but whenever I add something like <sql:query...etc />, I get the error "Unabled to load class" or "java.lang.NoClassDefFoundError: javax/servlet/jsp/JspContext
When I put jstl.jar and standard.jar in the WEB-INF\lib directory, Tomcat starts up with a lot of errors("Document is invalid no grammar found").
I've tried everything, read documentation but I still cannot figure it out.
+++++The taglib directive in my jsp looks like this:
<%@taglib prefix="sql" uri="http://java.sun.com/jstl/sql"%>
++++The header in my taglib looks like this:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>sql</short-name>
<uri>http://java.sun.com/jstl/sql</uri>
<display-name>JSTL sql</display-name>
<description>JSTL 1.0 sql library</description>
+++++and my web.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
<web-app>
<taglib>
<taglib-uri>http://java.sun.com/jstl/sql</taglib-uri>
<taglib-location>/WEB-INF/sql.tld</taglib-location>
</taglib>
</web-app>
Do I explicitly have to set the classpath? Where do I have to put the standard.jar and the jstl.jar?
Thanx for your help.
Frits
The JSTL JARs should go in your app's WEB-INF/lib. The JARs in that directory are added to the CLASSPATH by Tomcat. That's the proper place for them. No need to edit any CLASSPATH settings. Tomcat ignores any system CLASSPATH that you might have. (I recommend that people delete that environment variable altogether. It does nothing useful that I know of.)
You should not need to put any <taglib> in your web.xml. The URI that you should use to refer to the taglib is the one inside the .tld file packed in standard.jar. So your JSPs should have lines like this at the top:
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>The URI must match the value inside the c.tld:
<uri>http://java.sun.com/jstl/core</uri>If you do this, Tomcat should be able to find your taglib classes. - MOD
Similar Messages
-
How to include custom taglib in javascript on a given jsp page
Hi,
How to include custom taglib in javascript on a given jsp page?
i have a jsp page on which i am adding selectboxes using javascript.
But now i have created my own custom select box and want to add it on a given jsp page.
is the code to create the box box.
<sample:pickListOptions employeeId="abcs123"/>
but how should i embed it in javascript, so that i will be able to add it on the give jsp page.
Thanks,
Javaqueuewhen the jsp page is loaded for the first time it contains a select box containg names created by a taglib.but there is a feature i want to add wherein though javascript the name selectebox will keep on coming on each row i want to add. and this is row addition and deletion is being handled by the javascript. there i encounter the bug how to interact the javascript with taglib so tha with each row addition i will have populated taglib created select box on each row.
Thanks,
Javaqueue -
How to install custom printer profiles in maverick
how to install custom printer profiles in maverick
NOTE: In Lion and Mountain Lion the Home/Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and press the Return key - 10.7: Un-hide the User Library folder. You'll need to do it again after each system update that's applied.
OT -
How to install custom XMP Get Info Panels in Adobe Bridge CC
Adobe changed their way they store the custom XMP Get Info Panels in Adobe Bridge CC. Check out this blog to see how you can install the XMP Get Info Panels that you used in Adobe Bridge CS6 in Adobe Bridge CC:
http://www.databasepublish.com/blog/installing-custom-metadata-panels-and-get-info-panels- adobe-bridge-ccCheck your Bridge preferences. It seems that you have the "Don't process images larger than…" option set to a lower amount than some of your files.
So, don't blame it on Bridge, but on the user who neglects that setting. -
How to install custom Resource Adapter
Hi I have writen the java class for the Custome Resource adapter and I loaded the .class file into web-inf classes folder.I followed the installation steps given in the deployement document.In that I am not understanding one step i.e "Install .class file and help file into IDM" How can we do this and How to get the particular resource under Managed Resources tabe of Configure tab./its very urgent for me any kind of help is appriciable.
Ok, since it is urgent, do it the way Sun/Waveset inserts the adapters.
1.) Alter your java code to have
package com.waveset.adapter;
As your package line.
2.) Compile the adapter to a class file.
3.) Grab the idm.jar file from $WSHOME/WEB-INF/lib and copy it to e.g /tmp
4.) unjar it. jar -vxf idm.jar
5.) copy the your adapter class file to /tmp/com/waveset/adapter
6.) jar the archive. jar -cvf idm.jar /tmp/com
7.) Make a backup of the original idm.jar, and copy the new to the old position replacing the old jar-file. Bounce your app-server.
8.) Log in as configurator or an administrator with equal capabilities. And add the custom adapter using the previous procedure... although, use the adaper class path
com.waveset.adapter.YourCustomAdapter
9.) Go to debug pages and put tracing on the same class file, and tail -f the app-server std out.
10.) try to configure the adapter. Note any eventual error messages. Post error messages on the forum along with the std out log.
If your adapter code works, it should work... if not your problems are elsewhere.
Please not that this set up is not recommended for production environment and if you apply service packs etc this fix will break! -
[SOLVED] How to install custom kernel from AUR?
I am trying to install the custom kernel for the Acer Aspire One from AUR. What is the correct way to go about doing this? I pacman -U the .pkg.tar.gz I downloaded and it put a new kernel folder in /usr/src. Do I just copy the old .config file and make?
Last edited by future stir-fry (2008-12-23 01:26:57)zaza224 wrote:
After installing new kernel with pacman -U you just need to add a new line to grub menu.lst pointing to it and reboot
How would you go about doing this in syslinux instead of grub?
Whoa there, get your shotguns, the zombies are coming!!
Seriously, welcome to the Arch forums zaza224
Please familiarize yourself with our forum guidelines, in particular the topic about waking the dead:
https://wiki.archlinux.org/index.php/Fo … Bumping.22
Closing. -
How to install custom dictionaries for openoffice?
Hello. I'm a user from Croatia, and I do a lot of writing in my mother's tongue. A Croatian spellchecker would be a nice addon for my OpenOffice installation, but there is none on the repository.
Is it possible to install it manually into my OpenOffice installation? I have the .dic and .aff files, is it enough to put those somewhere? If so, where? Is there anything else that should be done apart from that?
Many thanks.
Last edited by Wintershade (2008-04-14 17:37:58)Open the /opt/openoffice/share/dict/ooo/DicOOo.sxw document in OpenOffice writer and use it to install the dictionary you want. This method should be more secured.
Or copy the .dic and .aff files in the /opt/openoffice/share/dict/ooo/ directory and edit the dictionary.lst file in this directory, according to the format explained in the file.
Restart OpenOffice.
There exists also a dict directory under the ~/.openoffice directory for user dictionaries. -
I have installed a trial of Adobe illustrator on my macbook pro. It is the 2014 release of adobe illustrator. I want to trace an image using the custom trace button.
I start a new document. Then I place my scanned pencil/colored pencil drawing, in to the document. I have tried scanning and then placing it as a jpeg, bitmap, and tiff file. I have tried scanning and then placing it, in color and in black and white. The scan mode I use is flatbed. Adobe illustrator allows me to select the default button and one of eleven preset buttons (e.g high fidelity photo), but it does not allow me to click the custom trace button. The custom trace button is grey while all the other buttons are white.
Does anyone have any ideas how I could custom trace?It seems pointless to adjust it afterwards because it is then only a couple a pencil lines rather then a full drawing. And how do I adjust it afterwards? Would I do this using the different buttons under the window button?
-
Simple Question - How do I deploy custom taglibs to Oracle 9iAS r2?
Simple question.
There are lots of simple examples on JSP custom tags that have
a .tld file, a .java file with the handler class, and a .jsp
file that calls the custom tag to test it.
My question is, lets say I have a .tld file, a .java file and
a .jsp file for a tag example. How do I deploy them to
Oracle 9iAS r2? I'd like to code an example and deploy it,
but I'm stuck. I'm using Jdeveloper 9i, and have compiled the
.java file and included it and the .tld in a Custom Taglib JAR.
How is this JAR deployed to Oracle 9iAS, considering that the
Enterprise Manager only deploys WAR and EAR files? How do
a configure a web app to use the custom tags...
This should be simple -- maybe its too simple so I'm stuck!check out ojspdemos which comes with the product.
Also see
http://otn.oracle.com/tech/java/oc4j/doc_library/902/jsp/taglibs.htm#1004903
-Prasad -
How do I install custom printer profiles in Mac os mountain lion. I can't find the icc profiles directory (if that's what it is).
NOTE: In Lion and Mountain Lion the Home/Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and press the Return key - 10.7: Un-hide the User Library folder. You'll need to do it again after each system update that's applied.
OT -
How to Install Coldfusion 8 64-bit on Small Business Server 2008 64-bit
How to Install Coldfusion 8 64-bit on Small Business Server 2008 64-bit
I ran Coldfusion 8 on SBS 2003 Premium for 6 months with no problems. When we finally decided to cut over to SBS 2008, that’s when everything went to hell. I tried for weeks to get Coldfusion 8 to install properly on the new SBS 2008 64-bit box. During the course which, I found bits and pieces of information for Vista 64-bit and Windows Server 2008 64-bit installations. There are some distinct differences, however, with SBS 2008 since it runs core Web applications like OWA, RWW and Companyweb. After countless unsuccessful attempts, one of which completed corrupted the box, I found the solution.
I have attempted in this white paper to detail the steps to assist others who may be in a similar situation. I don’t make any warranty for the information, but so long as you follow the steps carefully you should be fine. BTW, for those of you who say Adobe offers free technical support for licensed users, that’s not entirely true. Like I said, I purchased CF8 and originally installed it on an SBS 2003 Premium box. After we cut over to SBS 2008 and encountered problems, Adobe wouldn’t provide any technical support without charging. Moreover, based on my initial conversations with Adobe’s technical team, no one seemed to know much about running 64-bit on SBS.
From my understanding, only two versions of Coldfusion 8 can be installed in 64-bit: Enterprise and Developer. The “normal” install (which I paid a grand for) can only be deployed in 32-bit mode – gee, THANKS Adobe! By the way, in Developer mode only two distinct IPs can access the site in addition to the localhost. Any additional IPs will result in a CFML error message stating that the maximum number of IPs have been exceeded. At any rate, take your time and follow the steps to achieve a successful installation.
PRE-INSTALLATION TASKS
Back Up SBS
It’s always a good practice to backup your server before deploying any kind of major system changes. Although this step is optional, I recommend it in case you need to restore your server for any reason. Bear in mind, if your system ever gets totally corrupted, you cannot restore back from the twice daily incremental backup images alone. You will need a full backup with system recovery information to restore. Here are the basic steps:
Click: Start > Programs > Administrative Tools. Right-click “Windows Server Backup” and choose “Run as administrator”.
Click “Backup Once” under Actions in the right-hand pane.
Choose the “Different Options” radio button under Backup Options.
Choose the “Custom” radio button. What we’re primarily interested in here is backing up the OS – not your data partitions or attached drives.
Select the “SYSTEM (C)” checkbox, uncheck any others. Also, ensure that the “Enable system recovery” checkbox is selected before continuing on.
Under ‘Specify Destination Type’, I usually select the “Local drives” radio button and point it to a Terrabyte USB drive I use for backups. You can point this to a tape drive, or select the “Remote shared folder” radio button if you map to a UNC path to store your backup images. Just remember, make sure that whatever path you select can readily be accessed in the event of an emergency. Also, make sure the “Verify after writing (recommended)” checkbox is selected.
Under ‘Specified Advanced Option’, I usually select the “VSS full backup” radio button instead of the default since I don’t use a 3rd party backup product. If like me you rely solely on SBS for your backups, choose the full backup option.
Confirm everything and click “Backup”. This process may take several hours depending on the size of your system.
Verify ISAPI Filters:
In IIS Manager, double-click the server instance in the left-hand pane.
In the center pane under IIS, double click the “Modules” icon to verify that the ISAPI native modules are already installed for IIS. If it’s set up correctly you should see two entries:
IsapiFilterModule %windir%\System32\inetsrv\filter.dll
IsapiModule %windir%\System32\inetsrv\isapi.dll
If either of these modules are missing, you will need to re-install these (google for a solution).
Set Up Development Environment
Create a directory for your CFML files outside of the default Windows location (e.g., default is usually C:\inetpub\wwwroot\). For the purpose of our install, I created a directory on a separate disk called: D:\DEV.
Copy and paste your CFML files and directories into the new DEV root Web directory. This will eventually be the directory where the Coldfusion installer places the CFIDE and CFDOCS folders.
Open IIS Manager and double-click the server instance in the left hand pane. Expand the “Sites” folder. Right-click the Sites folder and select “Add Web Site”.
Enter a name in the “Site Name” box (e.g., “test-site”). You will notice that the system will automatically create a corresponding Application Pool with the same name. NOTE: this is important to prevent conflicts between the DefaultAppPool (needed for SBS Web apps like OWA, RWW, etc.) and the application pool needed for Coldfusion to function properly in SBS 2008.
Point the “Physical Path” to the directory you created in step #1 above (e.g., “D:\DEV”).
Don’t worry about testing the connection. If you click “Test Settings” you may receive a warning that IIS cannot verify access to path (D:\DEV). Don’t worry about this for the time being.
Under “Host name”, enter a DNS path to your site (e.g., “dev.test-site.com”). Click “OK”.
Configure Application Pools for Installation
In IIS Manager, double-click the server instance in the left-hand pane. Click on “Application Pools” to display the list of server application pools in the center pane.
In the “Actions” pane on the right-hand side, click “Set Application Pool Defaults”.
Change “Enable 32-Bit Applications” - the second item from the top – from “False” to “True”, and then click “OK”. NOTE: if you skip this step, Coldfusion will not properly create the required mappings during the install. We will change this setting back after the installation completes – more on this later.
Modify the application.host.config File for 64-Bitness
Click: Start > Programs > Accessories. Right-click “Notepad” and choose “Run as administrator”.
Open the config file from within Notepad – default location: C:\Windows\System32\inetsrv\config\applicationHost.config
Do a search and change this one line from:
<add name="PasswordExpiryModule" image="C:\Windows\system32\RpcProxy\RpcProxy.dll" />
To this:
<add name="PasswordExpiryModule" image="C:\Windows\system32\RpcProxy\RpcProxy.dll" preCondition="bitness64" />
Restart the IIS Admin service.
Set HTTP Compression
According to some threads I read, the http compression module can cause errors if you don’t disable it globally. To remedy this, perform the following:
Click: Start > Programs > Accessories. Right-click “Command Prompt” and choose “Run as administrator”.
At the command prompt, change directory to intetsrv by typing: cd inetsrv
Run the following command:
C:\Windows\system32\inetsrv>appcmd.exe set config -section:system.webServer/httpCompression /-[name='xpress']
This will turn off HTTP compression for all sites in IIS.
In IIS Manager, double-click the server instance in the left-hand pane. Double-click the “Compression” icon in the IIS section of the center pane.
Uncheck all of the boxes, then click the “Apply” button under Actions in the right-hand pane.
Recheck all of the boxes, then click the “Apply” button under Actions in the right-hand pane.
Restart the IIS Admin service. This should enable compression and coldfusion to work at the same time.
NOTE: if for some reason you need to reverse this, run the following command from the command prompt:
C:\Windows\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /+[name='xpress',doStaticCompression='false',dll='%windir%\system32\inetsrv\suscomp.dll']
INSTALLATION TASKS
Download the 64-bit installation package from Adobe – filename: coldfusion-801-wind64.exe.
Right-click the file and select “Run as administrator”.
Accept the terms of the License Agreement.
If you have an Enterprise license, enter it. For our purposes, just click the “Developer Edition” checkbox.
Select “Server configuration” – the default radio button.
I deselected all subcomponents and can’t guarantee that you’ll arrive at the same results if you select additional items like “.NET Integrated Services”. It should be fine, particularly if you install documentation. My preference was to keep the install as plain vanilla as possible.
Select the directory path for Coldfusion to install into – default is :C\Coldfusion
THE NEXT TWO STEPS ARE CRITICAL TO YOUR SUCCESS. Unselect “All IIS Websites” and select the “Configure specific IIS Website or another web server” radio button. Click “Add”, and then select your test Web site (e.g., “test-site”) under “IIS Web Site”. Hit “OK”.
Do NOT use the default directory path for the CF Administrator location (e.g., default path: “C:\inetpub\wwwroot”). Instead, point the installer to your new DEV root Web directory (e.g., “D:\DEV”). The bottom line, you want the installer to place the CFIDE directory and files within this folder, alongside your other CFML files and folders.
Enter an Administrator password.
Choose to Enable RDS, or not. I enable this by preference but it is not required. This allows you to make updates to files using a CFML editor directly vs. having to move/FTP the files over if you’re working remotely. Opponents to this argue that it’s potentially less secure, but for a lower environment I don’t see this as a major concern.
Confirm everything to kick off the install.
If all goes well you should see a message at the end stating that the install was successful. I recommend you uncheck the box that asks you to open the CF Administrator in the default Web browser after the install. NOTE: we will open it a different way during the post-installation tasks. The worst thing that will happen if you forget to uncheck the box is that you might receive an error that the command prompt hung – not a big deal – just close it and move on to the next (final) steps.
POST-INSTALLATION TASKS
Verify CF Installation:
The installation will create a new folder in your program group: Start > Programs > Adobe > Coldfusion 8. The default “Administrator” link will not work because it points to the wrong path: http://127.0.0.1/CFIDE/administrator/index.cfm. The “127.0.0.1” or “localhost” path as you may recall in IIS, points by default to the “C:\inetpub\wwwroot” directory. Our CFIDE files, however, are located within: D:\DEV.
To bring up the CF Administrator logon page, open up a Web browser and replace the “http://127.0.0.1” part of the path with the DNS path name to your CF environment (e.g., http://dev.test-site.com/CFIDE/administrator/index.cfm).
This should bring up the Coldfusion Administrator Login screen. Enter in the Administrator password you created during the install to log in and configure your application server.
Verify that your test-site renders correctly by typing in your test URL into a Web browser (e.g., http://dev.test-site.com).
Fix Application Pool Defaults to Re-enable SBS Web Applications:
At this point, Coldfusion Administrator and your test CMFL Web site should be working properly. The problem is, default SBS Web applications like OWA, RWW and Companyweb will throw errors and fail to start. Fortunately, this is easily remedied by performing the following steps:
In IIS Manager, double-click the server instance in the left-hand pane. Click on “Application Pools” to display the list of server application pools in the center pane.
In the “Actions” pane on the right-hand side, click “Set Application Pool Defaults”.
Change “Enable 32-Bit Applications” - the second item from the top – from “True” to “False” this time. This should re-enable the SBS applications, which would otherwise result in 500 errors (e.g., OWA, RWW, Companyweb, etc.). There is no need to restart IIS.
Open a Web browser and test that you can once again connect to OWA, RWW and Companyweb successfully.
In IIS click to highlight the application pool for your new site (e.g., “test-site”). In the right-hand pane, click “Advanced Settings”. Ensure that “Enable 32-Bit Applications” – second item from the top – is set to “True” for this application pool specifically.
Lastly, jump up and down for joy! Hopefully now, everything is working. Best of luck!! ..Paul D (MCP).First, it would be a good idea for you to specify what distro of Linux you're using, as not all are supported by Adobe.
Second, this is probably your problem right here:
http://askubuntu.com/questions/40416/why-is-lib-libc-so-6-missing
In a nutshell, CF expects the 32-bit version of libc.so.6 to be in /lib, but it's probably not. You might be able to modify the installer to point to the correct location for that file, or you might be able to create a symlink to the file - but as the above link describes, creating a symlink might have negative consequences.
As for installing CF 8 64-bit, that's only available with Enterprise, not Standard. If you want CF Standard 64-bit, you need to upgrade to CF 9.
Dave Watts, CTO, Fig Leaf Software -
This is a step-by-step instruction how to install Windows Vista or Windows 7 as a second OS on a Lenovo Thinkpad that originally shipped with Windows XP AND how to retain the access to the Lenovo Service Partition.
I have been searching the internet for instructions like these but could not find anything useful. So I am posting it
here. Maybe this helps other users.
I have tested the procedure below with installation of Windows Vista Ultimate (64bit) and Windows 7 Ultimate (64bit). I believe that the procedure will also work with the 32bit versions of these OSs. I am not totally convinced that this works when the OS to install is Windows XP (64bit or 32bit). XP has a completely different boot sequence compared to Vista or 7. The basic steps would remain the same, but the XP setup is less forgiving when it finds an unknown partition. If somebody wants to try it out, please post your results as a reply to this forum entry.
Never never never try to install an older OS (like Windows 2000 or NT) as a second OS when XP is already installed! This is doomed to fail.
The procedure below does NOT work for Linux installations. I am not a Linux wizard, but any Linux bootmanager I know about is incompatible with the Lenovo Service Partition.
The procedure was tested on a Thinkpad R61 model 8918-B9G. It should work similar on other models.
You definitely need a service partition with Rescue&Recovery version 4. It will NOT work with older versions of R&R or if the service partition is not a type12 partition (see below how to find out about that).
I assume that the harddisk partitions are unmodified, i.e. still have factory settings. This is likely the case if you
never attempted any OS install or recovery action. If this is not the case, the procedure may or may not work.
You also need a bootable CD with a tool that can change the size of your current system partition. I was using gparted live version 0.5.2-9. ( http://gparted.sourceforge.net/ )
Everything you do is at your own risk. I am in no way related to Lenovo, other than being a customer using their
products.
Step 1) Make a full backup of your harddisk. Get yourself recovery CDs for your Thinkpad model if you don't have any. The changes we are about to make can completely screw up your harddrive. A typo is sufficient for that to happen.
Step 2) Power on the system. Check that you can boot into the Service Partition by pressing the Thinkvantage button when the startup screen appears. (Older systems may have a differently named button.) If there is a problem booting the service partition now, it is likely that the rest of this procedure will not fix it.
Step 3) From the service partition choose 'Warmstart' to reboot the system. Reboot Windows XP, logon.
Open a command prompt. CD to the following directory:
\Program Files\Common Files\Lenovo\BMGR
On a german language system (like mine) it is
\Programme\Gemeinsame Dateien\Lenovo\BMGR
If you have an older IBM system the directory may be named
\Program Files\Common Files\IBM\BMGR
or something like that. Maybe you need to search around.
In the following, I will call this the "BMGR dir".
Enter the following command:
bmgr32 /info /v
You should get an output similar to this:
C:\Programme\Gemeinsame Dateien\Lenovo\BMGR>bmgr32 /info /v
It's a Lenovo MBR
Opened Master Boot Record to see whose MBR it is.
It's a Lenovo MBR
Opened drive for reading
Partition 0 the SP? no, type 0x07 is not correct
Partition 1 the SP? (512) Label is SERVICEV
Using version 2.05 of Lenovo Boot Manager
Reading: \\.\PHYSICALDRIVE0
MBR Sector 1 Index: 1 Checksum: 00 Disabled
MBR Sector 2 Index: 4 Checksum: 03 Passed
MBR Sector 3 Index: 5 Checksum: FD Passed
MBR Sector 4 Index: 6 Checksum: 58 Passed
MBR Sector 5 Index: 7 Checksum: 96 Passed
MBR Sector 6 Index: 8 Checksum: 7F Passed
Data Sector Index: 3 Checksum: F1 Passed
Original MBR Index: 2 Checksum: BD Passed
No Patch Sectors
Checksum Byte: 00
Think Flag: 1
WinPE Partition (0-3): 1 Alt Boot Partition (0-3): 1
Boot Config: 2 (Service Partition containing two Service OS's)
Boot State: 0 Alt Boot Flag: 0
(Normal booting operation, will boot to Customer OS)
RRU: 00000000 00000000 Prev Active Part: 255
Previous Partition Type: FF Patch IN: 0 OUT: 0
CIRT Disabled
TOC: 0000000000000000 Lock: 0
Show Error: 0 Halt on Error: 0
CIRT Load Return: 0
CIRT Execute Return: 0
Pause Duration: 10 Scan Code: 0085
F11 Msg: To boot to the Rescue and Recovery Environment, Press F11
Check Msg: There has been a signature failure
# active type start CHS end CHS startLBA size
0 0x80 0x07 1 1 0 239 255 255 63 301296177
1 0x00 0x12 0 193 255 239 255 255 301296240 11279520
2 0x00 0x00 0 0 0 0 0 0 0 0
3 0x00 0x00 0 0 0 0 0 0 0 0
C:\Programme\Gemeinsame Dateien\Lenovo\BMGR>
The important thing to look for is the 0x12 partition type in the partition table at the bottom. This is the service
partition. If you do not have a 0x12 partition, then you can stop here because the rest of the procedure will not work
for you.
Step 4) Shutdown and boot gparted from CD. Shrink the system partition to the desired size. Do NOT touch the service partition! Do NOT attempt to create another partition! Leave the new white space on the disk untouched! Apply changes and restart the system.
Step 5) Reboot XP. gparted has set the NTFS dirty bit. This will cause XP to run a full CHKDSK. Depending on how much files there are on the partition this may take considerable time. Let CHKDSK run to completion. When CHKDSK finishes, the system will automatically reboot.
Step 6) XP reboots now. Logon. When loading the desktop, XP will show a popup window, stating that system settings have been changed and new devices been discovered and that the system should be rebooted. This is ok. XP actually recognized the shrunk system partition and applied the necessary changes to its own system parameters. Click YES to reboot the system.
Step 7) XP reboots. Logon. Open a command prompt, CD to the BMGR dir and enter:
bmgr32 /info /v
The output you get should be similar to the output you have seen in step 3, except that the partition 0 size column
shows a smaller value.
Step 8) Shutdown, restart. Check that you can still access the service partition by pressing the blue Thinkvantage button when the system startup screen appears.
Step 9) From the predesktop environment choose warmstart. Reboot XP. Logon, logoff, shutdown.
DO NOT SKIP THIS STEP!!! If you start the Windows Vista/7 install right after shutting down from the predesktop
environment, the Win Vista/7 setup program will screw up your harddisk! The Lenovo MBR bootmgr reboot takes two steps for completion. The first step is the shutdown and the second step is executed when booting from harddisk. A boot from the Windows CD will skip this second step and disaster finds its way...
Step 10) Insert the Windows Vista/7 DVD and boot it. Start the setup. Choose "Custom (advanced)" install. It will show the partitions on the disk. Select the white space (unallocated). Click on "disk options (advanced)". Click on "New" to create a new partition in the white space. Keep the default size, click "Apply". Click "Format". A popup window appears stating that the partition may hold OEM data. Continue. Click "Next". Installation starts.
Continued in the second post...Step 11) Win Vista/XP will reboot several times during installation. You will always see the Windows bootmanager with an entry for "Earlier Windows version" and "Windows Vista/7". DO NOT DARE to touch the blue Thinkvantage button on any reboot or press any function keys!
Step 12) When the installation is finished, check that you can successfully reboot Win Vista/7 by selecting it from the Windows bootmanager.
Step 13) Reboot XP by choosing "Earlier Windows version" from the Windows bootmanager. Open a command prompt. CD to the BMGR dir. Enter the following command:
bmgr32 /info /v
The output will now look like this:
C:\Programme\Gemeinsame Dateien\Lenovo\BMGR>bmgr32 /info /v
Opened Master Boot Record to see whose MBR it is.
Opened drive for reading
Partition 0 the SP? no, type 0x07 is not correct
Partition 1 the SP? no, type 0x07 is not correct
Partition 2 the SP? (512) Label is SERVICEV
# active type start CHS end CHS startLBA size
0 0x80 0x07 1 1 0 254 255 255 63 109675692
1 0x00 0x07 239 255 255 239 255 255 109676544 191619072
2 0x00 0x12 239 255 255 239 255 255 301296240 11279520
3 0x00 0x00 0 0 0 0 0 0 0 0
C:\Programme\Gemeinsame Dateien\Lenovo\BMGR>
startLBA and size will of course differ, depending on the actual partition sizes you have set. Note that Windows setup moved the service partition to entry 2 of the partition table. If you do not see the 0x12 partition then stop here.
Otherwise the following step will likely screw up you harddisk.
Enter the following command (case sensitive?):
bmgr32 /Fbootmgr.bin /m0 /IBM /v
The output will look like this:
C:\Programme\Gemeinsame Dateien\Lenovo\BMGR>bmgr32 /Fbootmgr.bin /m0 /IBM /v
installing MBR
finding free sectors
Sector 9 is free
Sector 10 is free
Sector 11 is free
Sector 12 is free
Sector 13 is free
Sector 14 is free
Sector 15 is free
Sector 16 is free
Opened Master Boot Record to see whose MBR it is.
It's a Lenovo MBR
Opened drive for reading
Partition 0 the SP? no, type 0x07 is not correct
Partition 1 the SP? no, type 0x07 is not correct
Partition 2 the SP? (512) Label is SERVICEV
Setting Think bit
C:\Programme\Gemeinsame Dateien\Lenovo\BMGR>
This command reinstalled the Lenovo bootmanager in the MBR that was erased by the Win Vista/7 setup program.
Enter the following command:
bmgr32 /info /v
The output will now look like this:
C:\Programme\Gemeinsame Dateien\Lenovo\BMGR>bmgr32 /info /v
It's a Lenovo MBR
Opened Master Boot Record to see whose MBR it is.
It's a Lenovo MBR
Opened drive for reading
Partition 0 the SP? no, type 0x07 is not correct
Partition 1 the SP? no, type 0x07 is not correct
Partition 2 the SP? (512) Label is SERVICEV
Using version 2.05 of Lenovo Boot Manager
Reading: \\.\PHYSICALDRIVE0
MBR Sector 1 Index: 1 Checksum: 00 Disabled
MBR Sector 2 Index: 11 Checksum: 03 Passed
MBR Sector 3 Index: 12 Checksum: FD Passed
MBR Sector 4 Index: 13 Checksum: 58 Passed
MBR Sector 5 Index: 14 Checksum: 96 Passed
MBR Sector 6 Index: 15 Checksum: 7F Passed
Data Sector Index: 10 Checksum: 01 Passed
Original MBR Index: 9 Checksum: 12 Passed
No Patch Sectors
Checksum Byte: 00
Think Flag: 1
WinPE Partition (0-3): 2 Alt Boot Partition (0-3): 2
Boot Config: 0 (Service Partition containing one Service OS)
Boot State: 0 Alt Boot Flag: 0
(Normal booting operation, will boot to Customer OS)
RRU: 00000000 00000000 Prev Active Part: 255
Previous Partition Type: FF Patch IN: 0 OUT: 0
CIRT Disabled
TOC: 0000000000000000 Lock: 0
Show Error: 0 Halt on Error: 0
CIRT Load Return: 0
CIRT Execute Return: 0
Pause Duration: 10 Scan Code: 0085
F11 Msg: To boot to the Rescue and Recovery Environment, Press F11
Check Msg: There has been a signature failure
# active type start CHS end CHS startLBA size
0 0x80 0x07 1 1 0 254 255 255 63 109675692
1 0x00 0x07 239 255 255 239 255 255 109676544 191619072
2 0x00 0x12 239 255 255 239 255 255 301296240 11279520
3 0x00 0x00 0 0 0 0 0 0 0 0
C:\Programme\Gemeinsame Dateien\Lenovo\BMGR>
So you have actually regained the Lenovo bootmanager. But you are not done yet.
Step 14) Shutdown. Restart the system. DO NOT PRESS THE BLUE THINKVANTAGE BUTTON AT THE SYSTEM STARTUP SCREEN!!! IT DOES NOT WORK YET! When the system startup screen DISAPPEARS, quickly press F11 (maybe several times). The system should now boot the predesktop environment from the service partition.
Step 15) When the predesktop is there, choose "warmstart". When the system startup screen appears, press the blue Thinkvantage button. The system should again boot into the predesktop. The blue Thinkvantage button now works permanently.
Step 16) Check that you can boot Win XP and Win Vista/7 from the Windows bootmanager. You're done! -
Ok....so i've posted this question in a different way, and i gotten several "scratch the surface" answers from people just saying to install "Ati catalyst", or insert the os x dvd and run set up.exe, and update to boot camp 3.1 or 3.2...while these all seem like great suggestions, I am finding myself needing more specific direction or "hand holding" so to speak.....here is the MAIN problem...
The Background/history
I used boot camp (3.0, and i found updates for 3.1 for imac and for windows, but can't find for mac pro, AND they all are ".exe" files which run on windows..which as you'll see is the big part of my problem...So I recently updated my mac pro (with the ATI Radeon HD2600 graphic PCIe card with 10.6.7 from 10.5.8. I created a single partitioned drive to install windows 7 professional 64 bit. The download software function didn't work (Thanks, APPLE for that poor level of support) so have to select the option that i have already downloaded, or have other media with the drivers already on it....i restarted with the windows 7 disk in....
The installation of Windows 7 Pro 64-bit
So the installation of windows 7 seemed to go flawlessly, was able to use my existing 23" hd apple cinema display (so somehow it has drivers that work with the graphics card, or maybe the motherboard's on board video components) and i select english, and install now, custom, blah, blah, blah...installation causes a few reboots, then restarts ultimately back in os x since that is the default boot os i use on this desk top and have to do the "opt" button to select booting in windows....so when i try restarting in windows, now using the actual boot drive on which i am installing it, it ran through another reboot or two, but then after that, my display goes black.... in the communities, the solution sounds super simple... "go download the ATI catalyst for the black screen problem....windows 7 doesn't have device drivers that work with the ATI radeon hd2600...no problem, just go download and install...."
The problem, re-emphasized : I cannot even finish the install for windows, because of this driver problem....i cannot see anything....I have tried to reboot in safe mode, and that then seems to invoke whatever basic drivers that do work, likely through the motherboards onboard video vs the actual graphic card, and the screen works and says that it's wanting to complete the installation, so i'm thinking awesome this is gonna work....and then.. "windows installation was not completed and cannot be completed in SAFE MODE, need to restart, blah, blah, blah" pops up...and forces reboot...so Safe Mode allows me to see, but won't allow me to finish the install of windows 7...and without completing the install i can't run (ranther I DONT KNOW HOW TO) any of the various .exe files everyone is telling me are the solutions to my problem...like update 3.1 and 3.2 bootcamp...they're all .exe files? not sure why, because bootcamp runs in 10.6.7 i thought, but whatever...it needs running Windows to execute...then the ATI radeon hd2600 driver for windows 7 that i downloaded from the site has an installation program that is an .exe file, which needs windows to run... Does this make sense, why i can't just use these fixes, that seem to be the only fixes out there....so can someone school me step by step here (not just the highlights) of how to update bootcamp, and how to install the ati radeon driver without having been able to complete the windows 7 installation because the monitor goes and stays black????
This is so very frustrating for the record...and any substantial help "not just go download this..." would be immensely appreciated.
Some other things i've been told to try that i've tried and nothing seems to happen as i'm told it will....
---I've been told to install the osx dvd and run "setup.exe" - AGAIN...it's an exe file...and 2 - when i put in the os x file it just wants to re install 10.6...so need more help if this is even a real solution to understand how to make it work...
---I've been told to update boot camp to 3.1 and/or 3.2 from 3.0, using Apple Software Update....Well, my software update is saying everything is up to date and there is nothing new to download at all, and when i reverify the bootcamp version it is still only 3.0.2...and again downloading the updates from www.apple.com/support/ for 3.1 and 3.2...all of those are .exe files...need windows to run them...again, refer to the problem described in detail above...
---I've been referred to the black screen on imac early 2011 thread saying it should fix my problem...and reading it it SEEMED like the most promising resolution...it involves creating a boot flash drive for windows 7 and an xml file that sets the imac drivers to auto install during the windows installation..and it got me farther than anything else..but still ultimately ended up in the darned black screen...my assumption is that it's because it's for imac and not mac pro so not ati-radeon specific drivers....ok....that's enough..please...anyone who thinks they can help...your help is desperately needed...thanks so much in advance!hey Hatter, thanks so much for getting back...so just to be super clear...is there no way to install the drivers using an exe file given my current state? no way to do it with command prompt or something? if can make work with existing card, i'd prefer it...now when you say it's 'toast' how do you mean? it works well with the os x partitions and always has...so i'm not sure i follow, just want to be clear...
Now to your point of starting with only the one drive installed...so i would put that bootcamp drive in bay 1 and disconnect the rest...i'm not totally sure what you're suggesting the effect should be of doing this? just that i'm just installing windows without the bootcamp deal...but if windows 7 doesn't support the ati radeon hd2600, it still will go black screen no? or you're saying it will run video through the motherboard if it's the only bootdrive, and will run all the way through the windows install without trying to switch over to the hd2600? (slrry flr these questions..just really want to make sure i understand what you're telling me..thanks so much for your patience and help by the way...it's very greatly appreciated...your support is priceless!
So now, assuming none of the above is possible...referring now to the ati 5770 that you referred to...you mention it works with 10.6 well, and that windows 7 supports it ...2 questions on that
1) Windows 7 supports" meaning, out of the box windows 7 supports it? or will i have to install drivers still through some update, because again, if that's how i have to do it, then won't work, cuz can't start windows to see anything to install any drivers or run any thing at all...so it would have to just work with initial installation.
2)hardware wise for my Mac Pro 3,1...intel dual quad core xeon, blah blah....will this card work? it's a PCIe and should fit on my board no prob, etc? -
How to Install 9i real application clusters on a PC!
How to install and deploy Oracle Real Application Clusters on a single Linux
server with a minimal configuration (less than $1000 worth of harware):
First of all to install Oracle cluster database you DON'T HAVE to have a cluster, but a
single PC may do as well (of course thi kind of installation will not be of
much use for a production DB). A minimal server that I HAVE TESTED is: Celeron 750 MhZ,
512 Mb of RAM, 2 IDE HD, Linux Suse 7.2
This document contains the steps needed to deploy a working Oracle 9i Database with a
minimal comment. For a complete discussion refer to Oracle documentation, namely:
Oracle 9i administrator's reference part number A90347-02
Oracle 9i Linux release notes part number A90356-01
Oracle 9i Real Application Clusters Administration part numebr A89869-01
1) set up the partitions to user for Oracle software and the ones to use as raw devices
for the cluster DB. Soppose you want to you use an HD mounted as the 3rd IDE device
(/dev/hdc) for the cluster DB. Then you have to partition it with fdisk with a large
extended partition (say hdc1). Create a large number of logical partitions inside hdc1
(say hdc5 till hdc20) of about 300 Mb in size (all of the same size for simplicity).
2) Real application clusters wants to store the DB strutures into raw devices or a
cluster filesystem. Create the raw devices using the following command (as superuser):
raw /dev/raw1 /dev/hdc5
raw /dev/raw2 /dev/hdc6 ... etc till /dev/hdc20
you will need to repeat these steps after every boot
3) Set up the Oracle user (already done with the Suse distribution), environment variables
and mount point.
Install Oracle software enterprise edition
4) Complete the installation with a custom install of the real application cluster option.
This will add a directory called oracm under your oracle home, which contains the
cluster manager software
5) edit $ORACLE_HOME/oracm/admin/nmcfg.ora, it contains 3 lines for the set-up of the
cluster manager sofware:
DefinedNodes=localhost
CmDiskFiles=/dev/raw2
CmHostName=localhost
6) edit /var/opt/oracle/srvConfig.loc. It contains 1 line with the location of a raw device
used to sync the cluster nodes:
srvconfig_loc=/dev/raw1
7) start the cluster manager software (as superuser):
$ORACLE_HOME/oracm/bin/ocmstart.sh
8) as the oracle user start the global cache service:
gsd
9) you can now create a cluster db. to use the configuration assistant you need to set
an extra environment variable:
export THREADS_FLAG=native
10) start the configuration assistant: dbca
expect some errors in the script the dbca generates, best is to review them before
execution
11) after the db creation you'll be able to start two instances on the same DB,
which means you will have a cluster DB!
12) the environment variable ORACLE_SID will determine the instance to which you can
connect by means of a special syntax: SID.parameter=value
this is used for example for paramters like instance_number, thread, etc
also the parameter cluster_database must be set to true
All these problems are normaly handled by the dbca.
Have fun,
Luca Canali
OCP-DBARedHat 7.1 with the some configuration I run a production 9.0.1
database: Compaq Proliant Hardware with a RA4100 storage.
The script created from the dbca seems fine, but the dbca give
me the
some error I get from:
srvconfig -init
[...]stop all daemons and oracle programs on both machines, then
start only $ORACLE_HOME/oracm/bin/ocmstart.sh,
then run the line
srvconfig -init
you can check it by running
srvconfig -version
it should output something like "9.0.0.0.0"
before running dbca, make sure ocmstart.sh and gsd are
running on both machines ("lsnodes -v" should putput sbshadow1
and dbshadow2).
BTW - I cant run clusca... Can somenome give a sample nmcfg.ora,
just to check my parameters? for dbshadow1:
DefinedNodes=dbshadow1 dbshadow2
CmDiskFiles=/dev/raw/raw2
CmHostName=dbshadow1
for dbshadow2:
DefinedNodes=dbshadow1 dbshadow2
CmDiskFiles=/dev/raw/raw2
CmHostName=dbshadow2
Saludos
--Marcos.
Ps: can you contact me by e-mail? i have some questions regarding
your HW -
BI content to install customer Infobjects
Hi Gurus ,
I want to Create customer sales query , for this I went into bI content to install customer Infobjects ,
but these infojects are not coming in rsa1 infobjects screen where we create infobjects so that i can transfer standard infoobjects in infooject catalogue, so please gurus could please guide me step by step how to proceed with this issue.
Thanks in advance ,
PrathamHi,
If u want to load the standard maste data first u have to activate the respective data source in R/3 (RSA5-TCode).Then Check whether the data is presen in it or not in RSA3.Then come to BI and replicate the datasource.Next come to BI Content and select your master data and set the Grouping,collection mode and say Instal.therefore ur master data will become activated.Now u can see the infoobject in the infoobjects screen. or refer the following link:
http://help.sap.com/search/highlightContent.jsp
Hope it helps.
Thanks & Regards,
Dinakar.
Maybe you are looking for
-
Open Purchase order (AFS)- LSMW
What is the message type and basic type used for AFS open purchase order or BAPI for LSMW.
-
Ipod touch Safari not syncing Safari bookmarks with my MBP over Mobile me
Hi - Just got a 16 GB Second Gen iPod Touch yesterday. I also opted to try out the free 60 day trial of Mobile me. For some reason the Safari on my iPod will not sync with and show all of the bookmarks I have on Safari on my MacBook pro. I went back
-
BEx WAD -- Creating Chart And Table on the same page
Hi All. I am creating a new Web Application. This contains a dropdown with 2 reports to select. When the user selece report from the dropdown list, it has to display both Table and Chart for the report. Could you pls explain me how can I do this. Tha
-
How to add continuing reminder when deadline reached ?
Hi worklow experts, in my user decision i have added latest end and modeled action. So when deadline comes, the workflow will send a outlook mail and the monitor is finished. But now i want to add continuing reminder acording to configurable
-
PLEASE HELP MAIL KEEPS CRASHING!!!!
For some reason my mail keeps crashing. Whenever I try to do anything with my junk mail, the program crashes. If I mark an email as junk it crashes. If I try to move an email out of my junk mail it crashes. Can someone please please please help me ou