In a stockpot over medium heat, heat olive oil. Add onion, shallot, garlic, pepper, oregano, marjoram, thyme, rosemary, celery, and carrots; saute, stirring frequently, until onions are soft and translucent, about 8 minutes.
Add eggplant, red pepper, and zucchini; saute until vegetables are softened, about 5 minutes more. Add chicken stock and canned tomatoes, and bring to a boil, stirring to break up the tomatoes. Reduce heat to low, and let simmer until vegetables are tender, about 12 minutes. Add beans and pasta; cook until heated through, about 2 minutes more. Serve immediately, sprinkled with Parmesan if desired.